Wants to find a property
I want to find whether a button is enable or not through QTP script, from that result I want to continue some other queries. Please suggest me...
Thanks in advance...
Re: Wants to find a property
Thankyou very much for ur suggestion.
It made me a little problem but basing on ur suggestion I worked and got my solution, it worked with finding 'Enable' in my system. This is as below worked with find option in Notepad:
IsButtonExists = Window("Notepad").Dialog("Find").WinButton("Find Next").Exist
IsButtonEnabled = Window("Notepad").Dialog("Find").WinButton("Find Next").GetROProperty("Enabled")
if IsButtonExists then
if IsButtonEnabled = "False" then
msgBox "Button is Disable"
msgBox "Button is Enabled"
msgBox "button is not exists"
ONCE AGAIN THANKYOU VERY MUCH.