b enterNewRows-unsort.rctest
enterNewRows-unsort.rctest
exampleOpen smartgwt grid_editing_new_row
waitForElementClickable scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[pk=1||countryName=United%20States||0]/col[fieldName=countryName||0]
assertEval var dataSource = selenium.browserbot.getCurrentWindow().isc.AutoTest.getLocatorCanvas("//testRoot[]/child[Class=ListGrid||index=0||length=2||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=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]").dataSource; dataSource.hasAllData() 5000
waitForElementClickable scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/header/headerButton[fieldName=population]/
click scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/header/headerButton[fieldName=population]/
waitForGridDone scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]
waitForElementClickable scLocator=//testRoot[]/child[Class=IButton||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Edit%20New||scRole=button]/
click scLocator=//testRoot[]/child[Class=IButton||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Edit%20New||scRole=button]/
waitForElementClickable scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=countryName||title=Country||value=Zodland||index=0||Class=TextItem]/element
type scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=countryName||title=Country||value=Zodland||index=0||Class=TextItem]/element Zodland
waitForElementClickable scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||index=3||Class=TextItem]/element
click scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||index=3||Class=TextItem]/element
waitForElementClickable scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=1234||index=3||Class=TextItem]/element
type scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=1234||index=3||Class=TextItem]/element 1234
waitForElementReadyForKeyPresses scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=1234||index=3||Class=TextItem]/element
sendKeys scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=1234||index=3||Class=TextItem]/element ${KEY_ENTER}
waitForGridDone scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]
verifyValue scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[15]/col[fieldName=population||3] 1234