Re: [wtr-general] Issue with accessing an Object in FireWatir

2010-05-17 Thread Rajiv Nanduani
Hi, did u try this? ff.div(:class,'roomInfo').link(:text = 'Book',:index = 1).click may be under div there are more than one link with same text On Mon, May 17, 2010 at 1:12 AM, Betsy joybe...@gmail.com wrote: Hi all, We have a strange issue with an object which is a div.

Re: [wtr-general] Issue with accessing an Object in FireWatir

2010-05-17 Thread Željko Filipin
On Monday, May 17, 2010, Betsy joybe...@gmail.com wrote: Can it be an issue with the code? Yes. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to

Re: [wtr-general] Issue with accessing an Object in FireWatir

2010-05-17 Thread Željko Filipin
On Monday, May 17, 2010, Betsy joybe...@gmail.com wrote: Can it be an issue with the code? Yes. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to

Re: [wtr-general] Issue with accessing an Object in FireWatir

2010-05-17 Thread Wesley Chen
You have so much page source code. Is it better for other people to read your emails if you attach an attachment? Wesley. For life, the easier, the better. On Mon, May 17, 2010 at 8:55 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Monday, May 17, 2010, Betsy joybe...@gmail.com

Re: [wtr-general] Issue with accessing an Object in FireWatir

2010-05-17 Thread Angrez Singh
Does the attached code works for you? - Angrez On Mon, May 17, 2010 at 7:50 PM, Wesley Chen cjq@gmail.com wrote: You have so much page source code. Is it better for other people to read your emails if you attach an attachment? Wesley. For life, the easier, the better. On Mon, May

[wtr-general] Issue with accessing an Object in FireWatir

2010-05-16 Thread Betsy
Hi all, We have a strange issue with an object which is a div. ff.div(:class,'roomInfo').link(:text = 'Book').exists? returns true ff.div(:class,'roomInfo').link(:text = 'Book').click returns true but does not perform the required action ff.link(:text = 'Book', :index = 15).click returns true