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

API Guide - Win32 Textfield

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::Winobjects::WinEdit
In: wet/winobjects/WinEdit.rb
Parent: Window

Class to represent a Win32 edit box. Win32 edit boxes are created in the context of WET by using 'Edit' method of the dialog class.

    Example:
    Browser("title:=Google").Dialog("Microsoft Internet Explorer").Edit("index:=3")

Methods

display_text   is_password   is_readonly   set   text   to_s  

Public Instance methods

If the WinEdit is actually being used as a label to display text, get that display text and return it. The display_text is only applicable if the control’s readonly is set to ‘true’

Is this textfield supposed to be a password control? return true or false

Is this textfield supposed to be readonly. return true or false

Set the text in the textfield.

Retreive the text that has been set for this object.

 

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