databoundRemove-1.rctest
open | SmartClient_Explorer.html#databoundRemove |
waitForElementClickable | scLocator=//ListGrid[ID="countryList"]/body/row[pk=209||countryCode=AF||countryName=Afghanistan||2]/col[fieldName=countryName||1] |
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
click | scLocator=//ListGrid[ID="countryList"]/body/row[pk=209||countryCode=AF||countryName=Afghanistan||2]/col[fieldName=countryName||1] |
click | scLocator=//FeatureExplorer[ID="featureExplorer"]/exampleViewer/exampleViewPane[Class=ExampleViewPane||index=0||length=1||classIndex=0||classLength=1]/viewContainer/child[Class=IButton||index=3||length=7||classIndex=1||classLength=3||roleIndex=1||roleLength=3||title=Remove%20first%20selected||scRole=button]/ |
waitForElementNotPresent | scLocator=//ListGrid[ID="countryList"]/body/row[pk=209||countryCode=AF||countryName=Afghanistan||2]/col[fieldName=countryName||1] |
verifyText | scLocator=//ListGrid[ID="countryList"]/body/row[2]/col[fieldName=countryCode||0] | AG