Wednesday 30 April 2014

UFT - QTP - What is Insight Recording


UFT introduced a new recording mode called Insight Recording which is a recording option available along with other recording ( Default, Analog, Low level)

UFT Insight recording recognizes controls based on their appearance, and not their native properties

This can be useful to test controls from an environment that UFT does not support or even from a remote computer running a non-Windows operating system.

When UFT runs the test or component, it recognizes the controls in the application by matching them to the images saved with each of the Insight test objects.

The Image below shows a sample of Insight Recording on Windows 7 Desktop over couple of Documents and folders.

Note : - Insight test objects are always created as children of the UFT test object that contains them. You can then move the InsightObject under a different parent object in the Object Repository.




Users can also change the Insight object image by clicking on the "change test object image" option present in OR object property





The following operation can be performed on Insight objects
Mouse operations like click, dblclick, drag, drop , Hover etc
GetTOProperty, GetROProperty, GetROProperties, SetTOProperty, waitproperty, ToString, Type etc

Users can also use the Exist property to check if the Insight Object exist

Regards,
Sreenu Babu

9 comments: