Hey Nathan,
the result I get from $ie.show_links [br]
irb(main):008:0> $ie.show_links
index name        id          href
          text/src
=> nil
[br]
Somehow, I have made it work now. Even though the source code doesn't show any 
tags or divs, the links are actually showing as divs. I installed IE developers 
toolbar & using that, I found that those links are showing as a div & my 
developer said that the js file in within a div or something.. but bottom 
line.. using a div as[br]
$ie.div(:index, 2).click[br]
I am able to click on the link.
The only problem is, if the developer change the order, I have to find the 
index number again. When I do [code]
$ie.divs.each {|d|
puts d.to_s
puts " " }
[/code]
I get [CODE SNIPPET]
type: Div
id:
name:
value:
disabled:
style:
text: Client Search
[/CODE SNIPPET]
since div only recognize id, name or index.. I can't use text so have to use 
:index in this case.

Thanks for all the help
Prashant
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5259&messageID=14688#14688
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to