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 is a programmatic description?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
diff between qtp versions from 8.5
Explain quicktest professional (qtp) testing process?
What is difference between Recording time object identification and Run time (Execution) time.
Is it possible to change the values of analog recording?
How to customize checkpoints with parameters?
Why do we use breakpoints in QTP?
How smart identification works in qtp ?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
what testplan contents and what test strategy contents,what is the diff b/w them
Suggest and Define a solution for an application whose objects are not recognized by UFT?
When Recovery scenario actually starts while testing the application?
How many types of parameters are there?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?