On 23/03/06, Padhma N <[EMAIL PROTECTED]> wrote:
 
(2) I would like to click on a webpage -not on a button,or image, just on the page. Is there any command that clicks on the page?
$IE0.form(:name,"").click doesn't help
 

We need to understand a bit more about what it is you are trying to accomplish here.  Do you want to click the page so that you can bring the window to the forefront?  If so, have you tried: IE.bring_to_front()

If you haven't done so already, you might want to check out the various methods listed in the "Watir API Reference" for "Watir::IE".  You may find something in there that is what you are looking for.  Otherwise, you don't need to click the web page just to interact with it.  Once you 'attach' to it, you can work with any object on the page.

Hope that helps.  Paul.

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

Reply via email to