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
Did QTP prove efficient for your project? Yes or No, explain?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
How to use checkpoints in qtp ?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
How many ways is to parameterize the value?
Where to use function or action?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
What does mean by Scope of Automation?n How we defined it?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
Connect to QC using AOM.
What is ObjectParamater?
wt is the use of multiple questions in QTP
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
What is quicktest professional?