Hey guys,
I'm using smartgwt 2.2 and want to do automation tests for the UI with selenium IDE. So I managed to create a testSuite with Selenium IDE 1.0.10 using the smartgwt user-extensions.js and user-extensions-ide.js and it works just fine.
The problem I have is when integrating the tests in an automation solution. For that I use the selenium-server-standalone-2.0b3.jar and the command line is
java -jar selenium-server-standalone-2.0b3.jar -multiwindow -userExtensions user-extensions.js -htmlSuite "*firefox" "host" "C:\SeleniumTests\test.html" "C:\SeleniumTests\results.html"
And it starts just fine it opens my page and then when clicking the username field (identified by the scLocator from below)
scLocator=//DynamicForm[ID="isc_DynamicForm_0"]/item[name=isc_casTextItem_0||title=Username||index=0||Class=TextItem]/element
it gives the following error:
# error(1302767599070): Unrecognised locator type: 'sclocator'
# warn(1302767599073): currentTest.recordFailure: Unrecognised locator type: 'sclocator'
what I'm doing wrong ? could someone help please ?
Thanks
I'm using smartgwt 2.2 and want to do automation tests for the UI with selenium IDE. So I managed to create a testSuite with Selenium IDE 1.0.10 using the smartgwt user-extensions.js and user-extensions-ide.js and it works just fine.
The problem I have is when integrating the tests in an automation solution. For that I use the selenium-server-standalone-2.0b3.jar and the command line is
java -jar selenium-server-standalone-2.0b3.jar -multiwindow -userExtensions user-extensions.js -htmlSuite "*firefox" "host" "C:\SeleniumTests\test.html" "C:\SeleniumTests\results.html"
And it starts just fine it opens my page and then when clicking the username field (identified by the scLocator from below)
scLocator=//DynamicForm[ID="isc_DynamicForm_0"]/item[name=isc_casTextItem_0||title=Username||index=0||Class=TextItem]/element
it gives the following error:
# error(1302767599070): Unrecognised locator type: 'sclocator'
# warn(1302767599073): currentTest.recordFailure: Unrecognised locator type: 'sclocator'
what I'm doing wrong ? could someone help please ?
Thanks
Comment