Relevant for: GUI tests and components
Use the Remote Object Spy when working with Web applications running in Safari on a Remote Mac computer. The object information and abilities provided by the Remote Object Spy are similar to those provided by the Object Spy.
Note: You perform some of the steps in UFT and some on the Mac computer. You can perform the Mac steps directly on the Mac computer or using a remote access program, such as Virtual Network Computing (VNC).
In UFT: Make sure that UFT is connected to a Remote Mac computer, using the Remote Connection button in UFT's toolbar.
On the Mac computer: Open Safari to the page containing the object on which you want to spy, and make sure that the relevant object is visible.
In UFT, make sure that a GUI test or action is in focus in the document pane or selected in the Solution Explorer.
In the toolbar, click the down arrow near the Object Spy button , and select the Remote Object Spy button.
|When you click the pointing hand in UFT...||
|While the Spy mode is active...||As you mouse over Web objects in Safari, the Object Spy highlights the object and displays the relevant Web element's class and html tag properties. Use this information to select the object on which you want to Spy.|
|When you click a Web object in Safari...||the Remote Object Spy captures its properties and hierarchy, and displays the information in UFT.|
Do any of the following:
|View test object properties||
Select the various radio buttons and tabs to view the details of the object's test object properties and operations and its native properties and operations.
|View properties of objects in the tree||Select other test objects currently displayed in the Object hierarchy tree, and view their properties, values, or operations.|
|Highlight an object||
Click Highlight in Application to highlight the object in Safari on the Mac.
UFT highlights only objects that are currently visible on the Mac computer.
|Add objects to an object repsitory||
Click Add to Repository to add the object currently selected in the Object hierarchy tree to the object repository.
Drag an object from the Object Spy directly into your test or component. UFT creates a step for the dragged object.
|Copy description properties||
Click Copy description properties to Clipboard to copy all of the properties and values for the object currently selected in the Object hierarchy tree. You can paste the copied data from the Clipboard into any document.