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 are the limitations of smart identification in qtp 9.0
Can we run test with out adding object in object repository? How it is possible?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
what area in a web application cannot be automated.
What is an expert view and keyword view?
In Test Director bug rEPORTS, wHAT ARE THE CONTENTS(fIELDS)? iF yoU PREAPARE BUG REPORT IN eXCEL sHEET , hOW U SEND TO dEVELOPMENT TEAM THRW T.D?
does test plan is in test strategy or test strategy is in test plan
How can you send user defined messages to test report?
what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?
How to change the screen name while running the test.
Hi All, I need code for how to execute qtp scripts from excell sheet
Whenever we use GETROPROPERTY function.