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?




Dara Lillis * Testing - Team Lead * SunGard * Kiodex * 628 Broadway,
Suite 501, New York, NY 10012
Tel 646-437-2627 * Fax 646-437-3910 * http://www.sungard.com/Kiodex

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

Reply via email to