what is the use of VIRTUAL OBJECTS? explain ?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

2469


How to use descriptive programming?

616


Should have experience in framework means?

1419


how do u plan test automation?

1445


Why qtp always start action1 and does not start action?

605






how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1450


How did you use regular expressions in QTP and also in WR?

2166


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

2801


whare exactly we have to use functions and sub routain

1846


unique properties of button,edit box, radio button,check box?

3828


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1647


How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

2574


Can we Test Welcome Screens and Process Images with QTP

1431


What is expert view and keyword view?

625


What is the basic concept of qtp?

580