what is the use of VIRTUAL OBJECTS? explain ?
Answer Posted / thangaraj
Ans: 2 Ways you can check Object is recognized or not
1. Using Obejct Repository window Add the object and check
the propery value of it. 2. Using Object spy - spy the
object and check the property value. Values would be
specific to Objects
Example: 1. Open QTP and then Paint window, 2. Record the
object colors like red and yellow and do some actions it
will look like:
Window("Paint").WinObject("Afx:1000000:8").Click 106,277
then Using Virtual Object - Mark the red and give
description of the object as red 3. Now record the same
object and do some actions it will look like:
Window("Paint").WinObject("Colors").VirtualObject
("red").Click 5,5
I think this solves the problem....
| Is This Answer Correct ? | 8 Yes | 6 No |
Post New Answer View All Answers
How to start recording using quicktest professional (qtp)?
How the smart identification is used in real time?Please explain with an example
How many types of status are there?
What are the general steps involved in the data driven framework?
how to prepared for first for the first interview?
What is the significance of “action 0” in qtp?
What are the features and benefits of quick test pro (qtp 8.0)?
How many types of recording modes in qtp?
can u explain relative path architecture framework in qtp?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
Hi All, How to Compare two strings character by character in QTP
How to use output values in qtp ?
If object is not recognized by qtp but the object is standard object what is your approach?
What is the difference between the keyword view and expert view?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?