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

SeS Spy Dialog

Top  Previous  Next

Screenshot

ses spy dialog

 

Purpose

The SeS Spy dialog is used to Object Spy.

 

How to Open

There are three ways to open the SeS Spy dialog:

1. Press the Spy Button on the Ribbon (Test tab > Tools menu)

ses spy dialog, spy button

2. Press the Spy Button on the Recording Activity Dialog
3. Press the Pick Object button on the Recording Activity Dialog.  Note: If you use this method, the dialog has an extra Learn Selected button.

Choosing the type of Spy

You can change the type of Spy that will be launched by clicking on the down arrow to the right of the Spy icon in the main application 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.

Start Tracking

The Start Tracking button (or CTRL+G) causes Rapise to enter Tracking Mode. In Tracking Mode, Rapise investigates the object under your mouse.  It identifies the object's type and learns the object's properties.  As you move your mouse, the objects you point to are highlighted (a box is drawn around them).

 

Stop Tracking

The Stop Tracking button is only visible in Tracking Mode.  Press Stop Tracking (or CTRL+G) to exit Tracking Mode.  The SeS Spy dialog will display information for the last object highlighted.

 

Maximize/Minimize buttons

The maximize ses spy dialog, maximize button and minimize ses spy dialog, minimize button buttons control the appearance of the dialog.  They either hide or make visible the sections to their right or below.  See the example below.  The button highlighted in yellow in the left image is pressed to get the image on the right.  Changes are surrounded with a red box.

ses spy dialog, maximize demonstrationses spy dialog, maximize demonstration1

 

Accessible Object

ses spy dialog, accessible object

The Accessible Object section of the SeS Spy dialog shows properties of the object that are visible through the Microsoft Active Accessibility interface.

 

Tree

The spied upon object and its children are displayed here.

 

Properties

Object fields and field values are displayed here.

 

Tools

· Mouse Button Click: Emulate Left mouse click for the item selected in Spy tree.
· Default Action: Execute DoDefaultAction for given accessible object.
· Set Selection: Perform accSelect using the option flags set in the corresponding checklist (above).

Java Object

Spy Dialog, Java Object

The Java Object section of the SeS Spy dialog shows properties of the object that are visible through the Java Access Bridge interface.

 

Tree

The spied upon object and its children are displayed here.

 

Properties

Object fields and field values are displayed here.

 

 

Managed Object

Spy Dialog, Managed Object

The Managed Object section of the SeS Spy dialog shows properties of the object that are visible through .NET Framework reflection interface.

 

Tree

The spied upon object and its children are displayed here.

 

Properties

Object fields and field values are displayed here.

 

 

UIAutomation Object

Spy Dialog, UIAutomation Object

The UIAutomation Object section of the SeS Spy dialog shows properties of the object that are visible through the UIAutomation interface.

 

Tree

The spied upon object and its children are displayed here.

 

Properties

Object fields and field values are displayed here.

 

 

HWND Object

ses spy dialog, hwnd object

The HWND Object section of the SeS Spy dialog shows properties of the object that are visible with its HWND handle.

 

Tree

The spied upon object and its children are displayed here.

 

Properties

Object fields and field values are displayed here.

 

Tools

· Mouse Button Click: Emulate Left mouse click for the item selected in Spy tree.
· Highlight: Draw rectangle surrounding selected object (HWND or Accessible).
· Monitor Events opens the Accessible Events Dialog.

 

See Also

· Microsoft Active Accessibility is described here http://msdn.microsoft.com/en-us/magazine/cc301312.aspx
· HWND is described HERE.
· Microsoft UIAutomation is described here http://support.microsoft.com/kb/971513/