if i remember, there is a method in IE called something like

element_at( x, y)

it might be possible to use that to do what you need. But as others have said, 
this is a very fragile way of doing automation

Paul
There are many ways to access controls, does the textbox have any
attributes? id, name, etc? If it does then you can use the standard set
method:
ie.text_field(:name, "username").set("admin")

Are you getting errors accessing it? If so what errors? If the text field
doesn't have any identifiable attributes, you can also use index:
ie.text_field(:index, 3).set("admin")

There may be a way to pixel click, but I wouldn't recommend it as it's
subject to breaking pretty quickly. The above options should work. If not,
post some of the html code and more information.
-Charley

On 12/5/06, Ankur Gupta <[EMAIL PROTECTED]> wrote:

Using watir is it possible to click on a location that can be specified
with x and y coordinate (pixels)

I am trying to automate JD Edwards screens using Watir, i am stuck at a
portion where the object is not being identified. The textbox which i have
to type also cant be reached by using Keyboard Tab.

Any other workarounds?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5614&messageID=15651#15651
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to