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 difference between runtime object and text object and what property they have. whether they have same properties or different properties.
How to check and display a particular word from a paragraph?
how many scripts r there in QTP? pls any answer this question?
what are the mandatory properties in qtp? what are the library functions in qtp?
why is execute file used.
What is the difference between gettoproperty and settoproperty?Explain with an example?
Synchronozation types in QTP
What is the basic concept of qtp?
a title of first page is "LKO- microsoft internet explorer", of the second page is "PPM- microsoft internet explorer" , of Third page is "TTS- microsoft internet explorer" and same changing title on the fourth page. How can we use regular expression for this feature what should we do on script part on and Object repository part so that we can get successful run result. Kindly explain the steps script.
Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?
If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful