ie = Watir::IE.start('http://msdn.microsoft.com/workshop/samples/author/dhtml/popup/showme4.html' )
ie.document.body.fireevent('oncontextmenu')
ie.span(:text, 'MSDN Web Workshop').click
It's all a matter of knowing the events and html to reference. I used Spy Smith (and reading source) to figure this out.
Note that the second command really doesn't use Watir, but instead codes directly to the DOM. This is because we need to send the event to the body object, which Watir normally allows you to ignore.
Bret
On 7/20/06, NIcky Sandhu <[EMAIL PROTECTED]> wrote:
I have scanned the mailing list but found nothing for the popup menu as
described in this microsoft document
http://msdn.microsoft.com/workshop/author/om/popup_overview.asp#Navigati
on_With_Popups
Has anyone dealt with these kind of menus, typically implemented by a
call to window.createPopup on the page. I have tried winclicker and
autoit but I cannot get a handle to this window. Any suggestions?
Warning: this e-mail may contain information proprietary to Raley's and is intended only for the use of the intended recipients. If the reader of this message is not an intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
_______________________________________________
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
