databoundRemove-1.rctest
exampleOpen smartgwt grid_dataoperations_remove
waitForElementClickable scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[pk=209||countryCode=AF||countryName=Afghanistan||2]/col[fieldName=countryName||1]
assertEval var dataSource = selenium.browserbot.getCurrentWindow().isc.AutoTest.getLocatorCanvas("//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]").dataSource; dataSource.autoCacheAllData = true; dataSource.setClientOnly(true); true true
waitForCondition var dataSource = selenium.browserbot.getCurrentWindow().isc.AutoTest.getLocatorCanvas("//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]").dataSource; dataSource.hasAllData() 5000
click scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[pk=209||countryCode=AF||countryName=Afghanistan||2]/col[fieldName=countryName||1]
click scLocator=//testRoot[]/child[Class=IButton||index=2||length=4||classIndex=1||classLength=3||roleIndex=1||roleLength=3||title=Remove%20First%20Selected||scRole=button]/
waitForElementNotPresent scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[pk=209||countryCode=AF||countryName=Afghanistan||2]/col[fieldName=countryName||1]
verifyText scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[2]/col[fieldName=countryCode||0] AQ