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...


what is the use of VIRTUAL OBJECTS? explain ?

Answers were Sorted based on User's Feedback



what is the use of VIRTUAL OBJECTS? explain ?..

Answer / uday kumar_anem

Whatever objects that QTP cannot recognize in our
application are called non-standard objects or virtual
objects. Here most of the time QTP doest not identify the
objects because of improper add-ins or if the objects are
advanced controls.
In your application, these virtual objects may behave like
a standard objects. In this scenario we can map these
virtual objects to standard objects by using Virtual Object
Wizard.
To make non standard object into standard object just
follow the below navigation:
Tools -> Virtual Objects -> New Virtual Object -> read the
description and click next -> Assign the class to the object
(means how this non-standard object is behaving standard
object) -> click next -> click on mark object button -> use
the crosshair pointer and mark your non-standard object ->
click next -> choose your configuration in object
onfiguration dialog -> click next -> Give a name to this
virtual object and give collection name -> click finish

The following are restrictions on virtual objects:
1. QuickTest does not support virtual objects for analog or
low-level recording.
2. The Web page or application window must be the same size
and in the same position when recording and running tests s
as it was when you defined the virtual object.
3. You cannot insert any type of checkpoint on a virtual
object.
4. The virtual object should not overlap other virtual
objects in your application or Web page.
5. You can define virtual objects only for objects on which
you can click or double-click and which record a Click or
DblClick step. Otherwise, the virtual object is ignored.

Is This Answer Correct ?    74 Yes 2 No

what is the use of VIRTUAL OBJECTS? explain ?..

Answer / umasankar

You can define virtual objects only for objects on which
QuickTest Professional records Click or DblClick methods.
Otherwise, the virtual object is ignored.

For example, if you define a virtual object over the
WinList object, the Select operation is recorded, and the
virtual object is ignored.

Using the Virtual Object Wizard, you can map a virtual
object to a standard object class, specify the boundaries
and the parent of the virtual object, and assign it a name.
You can also group your virtual objects logically by
assigning them to collections.

The virtual object should not overlap other virtual objects
in your application or Web page. If the virtual object
overlaps another virtual object, QuickTest may not record
or run tests correctly on the virtual objects.

Is This Answer Correct ?    30 Yes 17 No

what is the use of VIRTUAL OBJECTS? explain ?..

Answer / brahma reddy

The use of virtual objects in qtp is identifies the objects
including pixels(with co-ordinates.)

Is This Answer Correct ?    28 Yes 20 No

what is the use of VIRTUAL OBJECTS? explain ?..

Answer / avdhesh yadav

You can teach QuickTest to recognize any area of your
application as an object by defining it as a virtual
object. Virtual objects enable you to record and run tests
on objects that are not normally recognized by QuickTest.


Avdhesh Yadav
Hewitt Mumbai

Is This Answer Correct ?    9 Yes 2 No

what is the use of VIRTUAL OBJECTS? explain ?..

Answer / kmr

hi

Virtual Object wizard we can use configure to non standard
object to standard object.

Is This Answer Correct ?    11 Yes 6 No

what is the use of VIRTUAL OBJECTS? explain ?..

Answer / 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

what is the use of VIRTUAL OBJECTS? explain ?..

Answer / abhesheke

i hope ur are talking about virtual objects wizard this
option is present in winrunner this is specfically used to
recognize any new object.

example:if u have a object which is download from internet
such application cannot be recognized by the tool so to
recognize such object we use virtual object.

any queries plz feel free to ping me
abhesheke@yahoo.com

Is This Answer Correct ?    10 Yes 9 No

what is the use of VIRTUAL OBJECTS? explain ?..

Answer / priya

After coming to know that QTP could not identify
non-standard objects, we set virtual objects using Virtual
object wizard. But How do u know that QTP could not identify
non-standard objects? could anyone help me on this que?

Is This Answer Correct ?    5 Yes 4 No

what is the use of VIRTUAL OBJECTS? explain ?..

Answer / less than you

According to use, how virtual object is different from
object spy? If Qtp is not learning a sub-menues. What
should we done? how would we manage on the expert view too?
alkaa.dugaal@gmail.com

Is This Answer Correct ?    4 Yes 7 No

what is the use of VIRTUAL OBJECTS? explain ?..

Answer / sandipgami84

Virtual Obj. Means.....
Application may contaion objects that behave like standard
objects but not recognize by QTP, u can define these
objects as a virtual objects and map them standard class.

Thanks,
Sandip,
099866 45937....

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More QTP Interview Questions

Hi friend I have query regarding QTP datatable. I want to insert data in datatable during runtime. suppose i wrote datatble.value(1) = "Test data" so when i run the script it says column(1) doesn't exist. Then i write something in column A1 manualy and run the script again. Now it works fine. Pls clarify how i can put value in blank cell of datatable.

10 Answers   Apex,


What is the condition or scenario that leads the use of object spy in qtp? (while recording we can get all the properties) then wat leads to use this?

2 Answers   iSoft,


We have 10 rows in datatable at runtime we get error at 3rd row ? what is the procedure for continuing same test from 4th row on wards?

10 Answers  


What is qtp window?

0 Answers  


Suppose U change the script whether it affect the object properties of the object in the object repository

4 Answers   IBM,


get the order no from the following orderdetails orderstring="ORD13456PNR" eg:13456

10 Answers   Oracle,


what is vmodel?advantages and disadvantages of vmodel?

3 Answers   AZTEC, scintel,


i have string "I LIKE INDIA"..how to i get LIKE from the sting..

6 Answers   HealthAsyst,


What are the features of quick test pro(qtp)?

0 Answers  


where the check points are stored ?

3 Answers   IBM,


What is Port testing. Whhen will you perform?

0 Answers  


How to test background color and dynamic images which are moving during runtime?

7 Answers   CTS,


Categories