Process Studio Windows Spy is used for Windows Application GUI plugin, to extract Windows applications element attributes.
Windows Spy is a compact toolbar and occupies minimum screen area so that one can spy on a Windows application with ease. Upon spying it opens a Generate Step Window that has two sections – Attributes table and Step Generation.
Following are the shortcut keys available for Windows Application GUI plugin.
Following are the best practices while selecting criteria for element detection
Following are Windows Spy workarounds,
1. If element index below snapshot is null/not working then in criteria select All.
- If while trying to detect an element it gives a red border user can design step by copying windows path and criteria values from a different configuration of the same step or another step where the element is detected with a blue border.
- In mouse click suppose there are limited Action in the drop down, you may copy the windows path and criteria value and manually create the step on the element with desired Action.
- In Mouse action In case drag drop is not working you may use the Set Value step.
- We cannot use Windows Action, on pop-up windows, instead we can use Mouse Action- Click, or Surface plugin– surface Click or robot handing.
- In case Get Table Data is not working you may use Get Value step in a loop to fetch the table data row by row.
You may start Windows Spy from Process Studio toolbar or else using Shortcut/Hot keys as discussed in the section above. This opens Spy that can generate any Windows Application GUI step.
Following ate the steps to generate a step,
It simply depends on type of action it supports. E.g. let say element detected is of type textbox. So it has step list – Element Action, Set Value, Get Value, Mouse Action. While for element of type checkbox step list is Element Action, Mouse Action.
Spy can be started from step dialog in most of the Windows App GUI plugin steps. In this section we will start Windows Spy from the plugin step.
Note: it is recommended to use windows Spy from Step to edit existing step rather than creating new similar step from other applications.