QTP Script for Button

QTP Script for Button control



Script to Click on OK Button

Dialog("Login").WinButton("OK").Click



Qtp Script to check whether Button is enabled or not(Disabled).

a=Dialog("Login").WinButton("OK").GetROProperty("enabled")
If a=true then
msgbox"ok button is enabled"
else
msgbox"ok button is not enabled"
End if

QTP Script for Combo box and other Controls

No comments:

Related Posts Plugin for WordPress, Blogger...

Fun and Knowledge