Facebook

For any corporate training requirements Please mail To sudhakar@qtpsudhakar.com
New Schedule in MindQ Systems, Madhapur By SUDHAKAR
Course Name Date Time Duration Type Branch
Selenium+Appium 16th October 2017 7.30 AM - 9.00 AM IST 45 Days ClassRoom + Online Mind Q Madhapur
Selenium+Appium 30th October 2017 9.30 AM - 11.00 AM IST 45 Days ClassRoom + Online Mind Q Madhapur

A book "Cracking the QTP interview" authored by Sudhakar.Read More. Buy From FlipKart

Sunday, March 25, 2012

Virtual Objects in QTP


What is Virtual Object?
 A virtual object is defined by user in QuickTest to recognize any area of your application as an object. Virtual objects enable you to record and run tests on objects that are not normally recognized by QuickTest.
 What is virtual Object Collection?
 A virtual object collection is a group of virtual objects that is stored in the Virtual Object Manager under a descriptive name.
 How to disable virtual Objects while recording?
 Go to Tools-->Options--> General Tab--> Disable Recognition of virtual objects while recording
Check and uncheck this option to disable or enable virtual objects while recording.
 What is the storage location of Virtual Objects?
 If you create any virtual objects automatically those objects will be stored in
QuickTest installation folder\ dat \ VoTemplate
 What is extension of virtual objects file?
 .VOT
 How to use virtual objects on different machines?
 After creation of virtual objects copy QuickTest installation folder\ dat \ VoTemplate Folder to other machines on which you want to use virtual objects.
 What are the limitations and drawbacks of Virtual Objects? 
·         QuickTest does not support virtual objects for analog or low-level recording.
·         Not possible to apply a checkpoint on a virtual object
·         Only by recording we can add virtual objects
·         Not possible to add virtual objects using Object Repository
·         Not possible to spy on a virtual object using object spy
·         Virtual Objects doesn’t support all objects and methods.
·         May not run perfectly on different screen resolutions if a test using Virtual Objects.
·         Virtual object uses the properties Name, Height, Width, X, Y which the properties are having maximum possibilities for frequent change.

4 comments :

  1. Thank you Sudhakar garu......

    ReplyDelete
  2. Your application may contain objects that behave like standard objects but are not recognized by QTP. You can define these objects as virtual objects and map them to standard classes, such as a button or a check box. QTP emulates the user's action on the virtual object during the run session. In the test results, the virtual object is displayed as though it is a standard class object

    ReplyDelete
  3. Hi Sir, This is my application descriptive coding:

    VbWindow("vbname:=frmInventory").VbWindow("vbname:=frmVATCalculation").ActiveX("acx_name:=SSTab").ActiveX("acx_name:=FarPoint DoubleSingle Control").Type"200"
    VbWindow("vbname:=frmInventory").VbWindow("vbname:=frmVATCalculation").ActiveX("acx_name:=SSTab").ActiveX("acx_name:=FarPoint DoubleSingle Control").Type"150"
    VbWindow("vbname:=frmInventory").VbWindow("vbname:=frmVATCalculation").ActiveX("acx_name:=SSTab").ActiveX("acx_name:=FarPoint DoubleSingle Control").Type"10"

    1.This code can be repeated for more than 3 to 4 time, So i can't able to find the unique object in these
    2.Please give the solution to add unique object in descriptive methods

    ReplyDelete
    Replies
    1. refer youtube link: qtp virtual objects by free open mentor.I think this youtube video will help

      Delete