Process Studio Surface Spy is used to capture images/regions on the screen. This image can then be located based on a matching pattern specified. It is particularly useful on remote machines where we do not have any handle to the content and everything is an image or pattern.
Follow the Steps below to use Surface Spy.
Icon on Surface Spy |
Description |
On hovering over the icon it shows the name of the icon - Capture Image If you click on the drop down arrow it shows three options,
If you click on the Capture Image icon or select Capture now from the drop down list you see a + mouse pointer that can be used to outline any area on the screen.
If you select Capture in 3 Seconds from the drop down list you see a + mouse pointer after 3 seconds, that can be used to outline any area on the screen. This is useful if the area to outline is not on the screen immediately but you need to navigate to a desired screen.
If you select Capture in 10 Seconds from the drop down list you see a + mouse pointer after 10 seconds, that can be used to outline any area on the screen. This is useful if the area to outline is not on the screen immediately but you need more than seconds to navigate to a desired screen. |
|
On hovering over the icon it shows the name of the icon - Locate Images Once you outline an area using Capture Image the next step is to Locate Images. Clicking on Locate images icon searches for matching patterns(/images) based on the Matching Pattern selection from:
|
Table 2 : Surface Spy Generate Step Options
No. |
Option |
Description |
1 |
Action |
|
2 |
Click Type |
|
3 |
Value |
Specify a Value to be set on a region/image. |
4 |
Output field name (for Action Get Value) |
This field is active when Action chosen is Get Value. Provide a field name to hold the value retrieved from a region. |
5 |
Output field name (for Action Find Image) |
This field is active when Action chosen is Find Image. Provide a field name to hold a Boolean value(Y/N) indicating if the image was found or not. |
6 |
Position |
|
7 |
Image Index |
Image Index is retrieved once an image is clicked from the selected images. |
8 |
Timeout |
This is the Timeout for step execution. By default timeout is 5 seconds |
9 |
Match Pattern |
The Match Pattern Drop Down has the following options available.
|
10 |
Button: Generate |
Click Generate button to generate the step with the configurations above. |
Note: Click on an image to select and press Esc key to exit.
Note: Refer Project 8: Spy & Folder Surface Spy in AutomationEdge_Process_Studio_Getting_Started_Guide_R6.0.0 for a sample workflow using Surface Spy