Simple scenario to reproduce:
For this grid:
When trying to execute:
Which is typing any value to first filterEditor column. I get following error:
selenium test case attached, but it's probobly faster to record one yourself.
Full selenium log is:
Env is:
FF 5.0
ISC 8.0 Power, no patches
How do I make selenium type values into those fields without getting this error.
Thanks in advance.
Lukasz
For this grid:
Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:300, alternateRecordStyles:true, data:[ {countryCode:"us", countryName:"us", capital:"wash", continent:"America"}, {countryCode:"pl", countryName:"pl", capital:"wars", continent:"Eur"} ], fields:[ {name:"countryCode", title:"Code", width:50}, {name:"countryName", title:"Country"}, {name:"capital", title:"Capital"}, {name:"continent", title:"Continent"} ], showFilterEditor: true })
Code:
[info] Executing: |type | id=isc_U | pl |
Code:
[error] Unexpected Exception: message -> invalid array length, fileName -> http://localhost:7001/cmki/isomorphic/system/modules/ISC_Core.js?isc_version=8.0.js, lineNumber -> 3876, stack -> isc_c_AutoTest_getLocatorFormItem("id=isc_U")@http://localhost:7001/cmki/isomorphic/system/modules/ISC_Core.js?isc_version=8.0.js:3876 @:0 , name -> RangeError
selenium test case attached, but it's probobly faster to record one yourself.
Full selenium log is:
Code:
[info] Executing: |open | /cmki/secure/test.jsp | | [info] Executing: |click | scLocator=//ListGrid[ID="countryList"]/body/row[countryCode=us||countryName=us||0]/col[fieldName=countryName||1] | | [info] Located in doScClick : scLocator=//ListGrid[ID="countryList"]/body/row[countryCode=us||countryName=us||0]/col[fieldName=countryName||1] [info] Executing: |click | scLocator=//RecordEditor[ID="countryListfilterEditor"]/child[Class=Button||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Untitled%20Button||scRole=button]/icon | | [info] Located in doScClick : scLocator=//RecordEditor[ID="countryListfilterEditor"]/child[Class=Button||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Untitled%20Button||scRole=button]/icon [info] Executing: |type | id=isc_U | pl | [error] Unexpected Exception: message -> invalid array length, fileName -> http://localhost:7001/cmki/isomorphic/system/modules/ISC_Core.js?isc_version=8.0.js, lineNumber -> 3876, stack -> isc_c_AutoTest_getLocatorFormItem("id=isc_U")@http://localhost:7001/cmki/isomorphic/system/modules/ISC_Core.js?isc_version=8.0.js:3876 @:0 , name -> RangeError
Env is:
FF 5.0
ISC 8.0 Power, no patches
How do I make selenium type values into those fields without getting this error.
Thanks in advance.
Lukasz
Comment