Subscribe by Email


Wednesday, September 12, 2012

What are Virtual Objects in Quick Test Professional?


- The concept of the virtual objects in quick test professional comes in to light only when a failure in the identification of the object is encountered or some error is generated like “object not found”. 
- This happens because even after recording the actions during the time of play back, the quick test professional is experiencing some difficulties in the process of recognition of the object and this causes the whole script to fail. 
- A certain kind of object has been created in quick test professional in order to resolve the issues of the object recognition which has been termed as the “virtual objects”. 
- In some cases it happens that the quick test professional is unable to recognize the area of the object and therefore some other wizard is used for mapping the area of the object called the “virtual object wizard”. 
- All the virtual objects that are created during the course of object recognition are stored in the virtual object manager. 
- After the quick test professional has learned about the virtual object, it can record on the actual object very well. 
- A virtual object can be created easily by going to the tools menu, then selecting the virtual object list and then finally clicking on the new virtual object option. 
- Even though the virtual objects are very helpful there are some points about virtual objects to be noted:
  1. It is not possible to use the object spy on a virtual object.
  2. Only recording operation can be performed on virtual objects.
  3. You cannot treat labels and scroll bars as virtual objects.
- For disabling the virtual objects mode, simply go to the tools drop down list, and then go to options, then general, then check the option which says “disable recognition of virtual objects while recording”. 
- Using virtual objects is just one way of handling the issues of object recognition. The other two are:
  1. Analog recording and
  2. Low level recording.
- Basically, the virtual objects help in the recognition of the objects that do behave like standard objects but still cannot be identified by the quick test professional. 
- Such objects are mapped to standard classes with the help of virtual object mapping wizard. 
- The user actions on the virtual objects are emulated by the quick test professional during the run session. 
- The virtual object is portrayed as a standard class object in the test results. 
The virtual object wizard allows you to select the standard object class to which the object has to be mapped and then the boundaries of the virtual object can be marked with the help of the cross hair pointer. 
- After being done with this, a test object can be selected to be the parent of the virtual object. 
- The group of all virtual objects stored under one descriptive name is termed as the virtual objects collection. 
- While using the virtual objects during a run session always make sure that the size and location of the application window are exactly same as they were in the recording mode. 
- If it is not taken care of the coordinates of the virtual object may vary affecting the success of the whole run session. 
- Another point to be noted is that it is not possible to insert any check points on a virtual object. 
- For performing an operation on the active screen on a virtual object it is required that you first record it, save its properties in the description in the object repository. 


No comments:

Facebook activity