Below
are some of the windows application Test Objects, Based on the object stored in
repository the test objects are been created in Recording and also by manually
giving the scripts in test window.
Syntax:
In which window.In which object.what operation
window("Window Name").Object("Object Name").Operation
As per above syntax below script will be generate for windows based application
Syntax:
In which window.In which object.what operation
window("Window Name").Object("Object Name").Operation
As per above syntax below script will be generate for windows based application
Sr
No
|
Description
|
Test
Object
|
1
|
Edit
field
|
WinEdit
|
2
|
Push
button
|
WinButton
|
3
|
Object
(Developed in other tech)
|
WinObject
|
4
|
Checkbox
|
WinCheckbox
|
5
|
Radio
button
|
WinRadioButton
|
6
|
Combo
box
|
WinComboBox
|
7
|
List
|
WinList
|
8
|
Main
Window
|
Window
|
9
|
Sub
window
|
Dialog
|
Also here i given some of the operation that can be perform based on the created Test Object, listed operation is common for both web and windows based application.
Sr
No
|
Description
|
Operation
|
1
|
Enter
value into edit box
|
Set
“Text”
|
2
|
Enter
the password
|
SetSecure
“EncryptedText”
|
3
|
Click
on push button
|
Click
|
4
|
Select
the item in combo box
|
Select
“Item Name” or Select “Item Number”
|
5
|
Check
the checkbox
|
Set
“On/Off”
|
6
|
Choose
the radio button
|
Set
“Select”
|
7
|
Enter
value in object
|
Type
“Text”
|
8
|
Activate
window
|
Activate
|
9
|
Minimize
the window
|
Minimize
|
10
|
Maximize
the window
|
Maximize
|
11
|
Close
the window
|
Close
|
No comments:
Post a Comment