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
Is QTP supports Unix. If yes, then how the test automation is done?
Tell me about your project? please help me how to tell about insurance project
HOw to add the recovery file at runtime to the test file .
Explain how Does Run time data (Parameterization) is handled in QTP?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
How you can decide which type of object repository you have to use?
How do Parameterization and Data-Driving relate to each other in QTP?
How to explain a banking project in interview as a test engineer???
explain structured testing? plz guys with exp. do answer
In what occasion we can specify global sheet and action sheet?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.