This page is maintained for older versions of Rapise only. The latest documentation can be found at: https://rapisedoc.inflectra.com
Object Spy

Purpose

The Object Spy allows you to inspect an object's properties and state.

 

Value

Many controls on User Interfaces are compound objects or there may be many instances of a similar object.  To be sure to select precisely the correct object, or to select the correct object from a collection of similar objects, the object's properties can be used to further identify the correct instance.

 

Usage

To spy on an Object:

1.

Choose the type of Object Spy that you want to use.   This can be done by clicking the down-arrow next to the Spy icon in the Test ribbon (Record and Execute tab):

spy_choose_library

There are five types of Spy available:

1.Accessible - This is used to inspect applications that expose their properties using the Microsoft Active Accessibility (MSAA) technology. This is typically used by applications written in MFC, ATL, Qt, C++ and Visual Basic.

2.Java Object - This is used to inspect applications written using the Java AWT and Swing UI frameworks.

3.Managed Object - This is used to inspect applications written in .NET 1.1, .NET 2.0, .NET 4.0 using Microsoft Windows Forms.

4.Mobile Object - This is used to inspect mobile applications running on iOS or Android devices as well as the iOS or Android simulator

5.UIAutomation Object - This is used to inspect applications that expose their properties using the Microsoft's newer UIAutomation technology. This is typically used by applications written in WPF, Silverlight and Java SWT.

For more details on each Spy type, refer to specific topic above or view the Spy Dialog help topic.

2.

Open the Object Spy Dialog.  This can be done directly using the Spy button in the main Rapise test ribbon, or by pressing the Spy button in the Recording Activity dialog during recording or learning.

3.

Press the Start Tracking button (or type CTRL+G).

4.

As you mouse over different objects, you will see the contents of the Object Spy dialog change as it collects information about the object.

5.

Mouse over the object you wish to spy on and press CTRL+G.  The reduced-size tracking dialog will be expanded into the the larger Object Spy Diaog dialog, presenting all the available information for the object.

 

See Also

See the Object Spy Dialog for more details.