Desktop Automation Editor
The Desktop Automation Editor contains the following windows. You can undock and move any of the editor's windows to make editing more convenient.
- Automation Workflow: Contains a
workflow of steps as well as
variables,
expressions, and
tree mode settings. Buttons at the top of
this window help you navigate the steps of the workflow. You can go forward in the workflow using the Start Execution, Step Into,
Step Over, and Step Out buttons; you can also pause or reset the execution of the robot. To select several steps, hold the Crtl key
and click the steps.
Button
Description
Start Execution
Starts executing the Workflow from the current program point.
Pause
Pauses Automation Workflow execution.
Step Into
Executes to the next program point. In case the next program point is inside a collapsed step, this step will be expanded. This is essentially related to single stepping case.
Step Over
Executes the step immediately following current program point. If there is no such a step, it executes to the next program point.
Step Out
Executes to the program point immediately following the step containing the current program point.
Go to Next Iteration
Enabled when the current program point is inside a Loop step. Press the button to execute until the same program point is reached again. The loop can be executed more than once if the program point is skipped in some iterations. If there are no more iterations, the execution stops at the program point outside the Loop step.
Reset
Resets the execution of the Desktop Automation Workflow.
Copy
Copies a selected element or elements of the Workflow to the clipboard. For example, several steps or a finder.
Cut
Cuts selected steps.
Paste
Pastes the content of the clipboard into the Workflow at the selected element. For example, a program point or a finder.
Delete
Deletes selected steps.
Click the plus and minus signs to open and close elements in the Automation Workflow view.
Button
Description
Collapse
Collapses all steps and other elements in the Automation Workflow pane.
Expand
Expands all steps and other elements in the Automation Workflow pane.
Collapse all but selection
Collapses all steps and other elements except the selected ones.
Newly inserted steps are not executed unless you click Step Into or Step Over in the Automation Workflow view.
- Zoom in the Automation Workflow View
-
For your convenience, you can zoom in and out in the Automation Workflow view the same way you zoom in a web browser.
-
To zoom in use: Ctrl and + or Ctrl + mouse wheel scroll up
-
To zoom out use: Ctrl and – or Ctrl + mouse wheel scroll down
-
- Recorder View: Shows tabs with open
application windows and a widget tree with available elements. You can select elements in the interface or select images and insert
steps by right-clicking the selected element or image. The bottom part of the Recorder view shows the coordinates of the mouse
relative to the top left corner of the application window as well as the live streaming status of the device state.
When you select an element in the view, along with the window coordinates, it shows the coordinates relative to the top left corner of the selected element as well as the path to the element in the bottom bar.
Note Sometimes it is not possible to select cell elements in tables in the application view. You can select cell elements in the widget tree and add step actions from the tree view.You can zoom in and out in the Recorder View either by selecting a zoom level in the toolbar or the same way you zoom in a web browser.
-
To zoom in use: Ctrl + mouse wheel scroll up
-
To zoom out use: Ctrl + mouse wheel scroll down
Button
Description
Pauses or resumes live streaming of the device state. Click to pause or resume streaming in the Recorder view.
When streaming is active, the following is shown under the Recorder view:
.
When streaming is paused, the following is shown under the Recorder view:
.
Create finder for selection
Replaces the selected in the Automation Workflow view finder with a finder that matches the selection in the Recorder View.
Show next location found
Shows the next element that matches the finder. The button's tooltip also provides the number of matched elements.
Select Next Node Matching Click
Moves selection to the next node that matches the selection in the Recorder View.
Toggle between Simple and Nine Grid Image Finder
Changes image selection from simple to nine-grid and back.
Select zoom level
Zooms in and out in the Recorder View.
Select Parent Node
Changes selection to the node, which is parent to the selected one.
Select First Child Node
Selects the first child node of the selected one.
Select Previous Sibling Node
Selects the previous node located on the same level in the application tree.
Select Next Sibling Node
Selects the next node located on the same level in the application tree.
Immediately executes and streams newly added action steps. When enabled, the circle on the button is red.
Prior to adding a step or a number of steps, click this button. If a step opens a new application or a dialog, a respective tab appears in the stream view and becomes the active tab. To stop automatic execution, click this button again.
-
-
Workflow State view: Shows state of the workflow execution, such as variable
values. When
Kapow
detects that a binary variable contains an image, the image is displayed in the view.
Kapow
detects GIF, JPEG, BMP, TIFF and PNG images. The image tooltip shows the MIME type of the image and its size (width and
height).
- Output Log: Contains workflow execution messages.
Editor Procedures
- Save and Revert Changes
- When you click Save in the Desktop Automation Editor, you save the entire robot and not only the Desktop Automation Workflow. When you click Close in the Desktop Automation Editor, the editor closes and the edited workflow is saved in the Desktop Automation step action. If you want to cancel the editing of the workflow, click Close and then click Undo (Ctrl-Z) in the robot editor.