Lillis, Dara wrote: > > I have a strange problem with using the modal dialog code (I'm using > watir development gem 1.5.1.1017) while running tests on a remote > machine via remote desktop. > > When I am rdesktop-ed to a machine and run some code that uses modal > dialogs (see below for code), it works fine when I am looking at the > remote desktop, but if I minimise the remote desktop or close it and > leave the program running, my test hangs and never clicks on the modal > dialog. > > here's the code I am using: > > browser.link(:text, link_text).click_no_wait > dialog = Watir::Dialog.new > dialog.exists? > dialog.button(dialog_text).click > > any ideas? >
I suggest removing the call to "dialog.exists?" and see if this makes a difference. Bret _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
