Thanks Ogre for your help. Your answer was precisely what I had expected. But
I noted a small discrepancy. Though I was able to focus the 'Advanced Search'
or any other link or any button in the page and right-click on the focussed
link or button, I was not able to do the same for a text field. The below
lines,
ie.link(:text,'Advanced Search').focus
ie.send_keys("{APPSKEY}")
when executed, right-click on the 'Advanced Search' link
whereas the similar lines below,
ie.text_field(:name,'q').focus
ie.send_keys("{APPSKEY}")
when executed, does not right-click the 'text field' where the 'search text' is
entered but it right-clicks the 'Address Bar'.
Does this indicate a problem?
Thanks again,
Vijay.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6545&messageID=18862#18862
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general