emptyGrid-1.rctest
exampleOpen smartgwt grid_appearance_empty_grid
waitForGridDone scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]
assertEval var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.data.getLength(); 0
waitForElementClickable scLocator=//testRoot[]/member[Class=IButton||index=1||length=3||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Set%20Data||scRole=button]/
click scLocator=//testRoot[]/member[Class=IButton||index=1||length=3||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Set%20Data||scRole=button]/
waitForElementClickable scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=UK||countryName=United%20Kingdom||5]/col[fieldName=countryName||1]
click scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=UK||countryName=United%20Kingdom||5]/col[fieldName=countryName||1]
waitForElementClickable scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=IN||countryName=India||3]/col[fieldName=countryName||1]
click scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=IN||countryName=India||3]/col[fieldName=countryName||1]
waitForElementClickable scLocator=//testRoot[]/member[Class=IButton||index=2||length=3||classIndex=1||classLength=2||roleIndex=1||roleLength=2||title=Clear%20Data||scRole=button]/
waitForGridDone scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]
assertEval var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.data.getLength(); 15
click scLocator=//testRoot[]/member[Class=IButton||index=2||length=3||classIndex=1||classLength=2||roleIndex=1||roleLength=2||title=Clear%20Data||scRole=button]/
waitForGridDone scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]
assertEval var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.data.getLength(); 0