Re: [Wtr-general] Checking whether images inside a table are enabled or disabled

2006-12-04 Thread Ċ½eljko Filipin
In your case, disabled link is not a link with disabled property (a href= page.htm disabled=disabledlink text/a), it is a table cell (tdcell text/td). This will tell you that Step 1. Details is link, not in table cell. irb(main):025:0 ie.link(:text, Step 1. Details).exists? = true

Re: [Wtr-general] Checking whether images inside a table are enabled or disabled

2006-12-04 Thread Danny R. Faught
On 12/4/2006, vijay [EMAIL PROTECTED] wrote: T...While entering into our application, all links, other than Instructions and Step 1. Details, should be disabled. ... I want to verify this with Watir. I am at a loss about how to do that. I would recommend looping through ie.links (or the

Re: [Wtr-general] Checking whether images inside a table are enabled or disabled

2006-12-03 Thread vijay
Hi Ethan, Thanks for your reply and sorry for not explaining the issue clearly. There is a page in our application that contains links like Instructions, Step 1. Details, Step 2. Inventors etc [These are actually recognized as TDs in the 'View - Source. The table containing this has got an

[Wtr-general] Checking whether images inside a table are enabled or disabled

2006-12-01 Thread vijay
Hello people, I have got to check whether images present in a table are enabled or disabled. I am not even very sure whether they are images. Their html content: is like the following: td class=tab_enabledimg class=tab src=/iam/images/tab_left_inactive.png/td td class=tab_enabled

Re: [Wtr-general] Checking whether images inside a table are enabled or disabled

2006-12-01 Thread Ethan Jewett
Vijay, It is hard to tell what, exactly, you are looking for without an example of what an enabled object looks like *and* what a disabled object looks like. However, it looks to me like Watir 1.5.1.1127 supports the following methods for every object on a web-page: exists? enabled?