Re: [Selenium-users] 2 same links on one page.

2005-12-25 Thread JamesWang
4$10 AM Subject: Re: [Selenium-users] 2 same links on one page. I didn't understand this. Also, i don;t see any examples related to this in the selenium reference.Could you please provide me with the syntax and example? That wud be of great help.Regards,TusharJamesWang [EMAIL

Re: [Selenium-users] 2 same links on one page.

2005-12-23 Thread Tushar Shah
I didn't understand this. Also, i don;t see any examples related to this in the selenium reference.Could you please provide me with the syntax and example? That wud be of great help.Regards, TusharJamesWang [EMAIL PROTECTED] wrote: Hi Tushar Please try //linkLocator[1]

Re: [Selenium-users] 2 same links on one page.

2005-12-22 Thread Alexandre Garel
Tushar Shah a écrit : Hi All, I have 2 links on 1 page which has the name very similar say: Own. How do i access one of the link in my code. Please let me know. Regards, Tushar find something discriminative (like a property) or use xpath. In xpath you can use [1] or [2] after your

Re: [Selenium-users] 2 same links on one page.

2005-12-22 Thread Tushar Shah
I still did not get it: (//a[contains(.,'o bladi o blada')])[1]I am confused to how can i use in my application. Can you please explain a little bit more.Regards, TusharAlexandre Garel [EMAIL PROTECTED] wrote: Tushar Shah a écrit : Hi All, I have 2 links on 1 page which has the name