Showing posts with label to check whether button is enabled or not. Show all posts
Showing posts with label to check whether button is enabled or not. Show all posts

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

Related Posts Plugin for WordPress, Blogger...

Fun and Knowledge