Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by checkmail 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?

checkmail

Posts : 2
Join date : 2013-05-14

Back to top Go down

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

Post by tarun3kumar 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

tarun3kumar
Master
Master

Posts : 186
Join date : 2012-02-14

http://seleniumtests.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum