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

Answers were Sorted based on User's Feedback



difference between waitProperty & Checkproperty..

Answer / 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

difference between waitProperty & Checkproperty..

Answer / shikha

CheckProperty: Checks whether the specified object property achieves the specified value within the specified timeout.

If the expected and actual values do not match, an error is reported and the test or component status is changed to failed.

WaitProperty: will not fail your test but is use for synchroniztion
For test run synchronization, or whenever you do not want to fail the test if the expected and actual values do not match, use the WaitProperty method.

Is This Answer Correct ?    2 Yes 0 No

difference between waitProperty & Checkproperty..

Answer / bapi

so check property Returns Result in Results Page and Wait property never returns Only execute the step?

Is This Answer Correct ?    1 Yes 1 No

difference between waitProperty & Checkproperty..

Answer / kiran patil

Boths working are different.
1) check property is checking the condition ( is it or not ).and get the result in the form of boolean value( true or false ) or. ( 0's or 1's ).

2)wait property have a limit value ( like=1 to 10 ) 10 is a wait value.
When loop is going on 1 toward 10 then ok but, when the 10 value is cross that time process is in wait condition or stop conditions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

When it be decided to go for either Per - Action or Shared?

2 Answers  


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

0 Answers  


describe some problems that u had with automating testing tool?

0 Answers  


Problem with XML checkpoint in QTP ?

0 Answers  


Explain Different types of Checkpoints in Quick Test Professional?

2 Answers   Crea,


what are build and version plz explain why nomber changes in build and version?

3 Answers  


Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?

3 Answers   Semantic Space,


What is diff betwee datatable.importsheet "path" and datatable.import

2 Answers  


how to record/identify the webedit box/object which have drop down list and its changing simultaneously in qtp..

1 Answers   Synchronoss Technologies,


When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?

4 Answers   Accenture,


write a vb script to print even numbers from 1-50?

6 Answers   Kclink Technologies, Logica CMG,


What are the recording modes and executing modes avialble in QTP?

3 Answers   Polaris,


Categories