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
QTP Script for Button
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment