Hope this helps...

1st search result:

<td><nobr><a href="''" id="RF_InventionId" name="RF_InventionId" onclick="_javascript_: if (!serverPost('&lt;params&gt;&lt;param name=&quot;originatingPageset&quot; value=&quot;inventionSearchBasic&quot;/&gt;&lt;param name=&quot;originatingPage&quot; value=&quot;simple&quot;/&gt;&lt;param name=&quot;requestId&quot; value=&quot;3&quot;/&gt;&lt;param name=&quot;action&quot;
 value=&quot;show&quot;/&gt;&lt;param name=&quot;actionType&quot; value=&quot;pageset&quot;/&gt;&lt;param name=&quot;targetPageset&quot; value=&quot;?&quot;/&gt;&lt;param name=&quot;targetPage&quot; value=&quot;*&quot;/&gt;&lt;param name=&quot;mode&quot; value=&quot;review&quot;/&gt;&lt;param name=&quot;setValidationSwitch&quot; value=&quot;OFF&quot;/&gt;&lt;param name=&quot;validateIfSwitchOn&quot; value=&quot;no&quot;/&gt;&lt;param name=&quot;continueOnError&quot; value=&quot;yes&quot;/&gt;&lt;param name=&quot;sourcegrid&quot; value=&quot;GRID_searchResults&quot;/&gt;&lt;param name=&quot;position&quot; value=&quot;1&quot;/&gt;&lt;param name=&quot;accesskey_docType&quot; value=&quot;invention&quot;/&gt;&lt;param
 name=&quot;accesskey_objectId&quot; value=&quot;68&quot;/&gt;&lt;param name=&quot;templateType&quot; value=&quot;invention&quot;/&gt;&lt;/params&gt;')) return false;  return true;"><span class="data">269.0</span></a></nobr></td>

2nd search result:

<td><nobr><a href="''" id="RF_InventionId" name="RF_InventionId" onclick="_javascript_: if (!serverPost('&lt;params&gt;&lt;param name=&quot;originatingPageset&quot; value=&quot;inventionSearchBasic&quot;/&gt;&lt;param name=&quot;originatingPage&quot; value=&quot;simple&quot;/&gt;&lt;param name=&quot;requestId&quot; value=&quot;3&quot;/&gt;&lt;param name=&quot;action&quot; value=&quot;show&quot;/&gt;&lt;param name=&quot;actionType&quot; value=&quot;pageset&quot;/&gt;&lt;param name=&quot;targetPageset&quot; value=&quot;?&quot;/&gt;&lt;param name=&quot;targetPage&quot; value=&quot;*&quot;/&gt;&lt;param name=&quot;mode&quot; value=&quot;review&quot;/&gt;&lt;param name=&quot;setValidationSwitch&quot; value=&quot;OFF&quot;/&gt;&lt;param name=&quot;validateIfSwitchOn&quot; value=&quot;no&quot;/&gt;&lt;param name=&quot;continueOnError&quot; value=&quot;yes&quot;/&gt;&lt;param name=&quot;sourcegrid&quot; value=&quot;GRID_searchResults&quot;/&gt;&lt;param name=&quot;position&quot; value=&quot;2&quot;/&gt;&lt;param name=&quot;accesskey_docType&quot; value=&quot;invention&quot;/&gt;&lt;param name=&quot;accesskey_objectId&quot; value=&quot;69&quot;/&gt;&lt;param name=&quot;templateType&quot; value=&quot;invention&quot;/&gt;&lt;/params&gt;')) return false; return true;"><span class="data">270.0</span></a></nobr></td>


Guillaume Boudreau <[EMAIL PROTECTED]> wrote:
Please post the HTML code with which you need help.
In this case, please post the HTML code that shows the 1st and 2nd search results.
 
- Guillaume Boudreau


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tushar Shah
Sent: December 2, 2005 4:43 PM
To: selenium-users@lists.public.thoughtworks.org
Subject: [Selenium-users] Multiple ID's.. how to access?

Hi All,

I am testing Search in web application, where i get mulitple search results. All the search results are the id's.

All the id's in the search results have the same id and name in source.

How do i resolve this?

If in the code, i mention:
<tr>
      <td>clickAndWait</td>
      <td>RF_InventionId</td>     
      <td>&nbsp;</td>
</tr>

It will pick 1st search ID. How do i pick 2nd id?

Please let me know.

Regards,
Tushar


Yahoo! Personals
Let fate take it's course directly to your email.
See who's waiting for you Yahoo! Personals_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users


Yahoo! Shopping
Find Great Deals on Gifts at Yahoo! Shopping
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to