difference between waitProperty & Checkproperty
Answer Posted / uday
As per the name, waitProperty waits till the condition met
or the maximum time specified.
For ex:B().p().webbutton().waitproperty "Enabled",true,30000
So here QTP waits till the button is enabled or waits for
max of 30 Secs and if the button is not enabled, then the
step fails.
Where as CheckProperty is to verity whether the value is
matched or not and returns a Boolean value
Ex:
B().p().webbutton().CheckProperty "Enabled",true,30000
Here QTP verifies whether the button is enabled or not and
waits for 30 sec and returns true if the button enable else
return false.
Thanks,
Uday
http://qtpftvideos.blogspot.com/
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
How to recognise the webelement and verifying that webelement is enabled?
How to use actions in qtp ?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
Explain about the test fusion report of quicktest professional?
How many scripts did you have?
How do you configure QTP AND Test director?
Give the syntax to import/export xls into qtp.
Explain how you can replace string in qtp?
What are the types of properties that quick test learns while recording?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
What is the difference between rational rose and QTP?
Is qtp supports uni-code?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
Generic function to search for the unique link in webtable and click on it