[Wtr-general] Selecting controls in a dialog box

Matt Berney forum-watir-users at openqa.org
Mon Jul 9 15:14:30 EDT 2007


When I click a button on the web page, it displays a dialog.

Title: "Web Page Dialog"
Controls:
  * one select list
  * one text field
  * two buttons ("OK", "Cancel")

How do I access the dialog box?
How do I select an item from the list?  Do I use the Watir::IE.select_list.getAllItems() call?
How do I enter data in the text field?
How do I click on the buttons?

Thanks in advance.


More information about the Wtr-general mailing list