Beruflich Dokumente
Kultur Dokumente
Wait property:
Wait property is used for making the tool to wait based on the object properties
value
Syntax: object hierarchy.wait property “property name”, property value, extra time
in mille seconds
Wait: it is used for making the tool to wait till the specified time is elapsed.
Syntax: Wait” Time in seconds”
1. Click method: -
Click method is used for clicking on specified object
Syntax: Object hierarchy.click(x,y,[button] )
2. Double click: -
It is used for double clicking on a specified object
Syntax: Object hirerarchy.dblclick(x,y, [button])
3.Set Method: - Set method is used for setting a value in to an edit box or
selecting or deselecting acheck box or selecting a radio button
Syntax: Object hirerearchy.set”value”
Object hierarchy of check box.set “on/off”
Object hierarchy of radiobutton.set
Case study-1:
Develop the script customer id, custname, currant age, cust phone number and
clicking on submit button
Cust
Vbwindow(“cust”).vbedit(“cust”).set.”Custid”
Vbwindow(“cust”).vbedit(“custname”).set”name”
Vbwindow(“cust”).vbedit(“custage”).set”age”
Vbwindow(“cust”).vbedit(“custphno”).set”phoneno”
Vbwindow(“cust”).vbutton(“submit”.click