open |
SmartClient_Explorer.html#enterNewRows |
|
waitForElementClickable |
scLocator=//ListGrid[ID="countryList"]/body/row[pk=1||countryName=United%20States||0]/col[fieldName=countryName||0] |
|
assertEval |
var dataSource = selenium.browserbot.getCurrentWindow().isc.AutoTest.getLocatorCanvas("//ListGrid[ID='countryList']").dataSource; dataSource.autoCacheAllData = true; dataSource.setClientOnly(true); true |
true |
waitForCondition |
var dataSource = selenium.browserbot.getCurrentWindow().isc.AutoTest.getLocatorCanvas("//ListGrid[ID='countryList']").dataSource; dataSource.hasAllData() |
5000 |
keyPress |
scLocator=//FeatureExplorer[ID="featureExplorer",locatorMatching=permissive]/exampleViewer/exampleViewPane[Class=ExampleViewPane||index=0||length=1||classIndex=0||classLength=1]/vscrollbar/peer[Class=VScrollThumb||index=0||length=1||classIndex=0||classLength=1] |
\35 |
click |
scLocator=//FeatureExplorer[ID="featureExplorer"]/exampleViewer/exampleViewPane[Class=ExampleViewPane||index=0||length=1||classIndex=0||classLength=1]/viewContainer/child[Class=IButton||index=1||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Edit%20New||scRole=button]/ |
|
waitForElementClickable |
scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=countryName||title=Country||value=Petoria||index=0||Class=TextItem]/element |
|
type |
scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=population||title=Population||value=4||index=3||Class=TextItem]/element |
5 |
type |
scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=independence||title=Nationhood||index=4||Class=DateItem]/item[name=dateTextField||title=Nationhood|||index=0||Class=TextItem]/element |
07/12/2001 |
click |
scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/[icon='picker'] |
|
waitForElementClickable |
scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/pickList/body/row[continent=North%20America||2]/col[fieldName=continent||0] |
|
click |
scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/pickList/body/row[continent=North%20America||2]/col[fieldName=continent||0] |
|
type |
scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=countryName||title=Country||value=Petoria||index=0||Class=TextItem]/element |
Petoria |
keyPress |
scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=countryName||title=Country||value=Petoria||index=0||Class=TextItem]/element |
\13 |
waitForGridDone |
scLocator=//ListGrid[ID="countryList"] |
|
assertEval |
var pane = selenium.browserbot.getCurrentWindow().featureExplorer_exampleViewer_exampleViewPane; pane.scrollToTop(); pane.scrolled = function () { this.scrollToTop(); }; true |
true |
waitForElementClickable |
scLocator=//ListGrid[ID="countryList"]/header/headerButton[fieldName=countryName]/ |
|
click |
scLocator=//ListGrid[ID="countryList"]/header/headerButton[fieldName=countryName]/ |
|
waitForGridDone |
scLocator=//ListGrid[ID="countryList"] |
|
verifyText |
scLocator=//ListGrid[ID="countryList"]/body/row[10]/col[fieldName=countryName||0] |
Petoria |
verifyText |
scLocator=//ListGrid[ID="countryList"]/body/row[10]/col[fieldName=independence||4] |
07/12/2001 |