17 Jul 2012 9:24 AM #1
Unanswered: Sencha Touch 2 and Selenium
I've been trying to automate a sencha touch 2 implementation with selenium via the Chrome browser on a Pc. Is anyone else doing this with success?
I've run into an issue where Selenium is throwing a NoSuchElement exception when trying to find a button on a x-msgbox. Does anybody have a solution on how to make WebDriver recognize the msgbox?
Thanks in advance.
19 Jul 2012 4:00 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Are you sure it's rendered at the time the test fires?
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
19 Jul 2012 8:03 AM #3
I am sure the web element was rendered when the test fired. Dev changed something, the xpath changed, and selenium now recognizes the button. I am trying to get to the bottom of what was changed and will post if I figure out what change resulted in selenium now recognizing it.