Paul Bennett a écrit :
Hello,
 
I'm trying to locate the following link
 
<a href="">
...
 
using the following xpath _expression_ in my test script:
 
 
I used the Selenium recorder plug-in for Firefox to generate the script including this particular _expression_.
 
 
However, Selenium does not find the link. What's wrong?

Won't it be enough to use an _expression_ like xpath=//a[contains(@href,skillPopUp)] or //a[contains(@href,skillPopUp) and contains(@href,skillExp1)]
When needed I use lantern to test xpath expr, and yours doesn't work while those work ! (maybe due to the presence of quotes)
Hope it helps.

Alex.




_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to