Share
Go down
checkmail
Posts : 2
Join date : 2013-05-14

every element has a few xpaths, but firepath is only giving me one?

on Tue May 14, 2013 7:43 pm
you know there are different ways to write the xpath to an element and get to that element, for example when recording a test case with selenium ide, there is a drop down menu that lets you choose which xpath (by position, by name, by id, by text contains) you want to use.
if i am not using selenium ide and im using firepath to determine an element's xpath, it only gives me one option.\

how can i generate more xpath options with firepath?
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

Re: every element has a few xpaths, but firepath is only giving me one?

on Wed May 15, 2013 11:52 am
You may have to write your own xPath.
Selenium doc has some guide line on it -

http://docs.seleniumhq.org/docs/appendix_locating_techniques.jsp

_________________
Thanks
Tarun K
Free Selenium Training
Back to top
Permissions in this forum:
You cannot reply to topics in this forum