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 |
Could you please explain me about QTP framework.
Synchronizing test
In a web page, one web table is present which is dynamic. In that table one of the column has links with the same inner text. write a script so that i need to click the third link.
anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework
what is vmodel?advantages and disadvantages of vmodel?
How is GC reddy online program Will i get placed How are the placements.
suppose i opened 6browsers and i want re-open the 4browser what is code for this..pls help me..
Explain in brief about the QTP Automation Object Model.
I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running.
anyone can explian about types of "Triggere Events" in QTP
What is the difference between Keyword Driven test and Data Driven test?
What is the Diff between Image check-point and Bit map Check point?