I need to access an object through the name without knowing wich kind
of object is.
For example the control could be a button or a link and I would like
to do something like:
require 'watir'
include Watir
ie=IE.new
ie.goto("file://c:/temp2.htm")
ie.object(:name,"imp1").click()
Is there any way????
Thank you in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---