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
how to do the batch testing in test director using manual testing procedure?
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
How would you directly trigger javascript in a test?
What is the difference between call to existing action and copy of an action?
What are the two types of repositories available, explain them?
what is the structure for the data driven framework
What are the different kinds of test steps?
How to recognise the webelement and verifying that webelement is enabled?
How many types of recording modes in qtp? Describe each type with an example where we use them?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
How to suppress warnings from the test results page?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
What are the differences between quicktest professional (qtp) and winrunner?