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

how to do the batch testing in test director using manual testing procedure?

2360


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

2017


How would you directly trigger javascript in a test?

1879


What is the difference between call to existing action and copy of an action?

1085


What are the two types of repositories available, explain them?

1012


what is the structure for the data driven framework

1991


What are the different kinds of test steps?

1067


How to recognise the webelement and verifying that webelement is enabled?

2165


How many types of recording modes in qtp? Describe each type with an example where we use them?

1037


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

1858


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

989


How to suppress warnings from the test results page?

1020


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

1191


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

2005


What are the differences between quicktest professional (qtp) and winrunner?

1042