Hi Jonathan, A12345678 is a fixed string, i want click on the number associated with that string, in this case it is 3140010. I want to select the first <a> with has the A12345678.
Regards, Srini On Thu, Sep 2, 2010 at 4:58 PM, Jonathan Rosenberg <[email protected]>wrote: > Srini, > > > > I’m not sure what you’re looking for here. Are ‘3140010’ & ‘A12345678’ > fixed strings? Or are you trying to select the first <a> that has specific > text? Something else? > > > > -- > Jonathan Rosenberg > Founder & Executive Director, Tabby's Place > http://www.tabbysplace.org/ > > > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *sriharini sriharini > *Sent:* Thursday, September 02, 2010 4:19 PM > *To:* [email protected] > *Subject:* [Webtest] figuring out the xpath > > > > Hi All, > > Can you please help me in getting the xpath. > > i want to click the link 3140010 if it is A12345678. > > > > below is the html code for 1 row. > > ------------------------------------------------------------------ > > <tr> > > <td> > > 09/02/2010 > > </td> > > <td> > > Transaction > > </td> > > <td> > > <a > href="/test/back/process.do?processId=3140010&AccountId=1234">3140010</a> > > </td> > > <td> > > > > <a > href="/test/front/overview.do?CI=true&AccountId=1234">A12345678</a> > > </td> > > <td> > > The Test Account > > </td> > > <td> > > Draft > > </td> > > </tr> > > > > > > > > Thanks for the help. > > > > Regards, > > Srini > > >

