Self-Solve Knowledge Search

Minimize Maximize
How to switch between Simple Spy and Deep Spy of UIAutomation Add-in?
Title :
How to switch between Simple Spy and Deep Spy of UIAutomation Add-in?
Document ID :
KM02155079
Product - Version:
unified functional testing 12.52 ;
OS :
Updated :
Tue Sep 20 01:44:20 GMT 2016
Summary :
Switch between UIA Simple Spy or Deep Spy

Starting Unified Functional Testing (UFT) version 12.52, UIAutomation Add-in was included to support Microsoft UI Automation. There are two additional Spy-hierarchy capabilities:

  • Deep Spy - allowing browse through almost every UI object in the application
  • Simple Spy - featuring only key test objects

How to switch between them?

 

Solution

Currently there is no built-in method, only via registry method, per user:

  1. Go to Start menu, Select Run, then type "regedit" an press "Ok"
  2. Navigate to below path:

    [HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest Professional\MicTest\Packages\UIAPackage\Settings]
     
  3. Locate (and if not found, create) DWORD with name "UIASimpleSpy"
  4. Setup as below:
    • Deep Spy, use: 0
    • Simple Spy, use: 1