Howcan you differentiate between Exist statement, Exist
property, and Exist method??? How they used???

Answers were Sorted based on User's Feedback



Howcan you differentiate between Exist statement, Exist property, and Exist method??? How they use..

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

Howcan you differentiate between Exist statement, Exist property, and Exist method??? How they use..

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

Post New Answer

More QTP Interview Questions

Tell me the QTP Advantages and Disadvatages ?

6 Answers   Accenture, CTS, GE,


how to do the batch testing in test director using manual testing procedure?

0 Answers  


Use of Debug Viewer?

1 Answers  


what is defination of regression testing?

3 Answers  


how you test broken link using the automated tool QTP ?

4 Answers   Oracle,






Give the syntax to import/export xls into qtp.

0 Answers  


can any body tell me all of the release dates of QTP?????..... thanks in adv!

3 Answers  


how to create the varibles and how these are connect to qtp? plz tell me

3 Answers  


Greetings friends , Hope all of you are doing well. When I run a test, is it possible for me to for me to take each row from the data table , once at a time. In other words,if i have 10 rows in the global data table, say data1,data2, data 3...and so on up to data10. Can I have the value of data1 when I run a test, and next time when I run the same test (say next day), it should skip data1 as it has already used it and go directly to data 2 ??? Would be great if anybody can help me out know in this issue. Thanks & Regards !!

4 Answers   CTS,


Does the Existing reusable action can be modified at the time of calling the action?? Please help me..

2 Answers  


Explain xml checkpoints.

0 Answers  


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

3 Answers  


Categories