Tushar Shah a écrit :
Hello Alex,

I used link and it still does not work. I have the code for search link and search button below. Any help will be apprecaited.

Code for search link:

<a href="" class="app_nav" id="search" name="search" >Search</a>


Code for search button:

<tr valign="top"><td width="45%" valign="top" class="defaultStyle" colspan="4"><nobr><input id="search" name="search" class="nxt_button" value="Search" type="submit" >

link=Search should work for the link, OK. For the button, there are few differences with the ling, the main difference is the type of the element or it's type and value property, so you got to rely on xpath selector. I propose xpath=//input[name="search"].
If you don't know xpath there is an interesting tutorial here :  http://www.zvon.org/xxl/XPathTutorial/General_fre/examples.html
hih (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