enterNewRows-1.rctest
open index.html#grid_editing_new_row
waitForElementClickable scLocator=//ListGrid[ID="countryList"]/body/row[pk=1||countryName=United%20States||0]/col[fieldName=countryName||0]
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
dragAndDropToObject scLocator=//TabSet[ID="isc_TabSet_0",locatorMatching=permissive]/paneContainer/vscrollbar/peer[Class=VSimpleScrollThumb||index=0||length=1||classIndex=0||classLength=1||title=%26nbsp%3B||name=main]/ scLocator=//TabSet[ID="isc_TabSet_0",locatorMatching=permissive]/paneContainer/vscrollbar/end
waitForElementClickable scLocator=//IButton[ID="isc_IButton_0"]/
click scLocator=//IButton[ID="isc_IButton_0"]/
waitForElementClickable scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=countryName||title=Country||value=Petoria||index=0||Class=TextItem]/element
type scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=population||title=Population||value=4||index=3||Class=TextItem]/element 5
type scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=independence||title=Nationhood||index=4||Class=DateItem]/item[name=dateTextField||title=Nationhood|||index=0||Class=TextItem]/element 07/12/2001
click scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/[icon='picker']
waitForElementClickable scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/pickList/body/row[continent=North%20America||2]/col[fieldName=continent||0]
click scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/pickList/body/row[continent=North%20America||2]/col[fieldName=continent||0]
type scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=countryName||title=Country||value=Petoria||index=0||Class=TextItem]/element Petoria
keyPress scLocator=//ListGrid[ID="countryList"]/editRowForm/item[name=countryName||title=Country||value=Petoria||index=0||Class=TextItem]/element \13
waitForGridDone scLocator=//ListGrid[ID="countryList"]
dragAndDropToObject scLocator=//TabSet[ID="isc_TabSet_0",locatorMatching=permissive]/paneContainer/vscrollbar/peer[Class=VSimpleScrollThumb||index=0||length=1||classIndex=0||classLength=1||title=%26nbsp%3B||name=main]/ scLocator=//TabSet[ID="isc_TabSet_0",locatorMatching=permissive]/paneContainer/vscrollbar/start
waitForElementClickable scLocator=//ListGrid[ID="countryList"]/header/headerButton[fieldName=countryName]/
click scLocator=//ListGrid[ID="countryList"]/header/headerButton[fieldName=countryName]/
waitForGridDone scLocator=//ListGrid[ID="countryList"]
verifyText scLocator=//ListGrid[ID="countryList"]/body/row[10]/col[fieldName=countryName||0] Petoria
verifyText scLocator=//ListGrid[ID="countryList"]/body/row[10]/col[fieldName=independence||4] 07/12/2001