Howcan you differentiate between Exist statement, Exist
property, and Exist method??? How they used???
Answer Posted / tvs ramakrishna chowdary
exist method
-------------
object heirarchy.exists[time in secons]
'it is mainly used for checking whether the object is
existing or not if exists other wise it will make qtp to
wait till the object exist until default time.if within the
default time(20,000ms or 20 sec) object exists it returns a
value "true" else it returns a value "false"...
wait prop
----------------------
object heirarchy.waitproperty "propery name","property
value",[extra time in milli seconds]
it is used for making the tool to wait based on the objects
properties values or up to the maximum time menctioned as a
parameter
there is no "exists" property in QTP but exist method is
there..if we make use exists method in a qtp script
statement then it is generally called as exists statement
ex1:object heirarchy.exists[10]'here qtp wait 30 sens 20
(default secs+10 secns)
ex2:oh.waitproperty "property name","property value",10,000
here 10,000 is in milli seconds.......
total time is :20,000(default)+10,000(menctioned time)
=30,000 milli secons...
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
please post the interview questions for QA position in FACTSET
How to interact tool & application build in QTP?
Hi,All How to create a link in excel sheet using qtp
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>.
How to export quicktest professional (qtp) results to an .xls file?
Can you list some technologies that support qtp?
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
What are the types of data tables in qtp?
What is qtpro? What is quick test pro?
Can I change properties of a test object?
How to save your test using quicktest professional (qtp)?
What are the Application Functions available in QTP?
Can we run multiple QTP scripts one after the other without manual intervention? How?
What is post recovery scenario?
What is method name to compare two XML files.