Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is QTP supports Unix. If yes, then how the test automation is done?

2149


Tell me about your project? please help me how to tell about insurance project

1959


HOw to add the recovery file at runtime to the test file .

2139


Explain how Does Run time data (Parameterization) is handled in QTP?

988


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1900


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1851


How you can decide which type of object repository you have to use?

1136


How do Parameterization and Data-Driving relate to each other in QTP?

1034


How to explain a banking project in interview as a test engineer???

3097


explain structured testing? plz guys with exp. do answer

1840


In what occasion we can specify global sheet and action sheet?

999


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

2877


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

1225


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?

1869


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

2417