Activities and Where to Use Them
Application Activities
|
Activity |
Description |
Technology Required |
Properties |
|---|---|---|---|
|
Start |
Starts an application. |
Application - The name of application to start. Filename - The full path where the executable file of the application to be opened can be found. Optional. Arguments - The parameters that can be passed to the application at startup. Optional. Wait starting - If true (in other words, if the option is ticked), wait until the application is started. |
|
|
Close |
Closes a running application |
Application - The name of the application to close. Wait closing - If true (in other words, if the option is ticked), wait until this application is terminated. |
|
|
Connect |
Connects a session to HLLAPI application. |
HLLAPI |
Application - The name of application to connect at HLLAPI session Session - The session identifier to use for connection. This must have been declared previously in HLLAPI emulator. |
|
Disconnect |
Disconnects a HLLAPI application. |
HLLAPI |
Application - The name of the application to disconnect. |
|
Highlight |
Highlights all detected items in active pages of an application. |
Win, Web, JavaSwing, UI automation, OCR. |
Application - The name of application to use for this action. Duration - The highlight duration of detected items in milliseconds. If 0 (zero), items remain highlighted. |
Credentials
|
Activity |
Description |
Properties |
|---|---|---|
|
Declare |
Declares a credential |
Credential name Comment Storage: local (false) or server (true) |
|
Get |
Retrieves credential login and password |
Credential name |
|
Set |
Sets credential login and password |
Credential name |
Event Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Notify |
Sends a functional event to itself or another application or page. |
Event - enter a new event name or select an existing one from the list. Sender - name of application or process which sends the functional event.
Data sent with the event - this is an 'expression'. Use:
|
|
Wait for |
Sets an event handler to wait for a functional event. |
Event - name of the functional event to wait for. |
Excel Lib Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
End Excel |
Closes the program. |
|
|
Initialize Excel |
Initializes the Excel library in different modes. |
New instance - if true, the software initializes Excel with a new instance. Visible - if true, the software initializes Excel in visible mode. Display alerts - is true, the software initializes Excel in Display Alerts mode. |
|
Release Excel |
Data
|
Activity |
Description |
Properties |
|---|---|---|
|
Get one value |
Gets one value from a cell. |
Row - the row number. Column - the column number. Variable - name of the context variable to store the value in. |
|
Set one value |
Sets one value in a cell. |
Row - the row number. Column - the column number. Value - the value to set. |
|
Get values |
Gets values from a range of cells in the active worksheet. |
Start column - the starting column, such as A (the limit is “XFD” or 16384). Start row - the starting row, such as 2. Last column - the final column in the range, example: G Last row- the final row in the range, example:. 10. Default value - the default value to put in undefined cells (this is "undefined" by default). Variable- name of the context variable to store the formulas in. |
|
Set values |
Sets values in a range. |
Start column - the starting column, such as A. Start row - the starting row, such as 1. Data - the data to set in the cells. Use keys as headers - if true, add the keys as table headers headers. |
File
|
Activity |
Description |
Properties |
|---|---|---|
|
Close Excel file |
||
|
Create new Excel file |
||
|
Open Existing Excel file |
Excel filename - the full path and name of the Excel file. |
|
|
Save Excel file |
||
|
Save as Excel |
Excel filename - the full path and name of the Excel file. |
Formatting
|
Activity |
Description |
Properties |
|---|---|---|
|
Format background color |
Changes the background color of a range of cells. |
Range definition - string that represents the range, such as “A;5;G;67” or “1;5;7;67” or “A5:G67” for a range, or A; 8 or 1;8 or A8 for a single cell. Font color - color to apply as an array RGB. The collection e.color.rgb can be used to select predefined colors. |
|
Format bold |
Formats the text of a range of cells as bold, or removes bold format. |
Range definition - string that represents the range, such as “A;5;G;67” or “1;5;7;67” or “A5:G67” for a range, or A;8 or 1;8 or A8 for a single cell. Activate bold - true to activate bold. false to remove it. |
|
Format font color |
Changes the font color of a range of cells. |
Range definition - string that represents the range, such as “A;5;G;67” or “1;5;7;67” or “A5:G67” for a range, or A;8 or 1;8 or A8 for a single cell. Font color- color to apply as an array RGB. The collection e.color.rgb can be used to select predefined colors. |
|
Format font size |
Changes the font size of a range of cells. |
Range definition - string that represents the range, such as “A;5;G;67” or “1;5;7;67” or “A5:G67” for a range, or A;8 or 1;8 or A8 for a single cell. Font Size - the font size to apply. This must be a positive integer. |
|
Format italic |
Formats the text of a range of cells as italic, or removes italic format. |
Range definition - string that represents the range, such as “A;5;G;67” or “1;5;7;67” or “A5:G67” for a range, or A;8 or 1;8 or A8 for a single cell. Activate italic - true to activate italic. false to remove it. |
Formulas
|
Activity |
Description |
Properties |
|---|---|---|
|
Get formulas |
Gets formulas from a range of cells. |
Start column - the starting column, such as A (the limit is “XFD” or 16384). Start row - the starting row, such as 2. Last column - the final column in the range, example: G Last row - the final row in the range, example: 10. Default value or formula for undefined cells - this is "undefined" by default. Variable- name of the context variable to store the formulas in. |
Workbook
|
Activity |
Description |
Properties |
|---|---|---|
|
Use a specific workbook (already opened) |
Excel workbook |
Worksheet
|
Activity |
Description |
Properties |
|---|---|---|
|
Activate worksheet |
Activates an Excel worksheet from the active workbook. |
Excel worksheet - the name of the worksheet. |
|
Add new worksheet |
Adds a new Excel worksheet to the active workbook. |
Excel worksheet - the name of the worksheet. |
Factory API Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Add job |
Adds a job to the Factory server. |
Application - the name of application that contains the scenario to add to the job manager. Scenario - the name of the scenario. Job data - data to use for scenario execution and that will be associated with the job. Priority - the priority of the job. Notification - send a notification when the job is executed. |
|
Add job List |
Adds a job list to the Factory server. |
Application - the name of application that contains the scenario to add to the job manager. Scenario - the name of the scenario. Job list - the job list to be added. Priority - the priority of the jobs. |
|
Get job |
Gets a job from the job manager. |
Criteria - the criteria used to search for jobs. |
|
Get job list |
Gets a job list from the Factory server. |
Job data source Max job count |
|
Get/run job |
Gets, runs, and updates a job in the job manager. |
Criteria - the criteria used to search for jobs. |
File and Folder Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Advanced FSO |
Indicates briefly and clearly in this activity's title field the aim of this advanced manipulation required in file system. Describes in detail in this activity's description field the advanced manipulation of files and folders that required custom code based on FSO library. No running code is generated by this activity. Only an empty code block is inserted to be filled by the developer later (to realize effectively the required actions in the file system at this step). Additional and more advanced functions for manipulating files and folders are available in the FSO library. |
Available functions - All available functions for manipulating files and folders with FSO library. |
|
Download file |
Downloads a file from a web or network URL. |
Source URL- the URL of the source file to download. local path - the local destination file name. |
|
Delete file |
Permanently erases a file |
File - full path name to the file to be deleted. Use double backslashes (\\), for example: C:\\myFolder\\SubFolder\\myFile.ext |
|
Read CSV |
Reads all entries from a specified CSV (comma-separated values) file. |
Source file - the name of the source file to read with its absolute path. Encoding - the encoding of the source file: UTF-8, UTF-16, ASCII, Binary. Separator - Specifies the character used as field separator in the source file: '\t', ',', ';', and so on Target data- the name of the variable in which to store the reading result. |
|
Read JSON |
Reads the content of a JSON (JavaScript Object Notation) file. |
Source file - the name of the source file to read, along with its absolute path. Encoding - the encoding of the source file: UTF-8, UTF-16, ASCII, Binary. Target data- the name of the variable in which to store the reading result. |
|
Read text |
Reads the content of a text file. |
Source file- the name of the source file to read, along with its absolute path. Encoding - the encoding of the source file: UTF-8, UTF-16, ASCII, Binary. Target data- the name of the variable in which to store the reading result. |
|
Read XML |
Reads the content of a XML (eXtensible Markup Language) file. |
Source file- the name of the source file to read, along with its absolute path. Encoding - the encoding of the source file: UTF-8, UTF-16, ASCII, Binary. Target data- the name of the variable in which to store the reading result. |
|
Write CSV |
Writes a CSV (comma-separated values) file. |
Source file- the name of the source file to read, along with its absolute path. Target file- the name of the target file to store data, along with its absolute path and its extension. Separator - Specifies the character to use as field separator in the target file: '\t', ',', ';', … Encoding - the encoding of the source file: UTF-8, UTF-16, ASCII, Binary. |
|
Write JSON |
Writes a JSON (JavaScript Object Notation) file. |
Source data- the name of the variable which contains data to store in JSON (JavaScript Object Notation) file. Target file- the name of the target file to store data with its absolute path and its extension. Encoding - the encoding of the target file: UTF-8, UTF-16, ASCII, Binary. |
|
Write text |
Writes a text file. |
Source data- the name of the variable which contains data to store in the text file. Target file- the name of the target file to store data with its absolute path and its extension. Encoding - the encoding of the target file: UTF-8, UTF-16, ASCII, Binary. |
|
Write XML |
Writes an XML (eXtensible Markup Language) file. |
Source data- the name of the variable containing data to store in the XML (eXtensible Markup Language) Tab separator- Specifies the character to use as tabulation separator: '', '\t', ' ', … Target file- the name of the target file to store data with its absolute path and its extension. Encoding - the character encoding of the target file: UTF-8, UTF-16, ASCII, Binary. |
|
Create folder |
Creates a new empty folder. This action can be used to create multiple levels of new subfolders, such as C:\\NewParentFolder\\SubFolder1\\SubFolder2, etc. In other words, an entire new folder structure (tree) can be created in a single action; it is not necessary to create each folder separately. |
Folder - the full path of folder structure to be created. The '\' character must be duplicated. For example: C:\\NewFolder\\SubFolder1 |
Flow Activities
Flow
|
Activity |
Description |
Properties |
|---|---|---|
|
No end step |
Prevents the current step from ending. |
|
|
Output |
The output value. |
Output value - the internal name of output of this step. |
|
Sequence |
A sequence of actions. |
|
|
Reuse step |
Reuse step or steps. |
Flow-If
|
Activity |
Description |
Properties |
|---|---|---|
|
If (else) |
Executes a block of code following an IF action that evaluated to false. |
|
|
If (start) |
Conditionally executes a block of actions if the specified check of an expression evaluates to TRUE. |
Condition - This is an 'expression'. Use:
|
Flow- Loop
|
Activity |
Description |
Properties |
|---|---|---|
|
Start |
Starting instruction for a loop. |
|
|
Exit |
Test block to exit from a loop. |
Exit condition - This is an 'expression' to evaluate whether or not to leave the loop. Use:
|
|
Loop |
Loops to the Start block. |
Flow - Wait
|
Activity |
Description |
Properties |
|---|---|---|
|
Delay |
Delays execution for some milliseconds. This is the standard pause that should be used in normal situations. It simply pauses the execution of the script for the indicated duration. It permits user interaction with Desktop Agent and other programs for the duration of the pause. This can be useful for waiting for a process to complete, to avoid going too fast for the operating system, or to give the user time to react. |
Delay - the number of milliseconds to wait before executing the code. |
|
Timer |
Sets a timer that executes specified actions once after the timer expires. |
Delay - the number of milliseconds to wait before executing the code. |
|
Wait semaphore |
Waits for a semaphore |
Semaphore - name of the previously declared semaphore. |
|
Wait until |
Waits until a test condition evaluates to true. |
Condition - expression evaluated every 250 milliseconds, within the limit of 20 attempts. If condition evaluates to false, polling is repeated. If the condition evaluates to true, control passes to the following statement. Use:
|
Item - Click Activities
|
Activity |
Description |
Technology Required |
Properties |
|---|---|---|---|
|
Click |
Clicks an item. |
Item - name of item to use for this action. |
|
|
Mouse-click |
Simulates a mouse click on an item. |
Win, Web, JavaSwing, UI automation, OCR, Flex. |
Item - name of item to use for this action. X-coordinate - horizontal position (relative to item top left position). Y-coordinate - vertical position (relative to item top left position). |
Item - Get Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Get |
Gets the content on an item. |
Item - name of the item to use for this action.
Where to store result - this is an 'expression'. Use:
Test item's existence |
|
Get table |
Gets the content of a table item. |
Item - name of the item to use for this action. Data - data used for storage. |
Item - Set Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Keystroke |
Sets the content on an item (keystroke). |
Item - name of the item to use for this action.
Source data - this is an 'expression'. Use:
|
|
Select |
Selects a value in the content of the item. |
Item - the name of the item to use for this action. Select (check) or unselect (uncheck) |
|
Set focus |
Sets the focus on an item. |
Item - name of the item to focus.
Source data - this is an 'expression'. Use:
Test item's existence |
|
Set |
Set the content of an item. |
Item - name of the item to fill with data. |
|
Set table |
Sets data in a table. |
Item - name of the item to fill with data. Data |
Item - Wait Activities
|
Activity |
Description |
Technology Required |
Properties |
|---|---|---|---|
|
Wait change |
Waits until the content of an item changes |
Item - name of item to use for this action |
|
|
Wait click |
Waits until the end user clicks an item |
Item - name of item to use for this action |
|
|
Wait exist |
Waits by polling until an item exists. |
Item - name of item to use for this action Interval - the intervals (in milliseconds) in which to check item existence |
|
|
Wait focus |
Waits until an item gets the focus |
Item - name of item to use for this action |
|
|
Wait command |
Key Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Declare |
Declares a ciphering key. |
Key name Key type (container or certificate) Key usage (encryption or signature) Comment Storage -local (false) or server (true) |
Outlook Lib Activities
Account
|
Activity |
Description |
Properties |
|---|---|---|
|
Enumerate accounts |
Enumerate the accounts of the current Outlook instance |
Variable- name of the context variable to store the retrieved information in. |
Appointment
|
Activity |
Description |
Properties |
|---|---|---|
|
Accept appointment |
||
|
Create appointment |
The generated appointment item will be set as current appointment in the 'appointment context' afterwards if the property updateContext is set to true |
Subject - subject of the appointment Body - body of the appointment. To start a new line use \r\n. Location - location of the appointment Start date time - date and time to start the appointment. The format may be language- or region-specific. Duration - duration of the appointment in minutes. ENtereither Start date time and duration, or Start date time and End date time. End date time - date and time to end the appointment. Enter either Start date time and duration, or Start date time and End date time. The format may be language- or region-specific. Importance - importance of the appointment. Busy status - busy status of the appointment. Category - category to use for the appointment. Sensitivity - sensitivity to use for the appointment. Display only - display the appointment but don't send it. Use it only for attended scenarios. Update context - if true, the 'appointment context' is automatically updated with the new appointment that is going to be created. No search is necessary to work with it. |
|
Decline appointment |
||
|
Delete appointment |
Delete the current appointment defined in the appointment context. |
|
|
Forward appointment |
Forward the current context appointment. |
"To” recipients - recipients must be separated by semicolons, such as “email1@factory.com; email2@factory.com; email3@factory.com”. If you are using Active Directory, “FirstName1 LastName1; FirstName2 LastName2; FirstName3 LastName3” can be used instead of the email addresses. “Cc” Recipients - recipients must be separated by semicolons. If you are using Active Directory, “FirstName4 LastName4; FirstName5 LastName5” can be used instead of the email addresses. “Bcc” Recipients - recipients must be separated by semicolons. If you are using Active Directory, “FirstName6 LastName6” can be used instead of the email addresses. Display only - display the forwarded email but don't send it. Use it only for attended scenario. |
|
Get status |
Gets the status of the current context appointment. |
Variable- name of the context variable to store the retrieved information in. |
|
Update appointment |
Updates the current context appointment. |
Subject - subject line of the appointment. Body - body of the appointment message. To start a new line use \r\n. Location - location of the appointment Start date time - start date and time. The format may be language- or region-specific. Duration - duration of the appointment in minutes. Fill either Start date time and duration or Start date time and End date time. End date time - date and time to end the appointment. Fill either Start date time and duration or Start date time and End date time. The format may be language- or region-specific. Importance - importance of the appointment. Busy status - busy status of the appointment. Ccategory - category to use for the appointment. Sensitivity - sensitivity to use for the appointment. |
|
Create meeting |
Creates a meeting. |
Subject - subject line of the appointment. Body - body of the appointment message. To start a new line use \r\n. Location - location of the appointment Start date time - start date and time. The format may be language- or region-specific. Duration - duration of the appointment in minutes. Fill either Start date time and duration or Start date time and End date time. End date time - date and time to end the appointment. Fill either Start date time and duration or Start date time and End date time. The format may be language- or region-specific. Required attendees Optional attendees Resources Importance - importance of the appointment. Organizer Busy status - busy status of the appointment. Reminder set- true to activate a reminder, false to not activate it. Reminder minutes before start - define minutes to configure the reminder. Category - category to use for the appointment. Sensitivity - sensitivity to use for the appointment. Display only - display the appointment but don't send it. Use it only for attended scenarios. |
Context
|
Activity |
Description |
Properties |
|---|---|---|
|
Appointment context filter |
Perform a selection of appointments which can be used later to work on the items |
Start after specific date - write a date/time information to indicate that the appointment must start after a specific date. Note that this parameter depends on the language and region. English: “12/25/20 4:30:00 PM”, French=“25/12/20 16:30:00”. End before specific date - write a date/time information to indicate that the appointment must end before a specific date. Note that the value depends on the language and regionf. Subject contains - write one or a sequence of words and if they are find in the appointments subject, the appointments will be selected Subject equal to - write a sequence of words and if this exact sequence is find in the appointments subject, the appointments will be selected. Duration higher than - duration from which the appointments will be selected. Duration lower than - duration below which the appointments will be selected. Include recurrent - include the recurrent emails in the filtering. |
|
Does current appointment exist? |
Returns true of the current context appointment is existing, false otherwise. |
Variable- name of the context variable to use for this action. |
|
Select first appointment |
Defines the current appointment as the first appointment of the filtered appointments. |
|
|
Select last appointment |
Defines the current appointment as the last appointment of the filtered appointments. |
|
|
Select next appointment |
Defines the current appointment as the next appointment according to the current appointment and the filtered appointments. |
|
|
Select previous appointment |
Defines the current appointment as the previous appointment according to the current appointment and the filtered appointments |
Helper
|
Activity |
Description |
Properties |
|---|---|---|
|
Get information from time slot |
Get appointments information from time slot. |
Start date time - date and time to start the appointment. Note that the value depends on the language and region. English=“12/25/20 4:30:00 PM”, French=“25/12/20 16:30:00”, and so on. End date time - date and time to end the appointment. Note that the value depends on the language and region. English=“12/25/20 4:30:00 PM”, French=“25/12/20 16:30:00”, and so on. Variable - name of the context variable to store the retrieved information in. |
Store
|
Activity |
Description |
Properties |
|---|---|---|
|
Enumerate stores |
Enumerates the stores of the current Outlook instance. |
Variable- name of the context variable to store the result in. |
Page Activities
|
Activity |
Description |
Technology Required |
Properties |
|---|---|---|---|
|
Close |
Closes a page of an application. |
Page - name of the page of the application to close. |
|
|
Get items |
Gets values of all items on a page. |
Page - name of the page to use for this action.
Where to store result - Values should be stored in an object. Use:
|
|
|
Highlight |
Highlights all detected items in a page of an application. |
Win, Web, JavaSwing, UI automation, OCR, Flex. |
Page - name of the page of the application to use for this action. Duration - highlight duration of detected items in milliseconds. If 0 (zero), items remain highlighted. |
|
Keystroke |
Sends a keys sequence on a page. |
Page
Keys sequence - this is an 'expression'. Use:
|
|
|
Screenshot |
Takes a screenshot of a page of an application. |
Page - name of the target page to take a screenshot of. The captured image file is named YYYYMMDD_HHMMSS_MS.png and is stored in the .\log\Pictures folder of the current project. |
|
|
Start |
Starts a page of an application. |
Page - name of the page of the application to start. |
|
|
Wait close |
Waits until a page of an application is closed. |
Page - name of the page to use for this action. |
Popup Activities
Popup activities allow interaction with the user. This can be used for displaying informational messages or prompting the end user for input. This input can be used during the execution of the scenario, such as asking for a number of loops, for a file name, or to take alternative action based on their response.
|
Activity |
Description |
Technology Required |
Properties |
|---|---|---|---|
|
MsgBox |
Displays a message box. If the “Wait closing” option is ticked, waits until the end user closes it. |
Name - Unique name of the popup to create and to display. Title - Title of the popup to create and to display.
Message - Main message text that is displayed in the popup window. HTML tags can be used, such as:
Template - Name of the template to use for popup creation. Wait closing - If true, wait until this popup is closed by the user. |
|
|
Close |
Closes a popup. |
Name - Name of the popup to close. |
|
|
Tooltip |
Shows a tooltip box, which is a small information box. |
Name - The unique name of the popup to create and to display. Title - The title of the popup to create and to display.
Message - Main message text that is displayed in the popup window. HTML tags can be used, such as:
Background color - The color of the background of the tooltip. Icon - The icon displayed in the tooltip. Closing delay - The delay (in milliseconds) before auto-close of the tooltip. |
SAP GUI Activities
Activities for GuiComboBox
|
Activity |
Description |
Properties |
|---|---|---|
|
Set Focus |
Sets focus on an item. |
Item |
|
Get |
Gets item value. |
Item Where to store result |
|
Set |
Sets value of an item. |
Item Value |
|
Get Icon Name |
Gets icon name. |
Item Where to store result |
|
Get List |
Returns the entries in ComboBox. |
Item Where to store result |
|
Get Key |
Returns the selected key in ComboBox. |
Item Where to store result |
|
Set Key |
Sets the key as selected item in ComboBox. |
Item Key |
|
Get Value |
Returns the selected value in ComboBox. |
Item Where to store result |
|
Set Value |
Sets the value as selected item in ComboBox. |
Item Value |
Activities for GuiCtrlCalendar
|
Activity |
Description |
Properties |
|---|---|---|
|
Get date |
Returns the selected date in "YYYYMMDD" format. |
Item Where to store result |
|
Get date range |
Returns selected date range in "YYYYMMDD" format, with the From date and the To date separated by a comma. |
Item Where to store result |
|
Select date |
Selects date given in "YYYYMMDD" format. |
Item Date |
|
Select date range |
Selects date range given in "YYYYMMDD" format, with the from date and the to date separated by a comma. |
Item From date To date |
Activities for GuiCtrlGridView
|
Activity |
Description |
Properties |
|---|---|---|
|
Click cell |
Clicks on a table cell. |
Item Row number Column code |
|
Click button cell |
Clicks a button that is in a table cell. |
Item Row number Column code |
|
Deselect all rows |
Deselects all selected rows in the control. |
Item |
|
Get all visible rows |
Item |
|
|
Get cell |
Gets a value from a table cell. |
Item Row number Column code |
|
Get columns |
Gets the list of active column headers in the table. |
Item |
|
Get row |
Gets the data in an entire row . |
Item Row number |
|
Get row count |
Gets the number of rows in the table. |
Item |
|
Get rows |
Gets all rows of values in the table, starting from the Start Row Index. |
Item Start row index Number of rows |
|
Get rows by column |
Gets all rows of values in the given column, starting from the Start Row Index. |
Item Start row index Number of rows Column ID |
|
Select all rows |
Selects all rows in the control, whether or not they are visible. |
Item |
|
Select cell |
Selects a cell in the table defined by the Row number and the Column Code. |
Item Row number Column code |
|
Select row |
Selects the specified row. |
Item Row number |
|
Select toolbar menu item by ID |
Clicks a toolbar menu item. |
Item |
|
Select toolbar menu item by position |
Clicks a toolbar menu item. |
Item Menu item's position (0 indicates the first item) |
|
Select toolbar menu item by text |
Clicks a toolbar menu item. |
Item Menu item's text |
|
selectContextMenuItemByText |
Selects a context menu item of a selected cell or row by it's text. |
Item itemText (string and case sensitive). |
|
selectContextMenuItemByID |
Selects a context menu item of a selected cell or row by it's ID. |
Item itemID (string). The ID of a menu item. |
|
selectContextMenuItemByPosition |
Selects a context menu item of a selected cell or row by it's position in the list. |
Item itemPosition (number). The position of a menu item (0 if it is a first item). |
|
Selected column |
Gets the selected column from the GuiCtrlGridView control. . |
Item |
|
Selected row |
Gets the row number of the currently selected cell or cells in the table. |
Item |
|
Set cell |
Sets the value of a table cell. |
Item Value to be set in the cell Row number Column code |
Activities for GuiMainWindow
|
Activity |
Description |
Properties |
|---|---|---|
|
Set automation connection |
Page |
Activities for GuiSession
|
Activity |
Description |
Properties |
|---|---|---|
|
Create session |
Creates a new session that is then visualized by a new main window. |
Page |
|
End transaction |
Page |
|
|
Get system name |
Gets system name from SessionInfo. |
Page Where to store result |
|
Get application server |
Gets application server from SessionInfo. |
Page s |
|
Get client name |
Gets client name from SessionInfo. |
Page Where to store result |
|
Get user name |
Gets user name from SessionInfo. |
Page Where to store result |
|
Get transaction |
Gets Transaction from SessionInfo. |
Page Where to store result |
|
Get program |
Gets Program from SessionInfo. |
Page Where to store result |
|
Get screen number |
Gets Screen Number from SessionInfo. |
Page Where to store result |
|
Get system number |
Gets System Number from SessionInfo. |
Page Where to store result |
|
Get session number |
Gets Session Number from SessionInfo. |
Page Where to store result |
|
Maximize page |
Maximizes the page. |
Page |
|
Minimize page |
Minimizes the page. |
Page |
|
Restore page |
Restores the page. |
Page |
|
Start transaction |
This activity is defined at page level and is not applicable to an item. The transaction ID must be passed, and the appropriate page is opened on the basis of the transaction ID. |
Page Transaction ID |
Activities for GuiStatusBar
|
Activity |
Description |
Properties |
|---|---|---|
|
Get message ID |
Retrieves the name of the message class used in the ABAP message call. |
Item Where to store result |
|
Get message number |
Retrieves the name of the message number used in the ABAP message call. It will usually be a number, but this is not enforced by the system |
Item Where to store result |
|
Get message type |
Retrieves the message type: Success, Warning, Error, Abort, Information (or empty string would be returned if something is wrong. |
Item Where to store result |
Activities for GuiTableControl
|
Activity |
Description |
Properties |
|---|---|---|
|
Deselect a given row |
Deselects a given row. |
Item Row number |
|
Deselect all visible rows |
Deselects all visible rows. |
Item |
|
Deselect visible row |
Deselects a given visible row. |
Item Row number |
|
Get all visible rows |
Gets all the visible rows present in the table. |
Item Where to store result |
|
Get column names |
Gets the list of the column names present in the table. If the column contains an icon instead of text, the icon name is returned. |
Item Where to store result |
|
Get row |
Gets the values from a given row number. |
Item Row number Where to store result |
|
Get visible row count |
Gets the count of the visible rows in the table. |
Item Where to store result |
|
Get maximum vertical scroll offset |
Gets the maximum value up to which scrolling is possible with the table. |
Item Where to store result |
|
Get the vertical current position of scrollbar |
Gets the current position of the scrollbar. |
Item Where to store result |
|
Scroll down by one row |
Scrolls down one row at a time and a new row appears in the lower part of the table. |
Item |
|
Scroll to a particular position |
Scrolls to a given scroll bar position. |
Item Position as a number |
|
Scroll to next page |
Scrolls to the next set of rows in the GUI table control. |
Item |
|
ScScroll to previous pagee |
Scrolls to the previous set of rows in the GUI table control. |
Item |
|
Scroll up by one row |
Scrolls back up one row at a time. |
Item |
|
Select a given row |
Selects a given row. |
Row number |
|
Select a visible row |
Selects a given visible row. |
Item Row number |
|
Select all visible rows |
Selects all specified visible rows. |
Item |
Activities for GuiTextField
|
Activity |
Description |
Properties |
|---|---|---|
|
Set caret position |
Item Caret position |
Activities for GuiTree
|
Activity |
Description |
Properties |
|---|---|---|
|
Check |
Item Node key Item position (column) |
|
|
Click node item link |
Item Node key Item position (column) |
|
|
Collapse node |
Collapses a folder node. |
Item Node key |
|
Double-click node item |
Item Node key Item position (column) |
|
|
Double-click node |
Item Node key |
|
|
Get node item checkbox state |
Item Node key Item position (column) Where to store result |
|
|
Get node item text |
Item Node key Item position (column) Where to store result |
|
|
Get node key by path |
Get the node's key using its path. A node path is constructed using the position of all the nodes that are traversed to reach your target node in the same sequence appended by '/'. Position (starts with 1) is simply the position of the node at that level in the tree. |
Item Node path Where to store result |
|
Get node key by text |
Get key of the node using text. |
Item Node text Where to store result |
|
Get selected node |
Item Where to store result |
|
|
Press node item button |
Item Node key Item position (column) |
|
|
selectContextMenuItemByPosition |
Select a context menu item of a selected cell or row by it's position in the list. |
selectContextMenuItemByPosition (nodeKey, itemPosition, columnPosition) Item nodeKey (string). itemPosition (number). The position of a menu item (0 if it is the first item). columnPosition (number) |
|
selectContextMenuItemByText |
Select a context menu item of a selected cell or row by it's text. |
selectContextMenuItemByText (nodeKey, itemPosition, columnPosition) Item itemText (string and case sensitive). nodeKey (string). columnPosition (number) |
|
selectContextMenuItemByID |
Select a context menu item of a selected cell or row by it's ID. |
selectContextMenuItemByID (nodeKey, itemPosition, columnPosition) Item nodeKey (string). itemID (string). ColumnPosition (number). |
|
Select node |
Item Node key Select/Unselect (true/false) |
|
|
Select node item |
Item Node key Item position (column) |
|
|
Uncheck |
Item Node key Item position (column) |
Activities for GuiUserArea
|
Activity |
Description |
Properties |
|---|---|---|
|
Scroll to next page |
If there is a vertical scroll bar, scrolls down to bring into view content that is below the screen level. |
Item |
|
Scroll to previous page |
If there is a vertical scroll bar, scrolls up to bring into view content that is below the screen level. |
Item |
SAP UI5 Activities
|
Component Subfolder |
Activity |
Properties |
|---|---|---|
|
Action Select |
Open |
Item Test item's existence |
|
File Browser |
Browse File This activity provides the ability to browse a file from file system. |
Item: Name of the item in which action need to perform. Source data: File path including the file name and format. For example, "C:\\Users\\Documents\\CV\emailList.xlsx" |
|
Calendar |
Add item |
Item Appointment title Appointment subtitle Appointment type Start date End date Creation status |
|
Carousel |
Next |
Item |
|
Previous |
Item |
|
|
Combobox |
Add item |
Item Source data Test item's existence |
|
Get items |
Item Where to store result Test item's existence |
|
|
Feed Context |
Get alt text |
Item Where to store result Test item's existence |
|
Get numeric |
Item Where to store result Test item's existence |
|
|
Get subheader |
Item Where to store result Test item's existence |
|
|
Press |
Item Test item's existence |
|
|
Set content text |
Item Enter content text Test item's existence |
|
|
Set numeric |
Item Set numeric value Test item's existence |
|
|
Set subheader |
Item Enter subheader Test item's existence |
|
|
Menu |
Open |
Item Test item's existence |
|
Navigation List |
Add item |
Item Source data Test item's existence |
|
Get items |
Item Where to store result Test item's existence |
|
|
Search Field |
Search |
Item Source data Test item's existence |
|
Set |
Item Source data Test item's existence |
|
|
Segment Button |
Add item |
Item Source data Test item's existence |
|
Get items |
Item Where to store result Test item's existence |
|
|
Suggestion Search Field |
Suggestion search |
Item Source data Test item's existence |
|
Table |
Select row |
Item Source data Test item's existence |
|
Clear selection |
Item Test item's existence |
|
|
Row count |
Item Where to store result Test item's existence |
|
|
Row data |
Item Source data Where to store result Test item's existence |
|
|
Select all |
Item Test item's existence |
|
|
Table data |
Item Where to store result Test item's existence |
|
|
TAccount |
Add credit |
Item Source data Test item's existence |
|
Add debit |
Item Source data Test item's existence |
|
|
Get credit |
Item Where to store result Test item's existence |
|
|
Get debit |
Item Where to store result Test item's existence |
|
|
Toggle Button |
Check |
Item |
|
Is checked |
Item Where to store result |
|
|
Uncheck |
Item |
|
|
Tree Grid |
Expand |
Item Source data Test item's existence |
|
Upload Collection SAPUI5 Upload Collection is a control for attachment management that provides the ability to upload various types of files. |
uploadFile This activity provides the ability to upload single or multiple files. |
Item: Name of the item in which action need to perform. Source data: File path including the file name and format. For example, "C:\\Users\\Documents\\test.pdf" Upload URL (Optional): Optional Parameter. This can be used in an exceptional. For example, "../../../upload" |
Scenario Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Start |
Starts a specified scenario. The data to use and manipulate with the scenario can also be specified. The “Wait end” option will launch a scenario and wait until the scenario terminates successfully. Once the scenario terminates, execution continues with the next action. |
Scenario - Name of the scenario to start.
Data used with the scenario - This is an expression. Use:
Wait end - If true (in other words, if the option is ticked), wait until the scenario ends. Wait semaphore - Set a wait semaphore to wait for the end of different scenarios. |
|
End |
Ends the current scenario. |
|
|
Error |
Defines a dedicated error handling for a scenario |
|
|
Timeout |
Defines a dedicated time-out management for a scenario. |
|
|
Disable timeout |
Used to disable step timeout. |
Setting Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Declare |
Declares a setting. |
Setting name Comment Storage - local (false) or server (true) |
|
Get |
Retrieves the value of the setting. |
Setting name Setting value |
|
Set |
Sets the value of the setting. |
Setting name Setting value |
System Activities
System activities are used to perform basic system functions.
|
Activity |
Description |
Properties |
|---|---|---|
|
Set clipboard |
Places the specified text on the clipboard. The previous clipboard content is not saved. |
Message - the text message to be copied to the clipboard. Use:
|
|
Set context |
Assigns a value to a variable of the current defined context, and to update it during a run. To set it to an initial value, simply put the number or text in the “Value” field. |
Variable - name of the variable of the context to use for this action.
Value - value to assign to the variable. This is an 'expression'. Use:
|
|
Diagnostics |
Performs complete and advanced diagnostics. Collects data about desktop information, running environment, installed programs, Java Script context and XML context. This can be used for many purposes, such as to help troubleshoot issues and to perform local or remote analytics. The diagnosis file, named *.diagnostic.pscl, is stored in the project's log folder . |
|
|
Kill process |
Forces a running program to close. All instances of a running process are killed. The process to kill is determined via the program filen ame. If possible, use the close command for an application or a page because this allows the program to shut down gracefully. “Kill process” will shut the program down without saving any changes or data. To use this activity, the WMI library must be included in the project. |
Process - The name of process to kill all running instances of. For example: iexplore.exe |
|
Log |
Provides a method of adding your entries to the log file and in the debug window, with a severity level. This can be used for many purposes, such as debugging scripts and recording information. |
Message - the text message that is saved to log and shown in the debug window. Only strings are supported. Level - The severity level of the message to be logged. |
|
Read registry |
Reads a setting from the Windows system registry. |
Variable - name of the variable in which for store the read result. Registry key - the entire key, including the top-level and final key name, should be constructed. For example: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer\\Version |
|
Restart |
Shuts down Desktop Agent and restarts it with the same current running project. No user intervention is required. |
|
|
Screenshot |
Takes a full-screen screenshot. The image format is Windows Bitmap (.BMP). The captured image is stored in the “.\Log\Pictures” folder of the current project. |
|
|
Shutdown |
Shuts down Desktop Agent. No user intervention is required. No user intervention is required. |
|
|
Sleep |
Freezes the execution of the current thread until a time-out interval elapses. |
Delay - the time interval for which execution is to be suspended, in milliseconds. |
|
Unlock |
In unattended mode, unlocks a locked session if any mouse click or keystroke activities are necessary. Automatically relocks 10 seconds after the action. |
Web Service Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Call SAP web service |
Calls an SAP web service. |
Source URL - the URL of the web service to be called. Input data - the input data of the web service. Output data - the variable to store the result in. Data content type Web service call method |
|
Call web service |
Calls a web service. |
Source URL - the URL of the web service to be called. Input data - the input data of the web service. Output data - the variable to store the result in. Data content type Web service call method |
Word Lib Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Open Word |
Word filename - the word full file path and name of the Word file. |
|
|
Init Word |
||
|
End Word |
||
|
Release Word |
||
|
Close Word |
||
|
Replace all |
Text to find - the search string Text to replace advancedParameters - can be use to replace only one occurrence, or to search with 'match case' or to search with 'match Whole Word'. To activate all advanced parameters, here is an example: {“replacementType” : e.word.WdReplace.wdReplaceOne, “matchCase” : true, “matchWholeWord” : true}. |
|
|
Save as Word |
Word filename - the word full file path and name of the Word file. |
|
|
Save Word |
||
|
Set bookmark |
Set a bookmark with a value. |
Bookmark - the defined bookmark to set. Value- the value to set in the bookmark |
Formatting
|
Activity |
Description |
Properties |
|---|---|---|
|
Format bold |
Activate bold - true to activate bold, false to remove it. |
|
|
Format font size |
Font size - the font size is a positive integer. |
|
|
Format highlight |
Highlight color - this must be selected from e.word.WdColorIndex enumeration. |
|
|
Format italic |
Activate italic - true to activate italic, false to remove it |
|
|
Clear formatting |
PDF Activities
|
Activity |
Description |
Properties |
|---|---|---|
|
Open PDF |
Opens the text-searchable PDF document |
PDF filename - the full file path and name of the text-readable PDF file, surrounded by ' ', such as 'C:\path\to\folder\MyPDF.pdf'. |
|
Release PDF |
Closes the PDF document and releases the associated resources |
|
|
Get number of pages |
Retrieves the number of pages in the document |
Variable - name of the variable of the context in which to store the result. |
|
Get page dimensions |
Gets the dimensions of a given page |
PDF page number- optional, defaults to page 1 if not supplied. Variable - name of the context variable in which to store the retrieved page dimensions (width and height). The context variable is best created as a folder containing two items for the two dimensions. |
|
Get text |
Retrieves the complete text of the PDF document, or the subset of the document defined by the Filter, if used. |
Variable - name of the context variable in which to store the retrieved text. Mandatory. |
|
Extract text with Regex |
Applies a regular expression to search for and extract the desired text |
Regular Expression - example: /Order No.: ([A-Z0-9]+)/. Capturing groups are supported. In this example, the parentheses surrounding the second part of the regex denote a capturing group, and only what comes after "Order No.: " will be extracted and returned. Variable - name of the context variable in which to store the extracted text. Mandatory. |
|
Create filter for text extraction |
Creates a filter for use in an extraction activity to restrict the operation of that activity to a specified page range or a defined area of the PDF page. |
Page Range - the page or pages on which to apply the operation. Mandatory. Examples: "2" for the second page, multiple pages: "1,3-7,10". Top offset - distance of the extraction area or bounding box from the top of the page Left offset - distance of the bounding box from the left edge of the page Width - width of the bounding box Height - height of the bounding box Variable - name of the context variable in which to store the filter generated by this activity for use in other PDF activities. Mandatory. |