filter-1.rctest
exampleOpen smartgwt grid_autofit_filter
waitForElementClickable scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||index=0||Class=TextItem]/element
click scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||index=0||Class=TextItem]/element
waitForElementReadyForKeyPresses scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||value=cook%20island||index=0||Class=TextItem]/element
type scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||value=cook%20island||index=0||Class=TextItem]/element cook island
waitForElementClickable scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/actionButton/icon
click scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/actionButton/icon
waitForGridDone scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]
assertEval var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); var height = grid.getScrollHeight();  Math.abs(100 - height) < 10 true
waitForElementClickable scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||index=0||Class=TextItem]/element
click scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||index=0||Class=TextItem]/element
waitForElementReadyForKeyPresses scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||value=cook%20island||index=0||Class=TextItem]/element
type scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||value=cook%20island||index=0||Class=TextItem]/element island
waitForElementClickable scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/actionButton/icon
click scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/actionButton/icon
waitForGridDone scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]
assertEval var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); var height = grid.getScrollHeight();  Math.abs(268 - height) < 10 true
assertEval var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.body.vscrollOn false
waitForElementClickable scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||index=0||Class=TextItem]/element
click scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||index=0||Class=TextItem]/element
waitForElementReadyForKeyPresses scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||value=cook%20island||index=0||Class=TextItem]/element
type scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/editRowForm/item[name=countryName||title=Country||value=cook%20island||index=0||Class=TextItem]/element land
waitForElementClickable scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/actionButton/icon
click scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/filterEditor/actionButton/icon
waitForGridDone scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]
assertEval var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); var height = grid.getScrollHeight();  Math.abs(292 - height) < 10 true
assertEval var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.body.vscrollOn true