Howcan you differentiate between Exist statement, Exist
property, and Exist method??? How they used???
Answers were Sorted based on User's Feedback
Answer / prasanna
As far as i know there is no exist stmt and exist method
there is only exist propery which we can use with the any
test object to check for its existence in the application
within a specified time
Is This Answer Correct ? | 12 Yes | 2 No |
Answer / 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 |
What is Regular Expressions?
What do you mean by iteration?
Can any suggest me what is exposure testing?
how to get no.of non empty rows in a excel sheet through vb-script
how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
How to change the run-time value of a property for an object in QTP?
how to add run-time parameter to a datasheet?
1 Answers Mphasis, Ordain Solutions,
What are the Features & Benefits of Quick Test Pro ?
How to work with multiple browsers when opened in the window, write the script for it
Sql questions to find second max salary and how to use joins
Tell me about your project? please help me how to tell about insurance project