XPath Issues with Selenium Core on IE

23 views
Skip to first unread message

Vinaykumar Patel

unread,
Jun 1, 2011, 1:07:01 AM6/1/11
to selenium-...@googlegroups.com
Hi,
I have recorded a script which has button whose Xpath is this "//div[4]/div[3]/button[1]". When I run the test using selenium Core on FireFox and GoogleChorme it works fine but test fails when it counter the command which has Xpath. It says "Element //div[4]/div[3]/button[1] not found". 

Any suggestion?


Thanks
Vinaykumar

Michael Yang

unread,
Jun 1, 2011, 8:29:54 AM6/1/11
to selenium-...@googlegroups.com
Use dev tools for IE to check if the Xpath is correct. It may be different in IE.

--
You received this message because you are subscribed to the Google Groups "Selenium - Automated Software Testing" group.
To post to this group, send email to selenium-...@googlegroups.com.
To unsubscribe from this group, send email to selenium-test-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-test-tool?hl=en.



--
== Life is a Project ==

Vinaykumar Patel

unread,
Jun 2, 2011, 1:04:02 AM6/2/11
to selenium-...@googlegroups.com, micha...@gmail.com
Michael,
Can you suggest any Dev tool for IE. I already tried IE developer toolbar but it does not provide xpath. 


Thanks
Vinay
Reply all
Reply to author
Forward
0 new messages