Astro RPA User Guide
  • Astro RPA
  • Astro Studio
    • Software requirements
    • Installation and startup
      • Install Chrome extension
      • Install Edge extension
      • Set up RDP
    • Getting started
      • Working with projects
      • Working with processes
      • Working with sequences
      • Working with workflows
      • Working with Code
      • Working with elements
    • Process execution and debugging
    • Testing
    • Script recording
    • Log
    • Variables and arguments
    • Search
      • Search patterns
    • Release control
    • Traffic record
    • UI inspector
    • SAP Inspector
    • Mobile devices
    • Studio settings
    • Panel management
    • Robot
      • Robot editions
    • RDP
    • Tools
      • Import
      • OCR pattern editor
      • Dialog designer
  • Elements
    • Base elements
      • Assistant
        • Show hint
      • Browser
        • Open browser
        • Attach browser
        • Text input
        • Element vanish
        • Close browser
        • Mouse click
        • Navigate
        • Get attribute
        • Get list
        • Get text
        • Element exists
        • Read table
        • Get image
        • Select item
        • Set focus
        • Anchor
      • Clipboard
        • Get from clipboard
        • Copy to clipboard
      • Collections
        • Add to array
        • Table to CSV
        • Table filter
      • Cryptography
        • Set Credentials
        • Get Credentials
        • Delete Credentials
      • Data
        • Date/time
          • Current date/time
          • Date diff
          • Date part
          • Date to string
          • Modify date
          • String to date
        • Archiving
          • Create archive
          • Extract archive
        • HTML
          • HTML to object
        • JSON
          • JSON to object
          • Object to JSON
        • Mapping
          • Create mapping
          • Update mapping
        • Strings
          • Cast to string
          • Get substring
          • Regular expression
          • Replace substring
          • Split string
          • String length
          • Substring exists
          • Trim string
        • XML
          • XML to object
          • XPath query
          • Object to XML
        • Data tables
          • Add column
          • Add row
          • Clean table
          • Create table
          • Merge tables
          • Remove column
          • Remove row
          • Sort table
      • Database
        • Connect
        • Execute query
      • Desktop
        • Activate window
        • Anchor
        • Attach application
        • Close application
        • Create desktop video
        • Drag and drop
        • Element exists
        • Element vanish
        • Get list
        • Get processes
        • Get text
        • Hot-key simulation
        • Kill application
        • Maximize window
        • Minimize window
        • Mouse click
        • Read table
        • Restore window
        • Select item
        • Set focus
        • Start application
        • Take screenshot
        • Text input
        • Type simulate
      • Dialogs
        • Add to log
        • Comment
        • Message box
        • Input dialog
        • Beep
        • Custom input
      • E-mail
        • Lotus Notes
          • Attach Lotus Notes
          • Delete mail
          • Move mail
          • Read mail
          • Send message
        • Move to folder (IMAP)
        • Receive mail (IMAP)
        • Receive mail POP3
        • Send message (SMTP)
      • File system
        • Append line
        • Write file
        • Copy file
        • Move file
        • File search
        • Create directory
        • Create file
        • File/folder exists
        • Delete file/folder
        • Read file
      • Flow control
        • If-Else
        • Switch
        • Try-Catch
        • Exit sequence
        • Break
        • Comment out
        • Throw
        • Wait
        • Parallel threads
        • Sequence
        • Assign
        • Continue
        • Process link
        • Do-While
        • ForEach
        • While
      • Google Sheets
        • Google Sheets document
        • Write range
        • Read range
      • Message queues
        • ActiveMQ
          • Send message
          • ActiveMQ
        • Kafka
          • Send message
          • Read messages
      • MS Excel
        • Run macro
        • Excel workbook
        • Cell input
        • Select range
        • Append range
        • Calculate formulas
        • Sort range
        • Get sheets
        • Save workbook
        • Delete range
        • Filter range
        • Read range
      • MS Outlook
        • Outlook
        • Close Outlook
        • Send message
        • Read address book
        • Read mail
      • MS Word
        • Add table row
        • Copy to clipboard
        • Delete text
        • Export document
        • Find text
        • Get text
        • Insert image
        • Insert table
        • Read table
        • Replace text
        • Save document
        • Select range
        • Text input
        • Word document
        • Write table cell
      • Network
        • FTP
          • Send to FTP
          • Download FTP file
          • List FTP files
        • Terminal server
          • Connect
          • Execute script
          • Disconnect
        • Web request
      • OCR
        • ABBYY FlexiCapture
          • FlexiCapture server
          • Process documents
        • Dbrain
          • Classify documents
          • Dbrain server
          • Process documents
        • Microsoft OCR
        • Tesseract OCR
        • Yandex Vision OCR
        • Image Vanish
        • Image click
        • Text click
        • Image exists
        • Text recognition
        • Validate document
      • Orchestrator
        • Assets
          • Get Asset
          • Get Credentials
          • Set Asset
          • Set Credentials
        • Process
        • Queues
          • Peek queue
          • Add to queue
      • PDF
        • Add watermark
        • Page count
        • Merge documents
        • Get image
        • Get text
      • Programming
        • C# Script
        • Invoke method
        • JavaScript
        • Python Script
        • Command prompt
        • Power Shell
      • SAP Front end
        • BAPI
          • BAPI connection
          • BAPI function
        • Attach SAP
        • Calendar
        • Check box
        • Combo box
        • Control exists
        • Get text
        • Mouse click
        • Open SAP
        • Radio button
        • Set focus
        • Tab strip
        • Table
        • Text input
        • Tree
      • Smart devices
        • Attach device
        • Press hot-key
        • Type text
        • Start application
        • Tap control
        • Get text
      • Testing
        • Get next local test data
        • Mock
        • Verify expression
        • Verify expression with operator
        • Verify output with operator
      • Workflow
        • Decision
        • Sequence
        • State
        • Workflow
  • Orchestrator
    • Monitoring
    • Automation
      • Tasks
    • Administration
      • Workers
      • Robots
      • Projects
      • Templates
      • Assets
      • Queues
    • Setting
      • Distribute
      • Journal
      • Users
      • Roles
      • Licenses
    • User settings
Powered by GitBook
On this page
  1. Astro Studio

Process execution and debugging

PreviousWorking with elementsNextTesting

Last updated 2 years ago

Before you start debugging you should choose desired robot edition: Standard or Enterprise in Studio main panel.

In order to execute a process, you should click the "Playback" button of the Process menu or the corresponding button of the Actions panel

To start debugging a process you should click the "Debug" button of the Process menu or the corresponding button of the Actions panel

You may also start debugging from any element. To do so just right-click the desired element and press "Execute from element" menu item

After pressing the button, an instance of the robot is launched, which will immediately execute the current process. The Console panel is available for viewing process messages.

There are the following buttons on the Console panel.

The console contains DEBUG, INFO, ERROR and NETWORK filters. These filters are responsible for collecting messages of the corresponding type.

The states of variables will be displayed in the Current value column of the Variables panel.

You can work with variables and expressions on the Observation panel (by functionality corresponding to the Watch panel of classic development environments).

To edit the calculated expression, you can either edit the text right in the table cell or open the editing window by double-clicking on the desired observation.

To debug either Standard or Enterprise robot edition choose the desired edition in Studio main menu

Follow the filling of the console: the console text will always focus on the last message received.

Clear the console: clears the console contents

The progress of a script is displayed with the following icon . This icon indicates an element that is being executed at a given moment.

To disable (ignore) an element at runtime, click the symbol in the header of the element. After this setting the element will not be executed during the script run.

The start of Debugging differs in that there is no stop at Breakpoint during startup. To set a breakpoint, click symbol in the header of the necessary element.

If a process reaches an element with a breakpoint during debugging, the process will be stopped until you press one of the following buttons: "Take a Step" or "Resume the Process" . These buttons are located in the Process menu and on the Actions panel. The "Take a Step" button allows moving to the next element, after which a process is stopped again. The "Resume the Process" button resumes the free execution of a process until the next breakpoint.

To force the completion of a process you should press the "Stop Debugging" button in the Process menu or the corresponding button of the Actions panel .

For easy viewing the current value you can clik the View button, then a window will be displayed to view the value in JSON format.

The table of the panel shows the calculated expression, the data type of the calculation result and the calculation result. To create a new observation, you should press the "Create an Observation" button and enter the text of the calculated expression in the appeared window.

To update the calculation results, press the "Update" button of the corresponding observation.

To delete an observation, you can select the observation in the table and either click the "Delete the Observation" button , or press the "Delete" key.