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 |
How can you pass value one action to another action?
How do you perform Regreession Testing?
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
If u don't have any Knowledge on perticular application but they give that application to u for Testing ? Then How we wil move towards testing on that application?
in Qtp,how to display user name and pwd (script)in data table(global sheet).
assume i have few url link how will i dynamically call then using 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.
In QTP if u got a defect , how to report to developer using Test director or Quality center .
How you debug your script?
Can we record using all the modes in a single script? Explanation with example is appreciated
what is the diff between Procedure and function
What are the challenges do we face while testing webbased applcations using the automation tool QTP or any?