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
What are the ways you can synchronize?
can the activities of test case design be automated?
Hi All, How to get repeated word in string . Thanks Balaji
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
Explain the parameter in qtp?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What is action? How many types of actions are there in qtp?
How many types of recording facility are available in quicktest professional (qtp)?
What is the significance of “action 0” in qtp?
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
what is the advantages and disadvantages of using functions instead of re usable actions
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
What is the difference between per-action and shared?
Hi All, How to Compare two strings character by character in QTP
What are parameterizing tests?