difference between waitProperty & Checkproperty
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
How does QTP identifies the object in the application Mainly objectives are three type's OF PROPERTIES namely
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
Hi I am from delhi, Now I can surely say that no institution of QTP here in Delhi After reading you people I want to get cry, from last six month I am trying to learn QTP, I have knowledge too but dont know VB Script. Now it appears that without learning QTP no one can learn complete QTP, I want to get a formal learning in QTP. Can you suggest me the best institution. and please let me know the charges and span of the course too. thanks in advance to you alkaa.dugaal@gmail.com
how can we retrieve ten rows from the data table using loop concept?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
Could we use QTP for java project(Which is develop in Netbeans and My SQL) otherwise which one is suitable?
In a yahoo web Application there are 65 links.one day it will opens 50 links and another day it will open 55 links.In this scenerio write Descriptive programing for Automation?....Pls write the code for this scenerio.
1 Answers College School Exams Tests, UHG,
What are the QTP advantages and disadvantages?
how can we group that these test cases only should be automated and in which order you execute that test cases?
how to use import and export sheet methods in qtp