For the link: i am still using name as:

<tr>
      <td>clickAndWait</td>
      <td>search</td>     
      <td>&nbsp;</td>
</tr>

The link didn't work. Did i miss anything?

and for button: i am using -

<tr>
      <td>clickAndWait</td>   
      <td>//[EMAIL PROTECTED]'search']</td>
      <td>&nbsp;</td>
</tr>

This worked as of a workaround.

Thanks,
Tushar



Alexandre Garel <[EMAIL PROTECTED]> wrote:
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


Yahoo! Personals
Single? There's someone we'd like you to meet.
Lots of someones, actually. Try Yahoo! Personals
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to