Open source web testing tool
The future of automated web testing is open source

API Guide - Popup Dialog

Courses in c#, ruby, shell scripting, Software testing courses and more

See a video tour
Thwameva technologies offers a state of the art advanced training using multimedia video mentoring , practical oriented training and experts as mentors(*). Thwameva offers software testing courses, courses in WET, ruby, C#, shell scripting and more...
The unique combination of video mentoring by experts and mentor assisted training programs are applicable only for software training courses in Thwameva's Bangalore office.

Thwameva technologies is the primary sponsor for the WET project
 
Main       Web Objects       Win Objects       Test Mgmt       Others      
Class WET::ModalDialog
In: ModalDialog.rb
Parent: Object

Class representing a Modal Dialog. Modal dialogs in a browser are created when a Javascript alert or prompt is used; or when the Security window is invoked.

WET ModalDialogs objects are created by using the ‘Dialog’ method in the Browser class.

  For example:
  Browser("title:=Google").Dialog("title:=Microsoft Internet Explorer")

Methods

Button   Checkbox   ComboBox   Edit   Label   Radio   text  

Public Instance methods

Get a Button inside this window using the properties specified as args. The commonly used properties for a button are:- *text - The text displayed on the button *index - The order in which the button appears on the window

Get a Checkbox inside this window using the properties specified as args. The commonly used properties for a Checkbox are:- *text - The text displayed on the checkbox *index - The order in which the Checkbox appears on the window

Get a Combobox inside this window using the properties specified as args. The commonly used properties for a WinComboBox are:- *index - The order in which the Combobox appears on the window

Get a Edit box inside this window using the properties specified as args. The commonly used properties for a WinEdit are:- *index - The order in which the Edit box appears on the window

Get a Label inside this window using the properties specified as args. The commonly used properties for a Label are:- *text - The text displayed by the Label *index - The order in which the Label appears on the window

Get a Radio button inside this window using the properties specified as args. The commonly used properties for a Radio button are:- *text - The text displayed by the Radio *index - The order in which the Radio appears on the window

Get the ‘text’ displayed in this dialog box.

 

WET is a opensource automated web testing tool which uses Watir as the library to drive web pages. WET drives an IE Browser directly and so the automated testing done using WET is equivalent to how a user would drive the web pages. WET extends the scripting abilities of Watir and also offers the convenience of recorders. It is licensed under LGPL and BSD style open source licenses.

WWW wet.qantom.org
Search powered by Google