Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1926


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

2484


What is the difference between call to existing action and copy of an action?

1038


How you know that a test case is a regression test case

3896


What are the differences between qtp and winrunner?

935


How to modify the text checkpoint?

1055


How to test fly out menu in qtp?

905


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

2024


Explain different type of event trigger option.

911


What are the things(properties, and other details) will be recorded while recording an object using normal recording?

1918


what frame work you are following?

1871


Where you get the run time data table?

971


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3808


who QTP recognizes the object stored in object repository?

2036


What is checkpoints for quicktest professional (qtp)?

977