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

Object Spy

Top  Previous  Next

Purpose

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

 

Value

Many controls on UIs 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 Tools ribbon:
Spy Choose Library

There are four 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. 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 the Spy Dialog information.
2. Open the SeS Spy Dialog.  This can be done directly using the Spy button ses spy dialog, spy button in the main Rapise window's toolbar, or by pressing the RASpyButton 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 SeS 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 SeS Spy Diaog dialog, presenting all the available information for the object.

 

See Also

· See the SeS Spy Dialog for more details.