search for: javascriptdialog

Displaying 1 result from an estimated 1 matches for "javascriptdialog".

2007 Apr 24
0
how to capture text from a popup window..in watir
...to capure the text of that popup.. i tried this with no success #----- js_dialog.rb ----- require ''win32ole'' require ''test/unit'' require ''test/unit/ui/console/testrunner'' # # Use AutoIt to read and close Javascript dialog windows # module JavascriptDialog # # Target javascript dialogs with this window title # WINDOW_TITLE = "Microsoft Internet Explorer" class << self # # Return the text contained in a javascript dialog (e.g. an "alert()") # if such a dialog is present or appea...