Brity Works User Manual (v1.6.0)
Brity Works User Manual (v1.6.0)
0)
${solution_edition}
${last_modified}
Manual version:
Brity Works User Manual (v1.6.0)
Samsung SDS
Table of Contents
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
1. Overview ...................................................................... 1
Sample ..................................................................................... 37
Toolbar ...................................................................................... 38
v
Table of Contents
vi
Table of Contents
Debugging ................................................................................... 68
Deactivating ................................................................................ 87
vii
Table of Contents
viii
Table of Contents
Executing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Creating an Excel file, inserting the captured screen, and setting the screen size . . . . . . . . . . . . . . . . . . . . 355
Executing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
6.3 Sending Email to Myself with the Excel File Attached . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Executing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
Executing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
Executing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
ix
Table of Contents
Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Logging In . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
x
Table of Contents
xi
Preface - Preface
Preface
Preface
Legal notice
Please read the following information carefully before using this manual.
Website www.samsungsds.com
Samsung SDS Co. Ltd. (hereinafter Samsung SDS) has verified the information contained in this
document. However, Samsung SDS is not responsible for any problems that may arise from inaccurate
content or typographical errors.
The content and specifications in this document are subject to change without notice. For more
information on the revision history of this manual, visit the SDS website (www.samsungsds.com).
Samsung SDS Co. Ltd. holds all intellectual property rights, including the copyrights, to this document.
Using, copying, disclosing to a third party, or distributing this document without explicit permission
from Samsung SDS is strictly prohibited. These activities constitute an infringement of the intellectual
property rights of this company.
xiii
Preface - Preface
This manual is intended for the users who design or apply the work automation process using the
Samsung SDS Brity Works RPA (hereinafter RPA) solution.
The users must have following knowledge and understanding to use the RPA Solution effectively.
Summary
Chapter 1. Overview
Explains the prerequisites required for using the RPA Solution and the installation method.
Explains how to design work automation projects using the RPA Designer.
Explains how to design process flows for work automation using the RPA Designer.
Explains how to design process flows for work automation through examples.
Explains the features that can be used by linking to the RPA server.
xiv
Preface - Preface
Appendix A. Troubleshooting
Provides a guide for the main issues that arise when using the RPA Solution.
Appendix B. FAQ
Provides answers to frequently asked questions when using the RPA Solution.
Explains how download the sample and use it in the RPA designer.
Conventions
Boldface Boldface indicates various graphic user interface elements, menus, and directories
within the main text. However, portals, windows, pop-up windows, wizards, and
pages are expressed within double quotation marks and the boldfaced typeface is
not used.
Italics Italics typeface indicates variables or parameters that a user must supply
particular values.
A note identifies additional information for users, such as tips, recommendations, exceptions, and
restrictions on using the product.
xv
Preface - Preface
Input values on the Properties window must be entered according to the JavaScript
grammar, because the values are converted to JavaScript upon execution.
Revision history
xvi
Overview - Supported Features
1.
Overview
Users can design or apply the work automation processes of Solution using the Designer and the RPA
Bot. To use the RPA Solution effectively, learn about the purpose and the features of the solution.
The RPA(Robotic Process Automation) enables automation of standardized human tasks to be carried
out by bots. Teach the user actions to the bot and the bot will mimic the learned actions. While the bot
autonomously processes simple repetitive tasks, the user can focus on the work that requires more
creativity and also improve job productivity, accuracy, and efficiency, while reducing costs.
The RPA Solution supports environments including the Windows app, Internet Explorer, Excel, and
SAP.
You can use the solution for a range of work, such as rule-based, simple repetitive tasks, input and
output of standardized data between systems, and comparisons of source data and processed data.
1
Overview - Use Cases
The processes of creating a work report by extracting the required data from the system and sending
the report via email are handled automatically. The example below is based on a shipping work of a
business.
Creating a work Web, Excel • Extract data from the work system (release quantity, shipment quantity
report of previous day, and shipment deadline, etc.)
• Automatically enter data into Excel file
• Save
Automate the billing process of the Knox Portal using the RPA Solution.
The processes below that were originally performed by three employees in one month are now
handled automatically.
Sending bill by email Web, Excel • Access the Knox Portal payment system
• Download statements
• Organize Excel templates
• Send email to the persons in charge of
each company
2
Overview - Use Cases
Search for the stock price of a specific company or exchange rates by using the web driver and
automatically carry out the necessary task when the stock price or the exchange rate goes above or
below the standard amount.
Search stock price or exchange rates on web Web, Excel • Access the stock price or exchange
rate website.
• Check stock price or exchange rate.
• Automatically enter data into Excel
file.
• Check news.
3
Getting started - System Requirements
2.
Getting started
To use the RPA Solution, you must first get the license ready and then install the Designer and Bot.
● System Requirements
● Preparing the License
● Installing RPA Designer
● Installing RPA Bot
The hardware and software requirements for installing and running the RPA Solution are as follows:
Hardware
Software
5
Getting started - Preparing the License
6
Getting started - Installing RPA Designer
3. Select the RPA Designer authority for use and click Next.
4. Select the install directory and click Next. If the virtual keyboard is already installed 2-2 Message
is not displayed.
7
Getting started - Preparing the License
8
Getting started - Installing RPA Designer
Once the installation is complete, a shortcut icon will be added to your desktop.
9
Getting started - Preparing the License
If virtual keyboard activity does not work properly or cannot be checked in device manager even
after installing RPA Designer, install virtual keyboard manually.
1. Right-click My Computer icon on your Windows desktop, and then click Properties menu.
3. From the Device Manager, click View and select Devices by connection.
10
Getting started - Installing RPA Designer
6. On the Welcome to the Add Hardware Wizard pop-up window, click Next.
7. Select Install the hardware that I manually select from a list (Advanced) and click Next.
11
Getting started - Preparing the License
9. Select Have Disk and click virtual keyboard installation file. Select the VirtualHID.inf file and
click Open.
12
Getting started - Installing RPA Designer
13
Getting started - Preparing the License
10. Click OK on the drive selection screen, check the model name, Root Enumerated Hid Device
(Samsung SDS), and click Next.
14
Getting started - Installing RPA Designer
Installation path
• Designer: C:\Users\user\AppData\Roaming\Brity Works Designer
• Bot: C:\Users\user\AppData\Roaming\Brity Works BOT
15
Getting started - Preparing the License
2. Select the folder depending on your OS and run the bat file.
• 32 bit
- On the x86\VirtualKeyboardDriver folder, run the
Install_virtualdriver32.bat file.
•64 bit
- On the x86\VirtualKeyboardDriver\win7 folder, run the
Install_virtualdrivcer64.bat file.
3. Check the Device Manager to confirm the virtual keyboard is installed properly.
16
Getting started - Installing RPA Designer
3. From the Device Manager, click View and select the Devices by connection.
4. Check Root Enumerated Hid Device (Samsung SDS) on the Device Manager list.
17
Getting started - Installing RPA Bot
5. Do not delete all at once but delete in the reverse order from the HID Keyboard Device.
Right-click HID Keyboard Device and click remove menu to delete. Delete Tablet Mouse in the
same way.
6. Click Uninstall when it warns ‘You are about to uninstall this device from your system.’
18
Getting started - Installing RPA Bot
3. Select the RPA bot authority for use and click Next.
19
Getting started - Installing RPA Bot
20
Getting started - Installing RPA Bot
Once the installation is complete, a shortcut icon will be added to your desktop and also to the
bottom-right corner of the taskbar.
21
Getting started - Installing RPA Bot
If virtual keyboard activity does not work properly or cannot be checked in device manager even
after installing RPA Designer, install virtual keyboard manually.
1. Right-click My Computer icon on your Windows desktop, and then click Properties menu.
3. From the Device Manager, click View and select Devices by connection.
22
Getting started - Installing RPA Bot
6. On the Welcome to the Add Hardware Wizard pop-up window, click Next.
7. Select Install the hardware that I manually select from a list (Advanced) and click Next.
23
Getting started - Installing RPA Bot
9. Select Have Disk and click virtual keyboard installation file. Select the VirtualHID.inf file and
click Open.
24
Getting started - Installing RPA Bot
25
Getting started - Installing RPA Bot
10. Click OK on the drive selection screen, check the model name, Root Enumerated Hid Device
(Samsung SDS), and click Next.
26
Getting started - Installing RPA Bot
27
Getting started - Installing RPA Bot
Installation path
• Designer: C:\Users\user\AppData\Roaming\Brity Works Designer
• Bot: C:\Users\user\AppData\Roaming\Brity Works BOT
2. Select the folder depending on your OS and run the bat file.
• 32 bit
- On the x86\VirtualKeyboardDriver folder, run the
Install_virtualdriver32.bat file.
•64 bit
- On the x86\VirtualKeyboardDriver\win7 folder, run the
Install_virtualdrivcer64.bat file.
3. Check the Device Manager to confirm the virtual keyboard is installed properly.
28
Getting started - Installing RPA Bot
3. From the Device Manager, click View and select the Devices by connection.
4. Check Root Enumerated Hid Device (Samsung SDS) on the Device Manager list.
29
Getting started - Installing RPA Bot
5. Do not delete all at once but delete in the reverse order from the HID Keyboard Device.
Right-click HID Keyboard Device and click remove menu to delete. Delete Tablet Mouse in the
same way.
6. Click Uninstall when it warns ‘You are about to uninstall this device from your system.’
30
Using RPA Designer - Overview of the Designer Screen
3.
Using RPA Designer
Designer is a program that allows you to design and carry out tasks using automated libraries to
automate the task of users. Before designing, you should have an understanding of the screen layout
and features and an understanding of the basic method for using the Designer.
You can see the screen layout of the Designer and learn how to use the program. Designer is made up
of the following screen components:
● Main Menu
● Toolbar
● Project Screen
● Search screen for process flow
● Integrated search screen
31
Using RPA Designer - Overview of the Designer Screen
● Library Screen
● Screen for Process Flow Library
● Design Screen
● Output Screen
● Variable Screen
● Shared Resource Screen
● Variable Screen
● Properties Screen
● Help Screen
Main Menu
You can use the basic menus and the settings menus of Designer.
Click in the upper-left corner of the screen.
32
Using RPA Designer - Overview of the Designer Screen
No. Description
6 Publish projects or process flows to the server or send out a copy of the project or
process flow as a package.
Designer Setting
33
Using RPA Designer - Overview of the Designer Screen
34
Using RPA Designer - Overview of the Designer Screen
No. Description
1 Following its execution, a pop-up asking whether to minimize the Designer or not
appears.
3 Track the person who is currently working in charge and display it on the
Designer.
6 When performing an automation, the Designer automatically sets the check option
to search the object.
20 Set the intervals for automatic save when editing a process or task.
35
Using RPA Designer - Overview of the Designer Screen
No. Description
29 Set performance intervals of each steps when the application has been changed.
Apps are classified by the title information. If the title changes, the same program
is considered to be different.
(Example : notepad - untitled, notepad - test)
Server Setting
36
Using RPA Designer - Overview of the Designer Screen
No. Description
Sample
37
Using RPA Designer - Overview of the Designer Screen
Sample files are not included in the installation files and saving it below the following path
after downloading will display it normally. For more information, see Appendix C. Using
Sample.
Toolbar
Toolbar is a collection of useful tools that is needed to use the Designer. The tools are arranged in the
order of Design, Run, Save, and Edit features.
You can change arrangement of tools in the toolbar by dragging the grouped features.
No. Description
1 Start recording.
38
Using RPA Designer - Overview of the Designer Screen
Project Screen
The project screen shows the structure of the project. A project is made up of processes, tasks, events,
and resources.
No. Description
2 A task is a unit of work just like a process that is made up of various libraries and
tasks. However, a task is a unit of work that cannot be performed by a bot. It may
have a sub-group that can include additional jobs other than itself. Right-click
process to use the editing features, such as Edit Name, Delete, Import from Server.
3 Only the shared task that is on the server can be imported and cannot be modified.
Right-click to use the editing features, such as Edit Delete, Refresh and Import from
Server.
6 A resource is a unit of the file that is required to carry out a project. It imports files
from the user PC and manages them separately in the project folder.
39
Using RPA Designer - Overview of the Designer Screen
For more information on the relationships between the items that make up the project, see the image
below.
The search screen for processes can be used to search and use the processes for designing process
flows. For more information, see 5. Designing Process Flows.
Every process and task within the project can be searched with the activity name.
40
Using RPA Designer - Overview of the Designer Screen
No. Description
2 Shows the result from all processes and tasks within the project.
3 When selected, results only from the tabs that are currently opened will be shown.
4 Output of the activities resulting from searching will have step number ([number])
marked in front.
Double-click search result to move onto the activity.
Library Screen
The library screen is composed of various features. Users can find the feature they need and create a
flowchart for processes, tasks, and events. A library is classified into app, web, Excel, SAP, image
recognition, system, Orchestrator, FlowControl and KnoxPortal depending on the target app or
feature. Select an item to use from the library screen and find the feature you want. For more
information on the available libraries and detailed description, see 4.2 Designing with the Library and
Library Details.
41
Using RPA Designer - Overview of the Designer Screen
No. Description
1 Library search
2 Favorite libraries
3 FlowControl Library
4 App library
5 Web library
6 Excel Library
7 System Library
8 Orchestrator Library
11 SAP Library
12 Library settings
On the design screen for process flows, you can use the process flow library. The library screen to
create a flowchart make up of If or For is identical to the project design screen. For more information
on the process flow library, see 5. Designing Process Flows.
42
Using RPA Designer - Overview of the Designer Screen
No. Description
1 Library search
2 Favorite libraries
4 Library settings
Design Screen
This is the main screen of Designer. You can create and edit flowcharts by adding various libraries
and tasks. All flowcharts are converted into scripts and you can find the converted scripts by clicking
the Script tab.
• Upon clicking the Script tab, the changed flowchart is automatically saved.
• For the libraries that can be used or writing scripts, see Private Script Library.
43
Using RPA Designer - Overview of the Designer Screen
You can check each activity number within the process or search for the activity that contains the
keyword.
Click or press enter key on the keyboard after entering the content to research or '#+activity
number' on the search bar screen by pressing Ctrl + F on the keyboard.
The node searched with '#+activity number' is emphasized and the first node is selected. If one node is
selected, moving among the searched nodes is not possible.
The searched node that contains the keyword is emphasized and nodes with same name are
multi-selected. You can click or on the search bar to move among the searched nodes.
44
Using RPA Designer - Overview of the Designer Screen
You can click mini map icon ( ) to display the mini map on the screen. Click the mini map to move
45
Using RPA Designer - Overview of the Designer Screen
If the flowchart becomes too long and it is difficult to see all content in a screen, you can use the Zoom
menu to zoom in or out.
If the flowchart becomes too long and it is difficult to see all content in a screen, you can zoom in or
out by pressing the Ctrl key and rolling the mouse wheel button at the same time.
Folding/Unfolding a Diagram
You can fold or unfold diagrams such as If, for, etc., if the flowchart becomes too long to see at a
glance. Double-click < > of each activity to fold or unfold the diagram.
46
Using RPA Designer - Overview of the Designer Screen
Double-clicking the node of the diagram will select areas including all the activities.
When dragging a library item or activity, hover the mouse pointer on the arrow in the diagram to
enable it scroll automatically so that you can add an activity at a desired location.
47
Using RPA Designer - Overview of the Designer Screen
Activity View mode provides two types of view modes: normal view and small view. Click the view
mode icon on the upper toolbar to shift the view mode.
48
Using RPA Designer - Overview of the Designer Screen
Output Screen
This screen outputs logs when a process or task is running. You can check the current progress and
error messages.
This is a screen to import and use the shared resources registered in the server. To use the shared
resource, you must first log-in. For more information, refer to 7.7 Using Shared Resources.
49
Using RPA Designer - Overview of the Designer Screen
Variable Screen
This is a screen to add and manage variables that are used as the property value of the library. You
can set the initial value of a variable and add a description upon need to easily distinguish the
variables.
A variable can be classified into four types depending on the scope and purpose of use.
● Global: A global variable that can be used in all parts of the current project.
● Normal: A member variable that can be used in the currently working process or task only.
● Input: A member variable that is required to send as a parameter when performing a process or
task.
● Output: A member variable that is required to get the output value when a process of a task is
completed.
For variables of the global type, use keywords that include the word 'Global' such as 'Global.var1''.
For variables of the normal, input, and output types, use keywords that include the word 'this' such as
'this.var1'.
Properties Screen
This is a screen for verifying details of the selected node and setting up the property value. To achieve
more accurate automation, the value of the properties can be modified.
Properties that must be filled in are marked with *. If the required fields are not filled, the name of the
properties will be marked in red.
50
Using RPA Designer - Overview of the Designer Screen
• Different property information is displayed for each activities of the library. For more
information, see the properties screen of each library in 4.2 Designing with the Library .
• Input values on the Properties window must be entered according to the JavaScript
grammar, because the values are converted to JavaScript upon execution. For the input
value, only the variables declared using 'Global' and 'this' keywords can be used and local
variables declared in the script cannot be used.
Help Screen
You can check the detailed information about the library. Pressing F1 after selecting an activity will
display the help screen.
51
Using RPA Designer - Overview of the Designer Screen
Edit the surrounding image of a target object while recording, and retry the image search when
search fails with object information. You can set the position to generate a mouse event by using
ImageEditor which crops the image or selects the location to search.
For example, after recording the click activity, double-click More Options > Image from the Properties
screen.
52
Using RPA Designer - Starting a New Project and Process Flow
Click the image to change image to use and a click point, then click Apply button.
You can start a new project or process flow. Design a project by adding processes, tasks, events, or by
53
Using RPA Designer - Starting a New Project and Process Flow
adding existing resources. You can also manage tasks conveniently by grouping similar tasks.
"Starting a new project and process flow" explains the following topics:
3. On the "New Project" pop-up window, enter the name and description of the new project or
process flow to create.
54
Using RPA Designer - Starting a New Project and Process Flow
4. Click CREATE.
• When a new project is created, an empty process named "MyProcess" is created for user
convenience.
• When a project is created using the headless mode, the library list shows the library that
can only be used in headless mode. For more information about Headless Mode, refer to 4.4
Designing Headless Process.
• The project or process flow generated is stored in the following path.
- C:\Users\user\Documents\Brity Works Projects\Project or Process flow
name
55
Using RPA Designer - Starting a New Project and Process Flow
2. On the "New Task" pop-up window, enter the name of the new task to create and click CREATE.
56
Using RPA Designer - Starting a New Project and Process Flow
2. On the "New Process" pop-up window, enter the name of the new process to create and click
CREATE.
2. On the "New Event" pop-up window, enter the name of the new event to create and click CREATE
.
1. On the project screen, right-click REMOTE PROCESS and click Adding Remote Process.
57
Using RPA Designer - Starting a New Project and Process Flow
2. Select the process to add from file explorer and click Import.
3. Drag the added remote process using the mouse and drop to insert in the node.
58
Using RPA Designer - Starting a New Project and Process Flow
Adding a Resource
You can add files to use in the project. The files here are managed in a separate folder in the project.
3. Click Open.
59
Using RPA Designer - Starting a New Project and Process Flow
The added resources are stored in the ReSources folder under the project or the process
flow.
- C:\Users\user\Documents\Brity Works Projects\Project or Process flow
name\Resources
The added resources can refer to the resource folder path in the project as
Global.ResourcesDir from the properties screen.
When the number of processes and tasks increase, you can group them for easy management. One
group can include other various sub-groups.
You can create groups of processes or tasks using the same method. The example here is based on the
creating a group for tasks.
2. On the "New Group" pop-up window, enter the name of the new group to create and click
CREATE.
60
Using RPA Designer - Starting a New Project and Process Flow
Editing a Project
You can edit processes, tasks, events, and resources using the same method. This section uses the tasks
as an example.
1. On the project screen, right-click a task to change the name and click Rename.
61
Using RPA Designer - Starting a New Project and Process Flow
2. One the "Rename" pop-up window, enter a new name and click OK.
Copying Task
You can copy the tasks of similar actions for use instead of creating a new task.
1. On the project screen, right-click a job to copy and click Copy As.
2. On the "Copy" pop-up window, enter a new name for the copied task and click OK.
Moving Task
62
Using RPA Designer - Starting a New Project and Process Flow
On the project screen, right-click process or task you want to explore, then click Open File Explorer.
63
Using RPA Designer - Saving a Project and Process Flow
The selected process or the folder containing the task file is opened in file explorer.
Deleting Task
When there are changes to the flowchart, an asterisk (*) is added to the name on the tabs. To save the
currently activated flowchart, click save ( ) icon. To save all open flowcharts, click .
64
Using RPA Designer - Running a Project
To run an activated process or task, click Run on the tool bar screen.
If a process or task is performed for the first time, a pop-up will appear asking whether to
minimize the Designer screen. If you click YES, the Designer program will be hidden and will
appear again once the process or task is complete.
65
Using RPA Designer - Running a Project
To force execution to end, click Stop on the toolbar screen or press Ctrl + Shift + Alt + F12 on the
keyboard.
You can also click > Run > Stop.
• To switch to debugging mode while performing the process, press Ctrl + Shift + F12. For
more information, refer to 3.5 Debugging.
• If you have selected Trace Execution in > Settings > Designer Setting, the node in
progress will be emphasized automatically.
Stopping a Project
You can stop a running project using the keyboard shortcut key or the Brity Works icon on the
toolbar.
66
Using RPA Designer - Debugging
3.5 Debugging
You can check the variable value at the time of breakpoint in Debug Console by stopping the process
and switching to debugging mode.
Select the target activity to switch to debugging. Press F9 or select with the right mouse button and
click Add BreakPoint.
67
Using RPA Designer - Debugging
Debugging
When reaching the added breakpoint while performing the process, the process pauses and execute
the Debug Console screen.
68
Using RPA Designer - Running a Process Flow
Enter variable in the variable field and Click Execute. The variable value at the time of the breakpoint
is displayed on the result window.
The process flow can be executed through the server after being published and cannot be executed
directly from Designer. For more information on server connection, refer to 7. Linking to Server.
69
Using RPA Designer - Importing/Exporting Package
You can export the package you have worked on or import packages created.
Importing Package
Exporting Package
70
Using RPA Designer - Importing/Exporting Package
71
Designing Projects - Designing with the Recording Feature
4.
Designing Projects
The user can record an action using the recording feature or design a project by finding the library to
use on the library screen and adding to the activity.
Click Record button and create a user action as a scenario. You can record actions, such as
mouse-click, right-click, double-click, and keyboard input actions.
To design a project using the recording function, complete the following steps:
A Help pop-up window will appear, and check Do not show again not to see it again.
73
Designing Projects - Designing with the Recording Feature
When you move the mouse over a target UI object while recording, an orange border
will appear.
When a target UI object has lower recognition accuracy, an orange dotted border will
appear.
74
Designing Projects - Designing with the Recording Feature
It is recommended that you record a UI object with an orange border. A UI object with a
dotted border may not be found after execution as it has lower recognition accuracy.
3. Start an action to record from the beginning, such as opening a program or opening a file.
No. Description
1 Pauses recording.
Click 3 to resume recording again.
2 Ends recording.
Displays the Select Recording Target Process screen.
4 Records actions on the mouse or keyboard as events and displays the notification
window on the bottom-right corner of the screen.
75
Designing Projects - Designing with the Recording Feature
No. Description
3 Save the recoding before ending. Once recording ends, the Designer screen is
displayed.
76
Designing Projects - Designing with the Library
"Starting a new project and process flow" explains the following topics:
● Adding an Activity
● Editing an Activity
● Adding a Task
● Library Details
Adding an Activity
You can only add certain libraries of the FlowControl items, such as If or For, to the link and
you cannot add it to the activity group or between activities.
77
Designing Projects - Designing with the Library
An activity group is a unit that combines many activities into one action.
Select a library to add from the library screen and drag it to the title area of the activity group you
want to add it to.
When the border color of the activity group changes to blue, you can add the activity to the end of the
activity group by dropping the library.
78
Designing Projects - Designing with the Library
You can divide the steps by grouping activities or groups into blocks.
Add the block activity to the node between groups.
79
Designing Projects - Designing with the Library
Editing an Activity
Deleting an Activity
Select an activity to delete and click on the toolbar. You can also click press the Delete key on the
keyboard.
Copying an Activity 1
You can copy an activity using the toolbar or the keyboard shortcut key.
To copy an activity using the toolbar or the keyboard shortcut key, complete the following steps:
80
Designing Projects - Designing with the Library
Copying an Activity 2
To copy an activity with the mouse-drag action, complete the following steps:
2. Hold the Ctrl key on the keyboard and move the cursor to the location to paste.
81
Designing Projects - Designing with the Library
Moving an Activity 1
You can move an activity using the toolbar or the keyboard shortcut key.
To move an activity using the toolbar or the keyboard shortcut key, complete the following steps:
82
Designing Projects - Designing with the Library
Moving an Activity 2
83
Designing Projects - Designing with the Library
Adding a Task
84
Designing Projects - Designing with the Library
• A task can be added only to a link only and cannot be included in the activity group.
• A task cannot add itself as a job.
• Deleting, copying, and moving a task can be done using the same method as an activity.
Operating an Activity
85
Designing Projects - Designing with the Library
• You can also make multiple selections by holding down the Shift key on the keyboard.
However, you can select activities only in the same activity group.
• If you press Ctrl+A key on the keyboard, you can select the entire activity group of the
currently selected activity or select all nodes in the flowchart at once.
• Selected activity can easily be distinguished as the background of the selected activity area
is shaded.
Inverting Selection
You can invert the selection to select the activities that were unselected.
86
Designing Projects - Designing with the Library
Deactivating
Select more than one activity to exclude and click on the toolbar.
87
Designing Projects - Designing with the Library
When the number of added activities increase, you can fold the activity group to see a condensed
format. Once folded, the title and the number of activities in the group are displayed.
To fold more than one activity group, select multiple activity groups and click on the toolbar.
88
Designing Projects - Designing with the Library
You can see a shortened view of activities or groups that are listed horizontally with blocks.
Double-click the part of '[' , ']' to fold or unfold.
89
Designing Projects - Designing with the Library
Changing an Activity
You can change an added activity to another activity without adding a new one.
90
Designing Projects - Designing with the Library
Library Details
A library is classified into app, web, Excel, SAP, image recognition, system, Orchestrator, FlowControl
and KnoxPortal depending on the target app or feature. Select an item to use from the library screen
and enter the name of the library to search.
• Data type used in library properties are numbers, strings, variables and shared resources.
• String must start and end with the single quotation marks(' ').
App library
You can control app screen using the features provided by the App library. These libraries identify the
UI object on the screen using the UI automation technology provided by Windows and find the target
UI specified by the user to perform the specified actions.
If the target app is developed using methods that are different to the ordinary methods, the
App library may not operate as intended.
91
Designing Projects - Designing with the Library
Designer\samples\Application
Common Properties
1 Index Conditi String Text Enter the index to identify the target UI object from the UI
onal object list with identical information.
If there is a transparent object around the target UI object that is
invisible, or if the area of the object overlaps with a nearby UI
92
Designing Projects - Designing with the Library
2 Check Requir True/F - Set whether to check the Name properties when comparing UI
Name ed alse objects.
3 Check Requir True/F - Set whether to check the Value properties when comparing UI
Value ed alse objects.
4 Check Requir True/F - Set whether to check the size properties when comparing UI
Size ed alse objects.
1 Applica Requir String Specify Name of the window containing the target UI object is displayed
tion ed i n g
target
2 Title Conditi String Specify Shows the title of the target UI object app.
onal i n g The title may be changed depending on the app status, so it is
target not essential for the title to match for UI object comparison.
However, when there is a multiple detection of apps that are
identical then the UI object that has the same title is selected.
93
Designing Projects - Designing with the Library
3 Type Unable String Specify Shows the class type of the target UI object.
t o i n g
enter target
4 Name Requir String Text Shows the name information of the target UI object.
ed Mostly, a text string that can be represented on a screen will
show, but a value may not be displayed even if it exists,
depending on the app implementation method.
For Name, Value, and Title, you can use a regular expression
using the '\\' keyword or enter a variable like this.SearchText.
However, the node inspection feature is unavailable if a
variable is entered.
5 Value Requir String Text Shows the value information of the target UI object.
ed The text string that can be represented on a screen may be
displayed on this item instead of the Name item, depending on
the app implementation method. Or, a value may not be
displayed even if it exists.
94
Designing Projects - Designing with the Library
95
Designing Projects - Designing with the Library
1 Search Conditi String Text Search within the given area and not the entire zone.
Bounds onal
2 Timeou Conditi Numbe Second Enter the duration to search for the target UI object in seconds.
t onal r
3 Legacy Conditi String Text LegacyValue property value of the target object. The Name,
Value onal Value attribute is displayed in most cases, but the LegacyValue
may be displayed in some cases depending on the
implementation of the target program.
Mostly, it has an empty value.
The LegacyValue property of the Edit type object can be set by
using the 'Legacy Action' option in SetText (Depending on the
implementation of the target object, setup may not be possible
or an error may occur after execution).
4 Object Requir String Specify Enter the path information of the target UI object designated by
Path ed i n g the user within single quotation marks.
target If the at (@) symbol is used, such as '@//Button', this will be
considered as the XPath syntax. Then the entire UI structure of
the designated target app will be generated in the XML format
to search the target UI object information using the XPath
syntax.
For more information on the XML structure, see
GetHierarchyInfo.
5 Image Inform image image Shows the surrounding screen image of the target UI object
aion designated by the user.
6 Bounds Inform rectang coordi Shows the position and size of the target UI object designated by
ation le nates, the user as relative coordinates based on the top left section of
width, the app.
height
7 Size To Requir size Width, Enter the allowed margin of error when Check Size is set as
lerance ed height. True. You can set the allowed margin of an error when the size
of a target UI object is decided by the resolution or content
change.
8 Search Requir True/F - Set whether to check once again by using properties such as the
More ed alse image of a target object or HTML format when an object search
fails .
96
Designing Projects - Designing with the Library
9 Check Requir True/F - Set whether to check the upper UI object instead of comparing
Path ed alse the UI object on the screen when searching for the target UI
object.
In this case, the search speed is improved, but there may be
difficulty in locating the UI object if information, such as Name,
Value, Size, and Title, are not distinguished from other UI
objects.
10 DrawB Requir True/F - Set whether to show a bounding box when a UI object is found
ounds ed alse upon execution.
11 Focus Requir True/F - Set whether to focus on the UI object before generating an
Before ed alse event.
If the focus cannot be set on the target UI object, the focus is set
to the main screen of the target app. If the target UI object is
hidden by another app, the app is moved to the front. If there
are multiple target apps running, the app at the front is scanned
first. If the target UI object is not found, the app at the back is
brought to the front for a scan.
12 Check Requir True/F - Set whether to check the Title properties when comparing UI
Title ed alse objects.
13 Check Requir True/F - Set whether to compare the Legacy Value property of the target
Legacy ed alse object.
14 Search Requir True/F - Set whether to check the nearby UI objects additionally for
Aroun ed alse exact identification of the UI object.
d
15 O n Conditi Event - Specify an action to carry out when an error occurs at the time
Error onal of execution.
• If not specified: Output errors and exit the task.
• Ignore: Output log and proceed to the next activity.
• Retry: Exit task if an error occurs even after a retry.
• If handler is specified: Call specified handler.
97
Designing Projects - Designing with the Library
EmptyActivity creates an activity that matches the target without activity assignment.
Default : Click
Edit : SetText
SAP : SAPClick
Web : WebClick
Edit : WebSetText
You can change it to another library through the activity change after automatic assignment.
1. You can add the EmptyActivity from the library using the drag-and-drop action.
3. When you select a target object, the activity will change from EmptyActivity to an activity such as
Click or SetText depending on the type of an object.
98
Designing Projects - Designing with the Library
3. To designate as the target a UI object, click the object once a red border appears.
• When searching for the target UI object, make sure to check that the UI object information
recorded at the location of the mouse at the time of designating the target UI object matches
the information of the target UI object. If the information does not match, you must find the
target UI object using the method of moving down the upper path of the target UI object. If
you are still unsuccessful in finding the target UI object using this method, collect all UI
object information on the target app and compare it with the designated target UI object
information to find the UI object.
• When you move the mouse over a UI object that has a sub-object, an orange border will
appear. To make a search for a target UI object without issues, choose a target UI object that
does not have sub-UI objects. If it has sub-object, it may be difficult to find the target due to
the difference in the recording time and the time of performing the automation. If you must
designate a sub-UI object, keep in mind that the screen configuration may change during
automation.
• If you must select the target UI object after pressing another UI object, or if you must
designate the target UI object after moving to another screen, press the Ctrl key on the
keyboard to pause the designation or press again to resume.
• When designating a target UI object, the object with a border displayed at the time of
99
Designing Projects - Designing with the Library
clicking the mouse becomes the search target. The position at the time of releasing the mouse
button is recorded as relative coordinates based on the top left area of the target UI object. If
the information of the target UI object is unclear, you can use this to designate a nearby
object that can be specified and click the mouse using the relative coordinates.
• If a pop-up window disappears or if the target app malfunctions due to the UI object
border, you can hide the object borders by pressing the Alt Key on you keyboard once. Press
again to see the borders again.
• If the border is displayed on a UI object that is different to the UI object with the mouse
cursor, press the Shift key on the keyboard once to activate the Search Around option and
try again. For detailed information, refer to the description of the Search Around item in the
common properties.
To check or change the target UI object, double-click the capture screen of the specified target UI
object and click Execute or Reassign, Add from the "Find" pop-up window.
● Execute You can test for the designated target UI object. The red border will flicker for three
seconds on the target UI object and will disappear again.
The test cannot be performed if a variable is entered in the object information on the
properties screen. In this case, right-click the node and click Run step to execute this
node only.
Input - - - - -
Output - - - - -
Activit C l i c k Required Numbe Pixel Enter the location to click after finding the UI object as
y Point r coordinates based on the top left section of the UI object.
This will be entered automatically if the object is designated
directly with a mouse.
More Origin Required Event - Sets the origin (4 edge of objects) used to calculate relative
100
Designing Projects - Designing with the Library
Point coordinates.
Invoke/ Required True/F - Select Invoke API calling method or mouse clicking
Click alse method(False).
• > Help > Sample > Sample > Application > Mouse Action >
P_Click_Test_Win7_Notepad
Input - - - - -
Output - - - - -
Activit C l i c k Require Numbe Pixel Enter the location to click after finding the UI object as
y Point d r coordinates based on the top left section of the UI object.
This will be entered automatically if the object is designated
directly with a mouse.
More Origin Require Event - Sets the origin (4 edge of objects) used to calculate relative
Point d coordinates.
• > Help > Sample > Sample > Application > Mouse Action >
P_Right_Test_Win7_Notepad
101
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
Activit C l i c k Require Numbe Pixel Enter the location to click after finding the UI object as
y Point d r coordinates based on the top left section of the UI object.
This will be entered automatically if the object is designated
directly with a mouse.
More Origin Require Event - Sets the origin (4 edge of objects) used to calculate relative
Point d coordinates.
• > Help > Sample > Sample > Application > Mouse Action >
P_DoubleClick_Test_Win7_Notepad
Input - - - - -
Output - - - - -
Activit C l i c k Require Numbe Pixel Enter the location to click after finding the UI object as
y Point d r coordinates based on the top left section of the UI object.
This will be entered automatically if the object is designated
102
Designing Projects - Designing with the Library
More Origin Require Event - Sets the origin (4 edge of objects) used to calculate relative
Point d coordinates.
• > Help > Sample > Sample > Application > Mouse Action >
P_MouseHover_Test_Win7_Notepad
MouseScroll scrolls the designated UI object by the number of times and interval set.
Input - - - - -
Output - - - - -
Click Required Numbe Positiv Enter the location to click after finding the UI object as
Point r e num coordinates based on the top left section of the UI object.
bers This will be entered automatically if the object is designated
directly with a mouse.
More Origin Required Event - Sets the origin (4 edge of objects) used to calculate relative
Point coordinates.
103
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Application > Mouse Action >
P_MouseScroll_Test_Win7_Web
You can use the drag-and-drop action to the specified mouse position on a specific element.
Input - - - - -
Output - - - - -
Activit Hold Ti Conditio Numbe Numbe Enter the Hold Time before the mouse operation.
y me(ms) nal r r (Default value 100)
Drop Require String String Enter coordinates to drop in single quotation marks.
Point d Enter the information of the target UI object area.
In the form of the followings: x,y, width, and height (You can
use GetBounds to import the object area information).
More Origin Require Event - Sets the origin (4 edge of objects) used to calculate relative
Point d coordinates.
You can move on the specific element using the mouse drag action.
Input - - - - -
Output - - - - -
Activit Hold Ti Conditio Numbe Numbe Enter the Hold Time before the mouse operation.
104
Designing Projects - Designing with the Library
Drop Require String String Enter coordinates to drop in single quotation marks.
Point d Enter the information of the target UI object area.
In the form of the followings: x,y, width, and height (You can
use GetBounds to import the object area information).
More Origin Require Event - Sets the origin (4 edge of objects) used to calculate relative
Point d coordinates.
You can use the mouse drop action on the specific element.
Input - - - - -
Output - - - - -
Activit Hold Ti Conditio Numbe Numbe Enter the Hold Time before the mouse operation.
y me(ms) nal r r (Default value 100)
Drop Require String String Enter coordinates to drop in single quotation marks.
Point d Enter the information of the target UI object area.
In the form of the followings: x,y, width, and height (You can
use GetBounds to import the object area information).
More Origin Require Event - Sets the origin (4 edge of objects) used to calculate relative
Point d coordinates.
SelectListItem selects the target UI object by finding it from a combo box or list.
This can be used only if the target UI object is a ListItem type.
105
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
Note that it may not operate or the information may not change depending on the
implementation method of the target app even if the target UI object is a ListItem type.
• > Help > Sample > Sample > Application > Other Samples >
P_SelectListItem_Test_Win7_Notepad
SetText inputs text in the target UI object. This can be used only if the target UI object supports
ValuePattern, like a text box, and is not read-only.
Select the target UI object and enter the text when the text box appears. You can enter multiple lines
by pressing Shift+Enter on the keyboard.
Once you finish, press Enter to end.
106
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
Activit I n p u t Requir String Text Enter the text to input within single quotation marks.
y Text ed Write special characters, such as line break or quotation marks
using a backward slash "?" in accordance with to the JavaScript
coding rule.
• Normal: Input normal text.
• Secure: Input secure text. Even if Secure is selected, the
original text appears in the Input Text field and is
encrypted only when saved to a file.
Done(E Requir True/F - Set whether to press the Enter key after entering the text.
nter) ed alse
In case of using a project containing an encrypted string by copying to another PC, you
cannot see the original text from another PC.
• > Help > Sample > Sample > Application > Keyboard Action >
P_SetText_Test_Win7_Notepad
107
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
Activit I n p u t Requir String Text Enter the text to input within single quotation marks.
y Text ed Write special characters, such as line break or quotation marks
using a backward slash "?" in accordance with to the JavaScript
coding rule.
• Normal: Input normal text.
• Secure: Input secure text. Even if Secure is selected, the
original text appears in the Input Text field and is
encrypted only when saved to a file.
Clear Requir True/F - Select whether to delete the text in text box before entering text.
Before ed alse
Done(E Requir True/F - Set whether to press the Enter key after entering the text.
nter) ed alse
Option Before Conditi Numbe Second Enter the time to delay before the string input.
s Delay onal r
After Conditi Numbe Second Enter the time to delay after the string input.
Delay onal r
More R a w Requir True/F - Use a low level keyboard event to determine whether to enter a
Event ed alse string. You can enter only English, Korean, or special characters
that you can type with the keyboard.
• > Help > Sample > Sample > Application > Keyboard Action >
P_TextInput_Test_Win7_Notepad
• > Help > Sample > Sample > Application > Keyboard Action >
P_TextInput_Test_Win7_Notepad
108
Designing Projects - Designing with the Library
KeyInput generates a keyboard event such as pressing or releasing keyboard buttons. This can be
used even in case of pressing multiple buttons at the same time, such as Ctrl+Shift+C.
A keyboard event is generated on the UI object where the focus is currently set without designating
the target UI object.
Input - - - - -
Output - - - - -
Option Before Required Numbe Second Set the waiting time before generating a keyboard event.
s Delay r
After Required Numbe Second Set the waiting time after generating a keyboard event.
Delay r
Interva Required Numbe Second Set the interval of pressing the button.
l r Depending on the target app, a shortcut key may not operate
if the interval is too short.
Restore Required True/F Determine whether to initialize ctrl, alt, and shift key status
KeyStat alse after KeyInput.
e
109
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Application > Keyboard Action >
P_KeyInput_Test_Win7_Notepad
Input - - - - -
Output - - - - -
• > Help > Sample > Sample > Application > Manage Application State 15 >
P_CheckState_Window7_Test
Input - - - - -
Output Result Requir String Text Specify the variable to allocate the text read from the target UI
110
Designing Projects - Designing with the Library
ed object.
Activit Read Requir Event - Select the text type to read the from the target UI object.
y ed When you select Auto, Value is read as a priority if the target UI
object is an Edit or Document type, and Name is read as priority
for other cases.
• > Help > Sample > Sample > Application > Get Target Detail >
P_GetText_Test_Win7_Web_Auto
GetBounds gets the information of the target UI object area. The result will be returned as strings in
the form of x, y, width, and height. The returned strings can be used by converting them into
numerical arrays using the eval function in Assign or ExecuteScript. Moreover, it can be used as
Bounds Input of the Image library.
Input - - - - -
Output Result Required String Text Specify the variable to allocate the text read from
the target UI object.
• > Help > Sample > Sample > Application > Get Target Detail >
P_GetBounds_Test_Win7_Notepad
111
Designing Projects - Designing with the Library
GetCheckState imports status information of the designated check box to the string. A status can be
classified into three types: 'Checked', 'UnChecked', 'Indeterminate'
Input - - - - -
Output Result Requir String Text Set the variables to determine whether the check box has been
ed selected. The result value can be classified into three types:
'Checked', 'UnChecked', 'Indeterminate'
• > Help > Sample > Sample > Application > Manage Application State 15 >
P_CheckState_Window7_Test
Input - - -
Output Result Required String Text Returns the discovery result of the target UI object
as True or False.
Activit Timeou Required Numbe Second Enter the number of seconds to wait before the
y t r Target UI object displays.
112
Designing Projects - Designing with the Library
In case of having to wait for a long time, it is recommended that you add a Delay for the
minimum waiting time before using the WaitAppear library. If WaitAppear library is used,
the action may slow down or malfunction depending on the target app, because the UI object
information of the target app is searched repeatedly.
• > Help > Sample > Sample > Application > Wait Application Target >
P_WaitAppear_Test_Win7_Notepad
Input - - -
Output Result Required String Text Returns True if the target UI object disappears. Returns False
if the target UI object does not disappear.
Activit Timeou Required Numbe Second Enter the number of seconds to wait before the Target UI
y t r object disappears.
• > Help > Sample > Sample > Application > Wait Application Target >
P_WaitDisappear_Test_Win7_Web
113
Designing Projects - Designing with the Library
Input - - -
Output Result Requir String Text Returns whether the target UI object designated by user exists.
ed The target object may not be displayed even if it exists. Use the
IsVisible in this case.
• Returns True if the target UI object is found on the screen within the time entered in the
Timeout field. Returns False if it is not found.
• True is returned if the object information exists even if it not shown on the screen, such as
if it is below the scroll or is hidden. In this case, the Bounds information of the object may be
displayed as 0.
• > Help > Sample > Sample > Application > Other Samples >
P_IsExist_Test_Win7_Web
Input - - -
Output Result Required String Text Returns True if the location and size information of the target
114
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Application > Other Samples > P_IsVisible_Test
Input - - -
Output Result Required String Text Returns True if the specified radio button is selected,
otherwise returns False.
• > Help > Sample > Sample > Application > Manage Application State 15 >
P_IsRadioSelected_Window7_Test
115
Designing Projects - Designing with the Library
Input - - -
Output Result Required String Text Set Variables to store the user designated
UI object.
• > Help > Sample > Sample > Application > Manage Application State 15 >
P_IsCheckedState_Window7_Test
OpenApp launches a specified app. Once the app is launched, the process ID (PID) of the launched app
is returned.
Input - - - - -
Output PID Required String Text Specify the variable to save the PID of the launched app.
Activit Comme Required String Text Enter the execution command of the app to launch.
y nd You may have to enter the entire path on the execution file
depending on the app.
Argum Conditional String Text Enter an execution argument that is required for
ents launching the app.
If there is no execution argument to send, enter an empty
string ('').
WaitTi Required Numbe Second Set the duration of time to check whether executed
me(Sec r properly after launching the app.
)
Maxim Required True/F - Set whether to change into a maximized state after the app
ize alse is launched.
Applica Derive Conditional String Text Specify the name of the app to be launched if an app that is
tion d App not entered in the Command field is launched.
If you enter null or false, execution status of the target app
116
Designing Projects - Designing with the Library
• You can use the PID returned by OpenApp in ActivateApp and CloseApp.
• PID of the app on the screen may be different from the PID returned after launching the
app according to the characteristics of the target app such as being launched though a
launcher app or not being launched delicately.
For example, if calc.exe is executed in Windows 10, calc.exe will close and
calculater.exe is launched to appear on the screen. In this case, PID of the calc.exe
specified in OpenApp will be returned on the PID field of OpenApp instead of
calculator.exe that appeared on the screen.
• > Help > Sample > Sample > Application > Manage Application >
P_OpenApp_Test_Win7_notepad
ActivateApp activates the app with the designated PID by moving the app to the very front.
Input PID Required String Text Select PID of the app to activate.
Output - - - -
• > Help > Sample > Sample > Application > Manage Application >
117
Designing Projects - Designing with the Library
P_ActivateApp_Test_Win7_Calc
Input PID Requir String Text Select PID of the app to close.
ed
Output - - - -
Option Force Requir True/F - If set to True, the app will be force closed regardless of the
s ed alse status, if it is not closed after the close command is sent.
If set to False, the close command is sent to app only once. The
app may or may not close depending on the app status. For
example, when a command is sent to a Memo that is edited, the
app will not be closed because a new pop-up is displayed asking
if you want to save the edited file.
• > Help > Sample > Sample > Application > Manage Application >
P_CloseApp_Test_Win7_Notepad
118
Designing Projects - Designing with the Library
Input - - - -
Output - - - -
Option Force Requir True/F - If set to True, the app will be force closed regardless of the
s ed alse status, if it is not closed after the close command is sent.
If set to False, the close command is sent to app only once. The
app may or may not close depending on the app status. For
example, when a command is sent to a Memo that is edited, the
app will not be closed because a new pop-up is displayed asking
if you want to save the edited file.
• > Help > Sample > Sample > Application > Manage Application >
P_CloseAll_Test_Win7_Notepad
OpenWindow opens the app, checks that the target UI object appears, and maximizes the app.
You can utilize this for opening an app or launcher type which cannot be executed using the
OpenApp library.
Input - - - - -
Output - - - - -
Activit C o m m Requir String String Enter the execution command of the app to launch. You may
y and ed have to enter the entire path on the execution file depending on
the app.
Argum Conditi String String Enter an execution argument that is required for launching the
119
Designing Projects - Designing with the Library
Maxim Requir True/F - Set whether to change into a maximized state after the app is
ize ed alse launched.
• > Help > Sample > Sample > Application > Manage Window >
P_OpenWindow_Test_Notepad
CloseWindow closes the window of the app to which the target UI object belongs to.
Input - - - - -
Output - - - - -
Option Force Requir True/F - If set to True, the app will be force closed regardless of the
s ed alse status, if it is not closed after the close command is sent.
If set to False, the close command is sent to app only once. The
app may or may not close depending on the app status. For
example, when a command is sent to a Memo that is edited, the
app will not be closed because a new pop-up is displayed asking
if you want to save the edited file.
120
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Application > Manage Window >
P_CloseWindow_Test_Win7_Notepad
Input - - -
Output Result Requir Object Text Returns an array of the elements that matches the condition
Type ed for ResultType on the page with the specified element.
Conditi ResultT Requir Object/Bou - If it is Default Object, returns all target information that
ons ype ed nds/Control meets the condition as an array and when selecting other
Type/Name types, information is returned based on the selected type.
/Value/Lega
cyValue/Ra
ngeText
Input - - -
Output Result Requir Object Text Set Variables to store the user designated UI object.
ed
Activit All or Requir True/F - If it is True, returns all target information that match the
y First ed alse condition as an array. If it is False, returns only the first target
121
Designing Projects - Designing with the Library
discovered.
FindElement searches the target UI object from the sub-level of the object entered in the Input field.
Input Target Conditi String Text Target UI object to search selects an assigned variable. If not
onal specified, the most recently searched object is set as the
assigned variable.
Output Result Requir Object Text Set variable to process execution result.
ed
Activit All or Requir True/ - If it is True, returns all target information that match the
y First ed False condition as an array. If it is False, returns only the first target
discovered.
Target TreeSc Requir Event - Set the scope for object search.
ope ed
ClassN Conditi String Text Set the class name when performing object search
ame onal
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_FindElementWebDriver_Test_Win7_Web
122
Designing Projects - Designing with the Library
RunAction generates events, such as a click the target UI object entered in the Input field, or searches
nearby objects.
Input Target Condition Object Text Generate event or designate an object to research. If not
al specified, the most recently searched object is set as the input
value.
Output Result Condition Differs Text Returns the execution results. The execution result value
al within depends on the Command.
actions.
Argum Condition String Text Enter property value for generating the event.
ents al
• > Help > Sample > Sample > Application > Other Samples >
P_RunAction_Test_Win7_Notepad
GetHierarchyInfo returns the information of the sub-object in XML format based on the specified
object or app. You can use this for purposes, such as handling the information on the screen all at
once.
Input - - - -
123
Designing Projects - Designing with the Library
Output Result Require String Text The returned object information is expressed as an
d XmlDocument object.
Activit Target/ Require True/F - If it is True, select the target object. If it is False, select the
y App d alse target and the application to which the target belongs.
• > Help > Sample > Sample > Application > Get Target Detail >
P_GetHierachyInfo_Test
GetListItems returns the items on the same path as the target UI object from the list, tree, or menu.
Input - - - - -
Output Result Required Array Text Set Variables to store the List
object.
124
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Application > Get Target Detail > P_GetListItems_Test
Input - - - -
Output Result Required Two-dimen Text Set the variable to save grid items.
s i o n a l
array.
Delimit Required String Text Input marks to distinguish items when there are
er two or more to read within the grid
• > Help > Sample > Sample > Application > Get Target Detail >
P_GetGridItems_Test_Win7_Web
GetListItemIndex gets the order of the selected item from the list.
Input - - - -
Output Result Required String Text Specify variable to bring list items in
oder.
125
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Application > Get Target Detail >
P_GetListItemIndex_Test_Win7_Web
GetGridItemIndex gets the order of the selected item from the grid.
Input - - - -
Output Result Requir String Text Specify variable to bring grid items in oder.
ed The result is an object type that contains Row and Column
information, such as RESULT.Row (or RESULT[0]),
RESULT.Column (or RESULT[1]).
• > Help > Sample > Sample > Application > Get Target Detail >
P_GetGridItemIndex_Test_Win7_Web
Input - - - - -
Output - - - - -
126
Designing Projects - Designing with the Library
Activit C l i c k Required Numbe Pixel Enter the coordinates to locate the mouse pointer.
y Point r Enter Mouse.Position and it will click the current
position where the mouse is located.
• > Help > Sample > Sample > Application > Mouse Action > P_MouseEvent_Test
Input - - - - -
Output - - - - -
• > Help > Sample > Sample > Application > Keyboard Action >
P_KeyboardEvent_Test
Enter the Credential data into the object for the specified password properties. Objects without
password properties cannot be specified.
127
Designing Projects - Designing with the Library
Enter the Credential data into the object for the specified password properties. Objects without
password properties cannot be specified.
Web library
You can control app screen using the features provided by the Web library. These libraries identify
the UI object on the screen using the UI automation technology provided by Windows and find the
target UI specified by the user to perform the specified actions.
128
Designing Projects - Designing with the Library
If the target app is developed using methods that are different to the ordinary methods, the
Web library may not operate as intended.
Input - - - - -
Output Browse Conditional Process Text Specify the variable to save ID of the launched
rID ID browser.
Activit URL Required String Text Enter the URL to connect to after the browser is
y launched within single quotation marks.
To open an empty browser, enter an empty string ('').
Option WaitTi Conditional Numbe Positive Set the duration of the waiting time until the browser
s me(Sec r number is launched and appears on the screen.
) s
129
Designing Projects - Designing with the Library
• A browser has one ID in most cases, but may have many IDs in some cases, such as if
pop-up windows are opened.
• Unlike the PID of OpenApp, you cannot use the CloseApp because it is the ID of an app
screen.
• > Help > Sample > Sample > Web > Manager Browser > P_OpenBrowser_Test
CloseBrowser closes the browser with the selected ID. You must save the ID list returned by the
OpenBrowser to use this feature.
Input Browse Requir Process Text Specify the variable to save ID of the launched browser.
rID ed ID
Output - - - - -
Option ForceA Requir True/F - If set to True, the browser will be force closed regardless of the
s ll ed alse status, if it is not closed after the close command is sent.
If set to False, the close command is sent to browser only once.
The browser may or may not close depending on the status.
• > Help > Sample > Sample > Web > Manager Browser > P_CloseBrowser_Test
130
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
Connec H o s t Requir String Text Enter the name of the email server(SMTP) host.
tion Name ed
Mail Sender Requir String Text Enter the email address of the sender.
ed
Receiv Requir String Text Enter the email address of the recipient. Multiple recipient can
ers ed be designated by separating with a semicolon. It applies both for
CCs and BCCs.
CCs Conditi String Text Enter the email address of the CCs.
onal
BCCs Conditi String Text Enter the email address of the BCCs.
onal
history
F i l e Conditi Numbe Positiv Set the size limit of the attached files. An error is returned when
S i z e onal r e num the attachment size is great than the limit.
131
Designing Projects - Designing with the Library
(MB) bers
• > Help > Sample > Sample > Web > Mail Transfer > P_SendMail_Test
Input - - - - -
Output Mails Requir String Text Set variable to save the information of the received mail.
ed
Connec H o s t Requir String Text Enter the name of the email server(SMTP) host.
tion Name ed
132
Designing Projects - Designing with the Library
Mail Begin Conditi Numbe Positiv Receive emails sent after the entered time.
Time onal r e num
bers
E n d Conditi Numbe Positiv Receive emails sent before the entered time. If empty, check
Time onal r e num until the current time.
bers
Sender Conditi String Text Enter the email address of the sender.
onal
Subject Conditi String Text Enter the title of the email to check.
onal
Body Conditi String Text Enter the body of the email to check. Setting value may slow
onal down the speed.
Attach Conditi String Text Enter the name of the attachment to check Setting value may
ements onal slow down the speed.
M a x Conditi Numbe Positiv Enter the maximum number of the email to check. Enter 0 to
Count onal r e num check all.
bers
Start Conditi Numbe Positiv Enter the starting number of the email to check.
No. onal r e num
bers
With C Requir True/F - Determine whether to return by including the body and
ontents ed alse attachments list.
Ignore Requir True/F - Determine whether to ignore the HTML tag in the body content.
HTML ed alse
Tag
Ignore Requir True/F - Determine whether to ignore the attachments in the body
Body A ed alse among the returned information. Set False to receive mail
ttachm including the attachments in the body.
ents
Recent Requir True/F - Determine whether to check the most recent email.
First ed alse
133
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Web > Mail Transfer > P_ReceiveMail_Test
Input - - - - -
Output - - - - -
Mail Numbe Requir Numbe Positiv Specify the number of attachment to download.
r ed r e num
bers
Attach Conditi String Text Enter the name of attached files to download. Setting value
ements onal may slow down the speed.
Ignore Requir True/F Determine whether to ignore the attachments in the body
Body A ed alse among the returned information. Select False to receive the
ttachm attachments in the body.
ents
• > Help > Sample > Sample > Web > Mail Transfer >
P_DownloadMailAttachment_Test
134
Designing Projects - Designing with the Library
Input - - - - -
Output Respon Conditional String Text Specify the variable to save the call result.
se You can use the Headers and the Contents properties
of the specified variable.
URL Required String Text Enter the address to call within single quotation
marks.
Author Conditional String Text Enter the API key within single quotation marks.
ization
Header Conditional String Text Enter the Header information within single
s quotation marks.
Body Conditional String Text Enter the Body information within single quotation
marks.
• > Help > Sample > Sample > Web > Other Samples > P_SendRequest_Test_Win7_Web
Input - - - - -
Output Result Required String Text Specify the variable to save the execution result
of Script(.side).
135
Designing Projects - Designing with the Library
ype
SideFilePa Required String Text Specify the path of recorded script file using
th Selenium IDE.
• > Help > Sample > Sample > Web > Other Samples >
P_SeleniumSideRunner_Test_Win7_Web
Input - - - - -
Output Browser Required String Text Specify the variable to save the web driver object
created.
URL Required String Text Enter the URL to connect through webdriver
within single quotation marks.
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_OpenWebDriver_Test_Win7_Web
136
Designing Projects - Designing with the Library
Output - - - - -
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_CloseWebDriver_Test_Win7_Web
Output - - - - -
Activit URL Required String Text Enter the URL to move on to within single
y quotation marks.
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_NavigateWebDriver_Test_Win7_Web
137
Designing Projects - Designing with the Library
Activit WaitTime Required Number Second Enter the time to delay before the specified
y (Sec) object is created.
QueryTyp Required XPath/Sel - Set the type to use between Xpath or CSS
e ector Selector.
Target Title Conditional String Text The title of the web page is displayed.
Name Conditional String Text Display Name that can distinguish objects.
Query Required String Text Enter the Xpath or CSS selector according to
the selected Query Type.
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_WaitElementWebDriver_Test_Win7_Web
WebWaitDisappear waits until the target UI object disappears from the screen.
Activit WaitTime Required Number Second Enter the number of seconds to wait before the
y (Sec) Target UI object disappears.
QueryTyp Required XPath/Sel - Set the type to use between Xpath or CSS Selector.
e ector
138
Designing Projects - Designing with the Library
Target Title Conditional String Text The title of the web page is displayed.
Name Conditional String Text Enter name that can distinguish objects.
Query Required String Text Enter the Xpath or CSS selector according to the
selected Query Type.
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_WaitElementWebDriver_Test_Win7_Web
Output Result Required String Text Returns whether the target object exists as
True or False.
Activit WaitTime Required Number Second Enter the time to delay before the specified
y (Sec) object is created.
QueryTyp Required XPath/Sel - Set the type to use between Xpath or CSS
e ector Selector.
Target Title Conditional String Text The title of the web page is displayed.
Name Conditional String Text Enter name that can distinguish objects.
Query Required String Text Enter the Xpath or CSS selector according to
the selected Query Type.
139
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_WaitElementWebDriver_Test_Win7_Web
Input Browser Required String Text Enter the webdriver variable to retrieve.
Output Element Required String Text Enter the variable to save retrieved object.
Activit WaitTime Required Number Positive Error is returned if the object is not found
y (Sec) numbers within the time entered.
QueryTyp Required XPath/Se - Set the type to use between Xpath or CSS
e lector Selector.
Multiple Required True/Fal - Set whether to allow the case with multiple
se specified objects.
Target Title Conditional String Text The title of the web page is displayed.
Name Conditional String Text Enter name that can distinguish objects.
Query Required String Text Enter the Xpath or CSS selector according to
the selected Query Type.
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_FindElementWebDriver_Test_Win7_Web
WebImageFind searches the desired web-page's objects with the designated image or similar image.
140
Designing Projects - Designing with the Library
Input Browse Requir String Text Enter the webdriver variable to retrieve.
r ed
Output Elemen Requir String Text Enter the variable to save retrieved object.
t ed
Target Thresh Requir Numbe 0 to Enter a value between 0-100 to set the similarity of images. The
old ed r 100 probability of not matching becomes higher as it gets closer to 0.
WaitTi Requir Numbe Positiv Error is returned if the object is not found within the time
me(Sec ed r e num entered.
) bers
Search Unable - - Search within the given area and not the entire zone.
Bounds t o
enter
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_FindElementWebDriver_Test_Win7_Web
WebRunAction generates events, such as a click the target UI object entered in the Input field, or
searches nearby objects.
141
Designing Projects - Designing with the Library
Input Browser Required String Text Enter the webdriver variable to retrieve.
Output Result Required Variabl Variable Set Variable to store the user designated
e object.
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_FindElementWebDriver_Test_Win7_Web
Output - - - - -
Activit WaitTime Required Number Positive Error is returned if the object is not found
y (Sec) numbers within the time entered.
QueryTyp Required XPath/Se - Set the type to use between Xpath or CSS
e lector Selector.
Target Title Conditional String Text The title of the web page is displayed.
Name Conditional String Text Enter name that can distinguish objects.
Query Required String Text Enter the Xpath or CSS selector according to
the selected Query Type.
142
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_ClickWebDriver_Test_Win7_Web
Output Data Required String Text Enter the variable to save retrieved data
value.
Activit WaitTime Required Number Positive Error is returned if the object is not found
y (Sec) numbers within the time entered.
QueryTyp Required XPath/Se - Set the type to use between Xpath or CSS
e lector Selector.
Target Title Conditional String Text The title of the web page is displayed.
Name Conditional String Text Enter name that can distinguish objects.
Query Required String Text Enter the Xpath or CSS selector according to
the selected Query Type.
HTML DataType Required Event Text Select the data type to import.
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_GetDataWebDriver_Test_Win7_Notepad
143
Designing Projects - Designing with the Library
Output - - - - -
Activit WaitTime Required Number Positive Error is returned if the object is not found
y (Sec) numbers within the time entered.
Done(Ent Required True/Fal - Set whether to press the Enter key after
er) se entering the text.
QueryTyp Required XPath/Se - Set the type to use between Xpath or CSS
e lector Selector.
Target Title Conditional String Text The title of the web page is displayed.
Name Conditional String Text Enter name that can distinguish objects.
Query Required String Text Enter the Xpath or CSS selector according to
the selected Query Type.
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_SetTextWebDriver_Test_Win7_Web
CredentialWebSetText enters the Credential data into the object for the specified password properties.
Objects without password properties cannot be specified.
144
Designing Projects - Designing with the Library
WebScreenshot (Capturing)
Output - - - - -
Activit FilePat Required String Text Enter the path in which the captured result is
y h to be saved.
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
P_ScreenshotWebDriver_Test_Win7_Web
WebGetTableData imports data value within the table specified from the object. Display target object
if certain amount of time has passed after putting the mouse over the object to import.
Output Data Required String Text Enter the variable to save retrieved data value.
Activit QueryTyp Required XPath/Sel - Set the type to use between Xpath or CSS
y e ector Selector.
Target Title Conditional String Text The title of the web page is displayed.
145
Designing Projects - Designing with the Library
Name Conditional String Text Enter name that can distinguish objects.
Query Required String Text Enter the Xpath or CSS selector according to
the selected Query Type.
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
GetTableWebDriver_Test_Win7_Web
WebGetListData imports list of data value specified from the object. Display target object if certain
amount of time has passed after putting the mouse over the object to import.
Output Data Required String Text Enter the variable to save retrieved data value.
Activit QueryTyp Required XPath/Sel - Set the type to use between Xpath or CSS
y e ector Selector.
Target Title Conditional String Text The title of the web page is displayed.
Name Conditional String Text Enter name that can distinguish objects.
Query Required String Text Enter the Xpath or CSS selector according to
the selected Query Type.
146
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Web > Manager Browser(Web Driver)15 >
GetTableWebDriver_Test_Win7_Web
Excel Library
You can control Excel documents using the features provided by the Excel library.
Using the library, you can create new documents or open existing documents to edit and save.
The features provided by the Excel library are as follows:
147
Designing Projects - Designing with the Library
Excel Library usually use the following three components : Excel handle, Excel Sheet and
Excel Range.
• Excel Handle: Window handle of Excel file that is currently opened.
• Excel Sheet The name of the integrated Excel document sheet.
• Excel Range (Range): Cell range of the Excel. The range between A1 and C3 can be
displayed as A1:C3 and handled with strings.
Common Properties
148
Designing Projects - Designing with the Library
1 O n Conditi Event - Specify an action to carry out when an error occurs at the time
Error onal of execution.
• If not specified: Output errors and exit the task.
• Ignore: Output log and proceed to the next activity.
• Retry: Exit task if an error occurs even after a retry.
• If handler is specified: Call specified handler.
Input - - - -
Output Excel Required String Text Specify the variable to allocate to the Excel
document.
149
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Manage Excel > P_New_Excel_Test_2013
Input - - - -
Output Excel Required String Text Specify the variable to allocate to the Excel
document.
• > Help > Sample > Sample > Excel > headless_Excel15 > Headless_NewExcel
150
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
File Path Required String Text Enter the path to create the new Excel document
and the filename.
• > Help > Sample > Sample > Excel > Manage Excel > P_CreateExcel_Test_2013
Input - - - -
Output Excel Required String Text Specify the variable to allocate to the open Excel
document.
You can use this in CreateWorkSheet and
SelectWorkSheet, and more.
File Path Required String Text Select the Excel file to open or enter the document path.
Execut Conditional True/F - Set whether to display the executed Excel document.
eShell alse
Timeou Required Numbe Second Set the time to wait until the Excel file opens.
t r Not displayed when selecting False ExecuteShell property.
Invisibl Conditional True/F - Set whether to deactivate the Excel document. Displayed
e alse when selecting False ExecuteShell property.
151
Designing Projects - Designing with the Library
R e a d O Conditional True/F - Select whether to Open the excel file as read-only. Display
nly alse when selecting False ExecuteShell property.
UsePas Conditional String Text Select whether to use password. Displayed when selecting
sword False ExecuteShell property.
OpenP Conditional String Text Enter the password to use when opening Excel. Select
asswor UsePassword True to enter password.
d
WriteP Conditional String Text Enter the password to use when editing Excel. Select
asswor UsePassword True to enter password.
d
• > Help > Sample > Sample > Excel > Manage Excel > P_OpenExcel_Test_2013
Input - - - -
Output Excel Required String Text Specify the variable to allocate to the open Excel
document.
You can use this in CreateWorkSheet and
SelectWorkSheet, and more.
File Path Required String Text Select the Excel file to open or enter the document path.
152
Designing Projects - Designing with the Library
sword
OpenP Conditional String Text Enter the password to use when opening Excel. Select
asswor UsePassword True to enter password.
d
WriteP Conditional String Text Enter the password to use when editing Excel. Select
asswor UsePassword True to enter password.
d
• > Help > Sample > Sample > Excel > headless_Excel15 > Headless_OpenExcell
SplitExcel partially or entirely copies the worksheet of a personal Excel document that contains many
worksheets to create a new Excel file.
Input Excel Required Excel handle Text Select the variable allocated with the
(Object) Excel document.
Output - - - -
File Path Required String Text Select the path to save the new Excel
file.
Sheet SheetNa Required String Text Enter name of the worksheet to copy.
me
• > Help > Sample > Sample > Excel > Manage Excel > P_SplitExcel_Test_2013
153
Designing Projects - Designing with the Library
Input Excel Required E x c e l Text In the Excel field, select the variable allocated with
handle the Excel document to activate.
(Object)
Output - - - - -
• > Help > Sample > Sample > Excel > Manage Excel > P_ActivateExcel_Test_2013
Input - - - - -
Output - - - - -
File FileNa Required String Text Enter the Excel file name in the Excel field to activate
me using Headless mode.
154
Designing Projects - Designing with the Library
Input - - -
Output Excel Required Excel handle Text Import currently activated Excel handle
(Object) (object).
Activit Timeou Required Number Second Specify time to wait before importing the
y t activated Excel document.
File Maxim Conditional True/False - Set whether to maximize the Excel window.
ize
• > Help > Sample > Sample > Excel > Manage Excel > P_GetActiveExcel_Test_2013
GetExcel gets an Excel document with the specified name from the executed Excel documents and
allocates to a variable.
Input - - -
Output Excel Required Excel handle Text Import currently activated Excel handle
(Object) (object).
File FileNa Required String Text Enter the name of the Excel file to get within
me single quotation marks.
• > Help > Sample > Sample > Excel > Manage Excel > P_GetExcel_Test_2013
155
Designing Projects - Designing with the Library
Input Excel Required Excel handle Text Select the variable allocated with the opened
(Object) Excel document.
Output - - - - -
Sheet SheetN Required String Text Enter name of the new worksheet to add
ame within single quotation marks.
Positio Required Number Pixel Enter location to create new work sheet.
n
• > Help > Sample > Sample > Excel > Edit WorkSheet >
P_CreateWorkSheet_Test_2013
Input Excel Required Excel handle Text Select the variable allocated with the opened
(Object) Excel document.
Output - - - - -
Sheet SheetN Required String Text Enter the worksheet name to select within
ame single quotation marks.
156
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Edit WorkSheet > P_SelectWorkSheet_Test_2013
Input Excel Required Excel Text Select the variable allocated with the Excel document.
handle
(Object
)
Output - - - - -
Sheet Source Required String Text Enter name of the worksheet to copy.
Sheet
DestSh Conditional String Text Enter name of the worksheet to paste the copied
eet worksheet within single quotation marks.
File Before Required String Text Enter name of the worksheet right before the position of
Sheet the worksheet to copy.
AfterSh Conditional String Text Enter name of the worksheet right after the position of
eet the worksheet to copy within single quotation marks.
• > Help > Sample > Sample > Excel > Edit WorkSheet > P_CopyWorkSheet_Test_2013
157
Designing Projects - Designing with the Library
Input Excel Required String Text Select the variable allocated with the opened
Excel document.
Output - - - - -
Sheet SheetN Required String Text Enter the worksheet name to delete within single
ame quotation marks.
• > Help > Sample > Sample > Excel > Edit WorkSheet >
P_DeleteWorkSheet_Test_2013
Input Excel Required Excel handle Text In the Excel field, select the variable to allocate
(Object) the activated Excel document.
Output SheetN Required String Text Select the variable to return the worksheet
ame names as a string.
Sheet Positio Required Number Positive Enter the location number of the worksheet
n numbers name to import.
• > Help > Sample > Sample > Excel > Edit WorkSheet > P_GetSheetName_Test_2013
158
Designing Projects - Designing with the Library
Input Excel Required Excel Text In the Excel field, select the variable to allocate the
handle activated Excel document.
(Object)
Output SheetN Required String Text Select the variable to return all worksheet names as
ames list strings. It should be imported with index value.
Input Excel Required E x c e l Text Select the variable allocated with the Excel
h a n d l e document containing the area to select.
(Object)
Output - - - - -
SheetN Required String Text Enter the worksheet name containing the area to
ame select within single quotation marks.
Range Required Excel Range Text Enter the range of the area to select within single
(range) quotation marks.
For example, you can enter "A1" to select a specific
column.
Mouse Required Number Whole Specify the location of the mouse cursor.
Pos numbe
r
159
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Manipulate Range15 > P_SelectRange_Test_2013
Input Excel Required Excel handle Text Select the variable allocated with the
(Object) Excel document.
Output Range Required Excel Range Text Specify the variable to get the selected
(range) area.
• > Help > Sample > Sample > Excel > Manipulate Range15 >
P_GetActiveRange_Test_2013
GetDataRange gets the area where data is entered from the Excel document.
For example, the "A1:C3" area is allocated to the variable of Range field in the figure below.
160
Designing Projects - Designing with the Library
Input Excel Required Excel handle Text Specify a variable of the Excel document to get
(Object) the selected data area from.
Output Range Required Excel Range Text Specify the variable to allocate the imported
(range) data area.
Sheet SheetN Required String Text Enter the worksheet name with the data area to
ame get.
• > Help > Sample > Sample > Excel > Manipulate Range15 >
P_GetDataRange_Test_2013
Input Excel Required Excel handle String Select the variable of the Excel document to
(Object) delete.
Output - - - - -
Sheet SheetN Required String Text Enter the worksheet name to delete data.
ame
Range Required Excel Range Text Enter the cell area to delete date from within
(range) single quotation marks.
161
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Manipulate Range15 > P_ClearRange_Test_2013
Input Excel Required E x c e l Text Select the variable allocated with the Excel
h a n d l e document containing the area to read-in.
(Object)
Output DataAr Required String Text Specify the variable to allocate the read-in area.
ray
Range Required Excel Range Text Enter the range of the area to select within single
(range) quotation marks.
For example, you can enter "A1" to select a specific
column.
SheetN Required String Text Enter the worksheet name containing the data
ame area to read-in.
• > Help > Sample > Sample > Excel > Manipulate Range15 > P_ReadRange_Test_2013
162
Designing Projects - Designing with the Library
WriteRange copies the area where data is input from the Excel document and enters in the designated
position.
Input Excel Required Excel Text Select the variable allocated with the Excel document to
handle input data.
(Object
)
Output - - - - -
Activit DataAr Required String Text Select the variable of the Excel document allocated with
y ray the data area to input. Enter two-dimensional array.
Sheet SheetN Required String Text Enter the worksheet name to input data within single
ame quotation marks.
StartCe Required String Text Enter the cell name in the upper-right side of the area to
ll input data within single quotation marks.
File AutoSa Required True/F - Set whether to automatically save after entering data.
ve alse
• > Help > Sample > Sample > Excel > Manipulate Range15 > P_WriteRange_Test_2013
163
Designing Projects - Designing with the Library
Input - - - - -
Output Range Required Excel Text Specify the variable to allocate the created area.
Range
(range)
Activit Range Required Excel Text Enter position to start creating the area.
y Range
(range)
InputV Required Numbe Positiv Enter the number of rows or columns to increase or
alue r e num decrease based on the position of the Range field.
bers
IsRow Required True/F - Set True to change row and False to change column.
alse
FirstAd Required True/F - Determine whether to set the MakeRange target as the
dress alse starting address if the Range is specified as an area and not
as one cell.
"A6", which is the result from the above input will be assigned to the this.range variable.
• > Help > Sample > Sample > Excel > Manipulate Range15 > P_MakeRange_Test_2013
164
Designing Projects - Designing with the Library
Input Excel Required E x c e l Text Select the variable allocated with the Excel
handle document.
(Object)
Output - - - - -
Activit Include Required True/False - Determine whether to enter all cell data to the
y AllData merged cell.
If you select True, the data in all cells will be
entered to the merged cell.
If you select False, the data in the first cell will be
entered to the merged cell.
Sheet SheetN Required String Text Enter name of the worksheet containing the area to
ame merge within single quotation marks.
Range Required E x c e l Text Enter the range of the area to merge within single
R a n g e quotation marks.
(range)
• > Help > Sample > Sample > Excel > Manipulate Range15 > P_MergeRange_Test_2013
SplitRange splits rows and columns in the given area and allocates to the variable.
Input - - - - -
Output DataAr Required String list Text Specify the variable to allocate the information of
ray the split area.
In case of A1:B2, string list will return A, 1, B, and 2.
165
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Manipulate Range15 > P_SplitRange_Test_2013
Input Excel Required E x c e l Text Select the variable allocated with the Excel
handle document.
(Object)
Output - - - - -
Sheet SheetN Required String Text Enter the worksheet name containing the area to
ame copy.
Range Required E x c e l Text Enter location of the data containing the area to
R a n g e copy within single quotation marks.
(range)
• > Help > Sample > Sample > Excel > Manipulate Range15 > P_CopyRange_Test_2013
166
Designing Projects - Designing with the Library
Input Excel Required Excel handle Text Select the variable allocated with the Excel
(Object) document.
Output - - - - -
PasteSkip Required True/False - Set whether to paste the data with content
Blanks only.
PasteUseL Required True/False - Set whether to paste the link of the copied
ink area.
Sheet SheetNam Required String Text Enter the worksheet name to paste.
e
Range Required Excel Range Text Enter the position of the data to paste within
(range) single quotation marks.
PasteRange properties within Activity corresponds with the function of Excel option 'Select
and paste'. See the following figure.
167
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Manipulate Range15 > P_CopyRange_Test_2013
Input Source Required String Text Select the variable of the Excel document
Excel containing the area to copy.
DestEx Required E x c e l Text Select the variable of the Excel document to paste.
cel h a n d l e
(Object)
Output - - - - -
DestAu Required True/False - Set whether to save the pasted Excel document
toSave automatically.
PasteS Required True/False - Set whether to paste the cell with content only.
kipBla
nks
PasteU Required True/False - Set whether to paste the link of the area to copy.
seLink
Sheet Source Required String Text Enter name of the worksheet containing the area
Sheet to copy within single quotation marks.
Source Required Excel Range Text Enter area of the Excel document to copy within
Range (range) single quotation marks.
DestSh Required String Text Enter name of the worksheet to copy within single
168
Designing Projects - Designing with the Library
Target Required Excel Range Text Enter the position of the data to paste within single
Range (range) quotation marks.
• > Help > Sample > Sample > Excel > Other Samples > P_CopyPaste_Test_2013
SetFilter specifies a filter from an Excel document with filter. This can be used when specifying filter
is needed as shown in the figure below.
Input Excel Requir E x c e l Text Select the variable allocated with the Excel document.
ed handle
(Object
)
169
Designing Projects - Designing with the Library
Output Range Conditi E x c e l Text Specify the variable to save the result. The area of list resulting
onal Range of filter is returned.
(range)
Activit FilterQ Requir String Text Enter the first query value to apply to the filter within single
y uery ed quotation marks.
FilterQ Requir String Text Enter the second query value to apply to the filter within single
uery2 ed quotation marks.
Include Requir True/F Text Set whether to include the header with filter when importing
Header ed alse data.
FilterO Requir True/F Text Set filter query condition. If set to True, are the conditions
p e r A N ed alse which satisfy both of the queries. If set to False, the conditions
D satisfy at least one of the two query.
GetTot Requir True/F Text Select whether to bring entire zone of data containing filter.
alRang ed alse
e
Sheet SheetN Requir String Text Enter the worksheet name to import data.
ame ed
FilterC Requir String Text Enter the cell position of the filter within single quotation
ell ed marks.
170
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Apply Filter > P_SetFilter_Test_2013
Input Excel Requir E x c e l Text Select the variable allocated with the Excel document.
ed handle
(Object
)
Output Range Conditi E x c e l Text Specify the variable to save the result. The area of list resulting
onal Range of filter is returned.
(range)
Activit FilterC Requir True/F - Enter RGB numbers separated with a comma(,) within single
y olor ed alse quotation marks, such as '255,255,255'.
GetTot Requir True/F - Select whether to bring entire zone of data containing filter.
alRang ed alse
e
UseFon Requir True/F - If set to True, use the default color, or if set to False, the
tAuto ed alse FilterColor property is activated, so specify the color in the form
of RGB value, such as '255,255,255'.
Include Requir True/F - Set whether to include the header with filter when importing
Header ed alse data.
Sheet SheetN Requir String Text Enter the worksheet name to import data.
171
Designing Projects - Designing with the Library
ame ed
FilterC Requir String Text Enter the cell position of the filter.
ell ed
• > Help > Sample > Sample > Excel > Apply Filter > P_SetColorFilter_Test_2013
Input Excel Required Excel handle Text Select the variable allocated with the Excel
(Object) document.
Output - - - - -
Sheet SheetN Required String Text Enter the worksheet name containing a
ame filter to release.
FilterC Conditional String Text Enter the cell position of the filter within
ell single quotation marks.
• > Help > Sample > Sample > Excel > Apply Filter > P_ReleaseFilter_Test_2013
172
Designing Projects - Designing with the Library
Input Excel Required E x c e l Text Select the variable allocated with the Excel document.
handle
(Object)
Output Range Required String Text Specify the variable to return the address of the
searched string.
Activit Search Required String Text Enter the string to search for within single quotation
y String marks.
Sheet SheetN Required String Text Enter the worksheet name of the Excel document to
ame search.
Range Required Number Positiv Set the range of the Excel document to search the string.
e num "1:1048576" is the default value and means that the
bers search will be performed from row 1 to 1048576.
• > Help > Sample > Sample > Excel > Other Samples > P_SearchString_Test_2013
173
Designing Projects - Designing with the Library
Input Excel Required E x c e l Text Select the variable allocated with the Excel
h a n d l e document.
(Object)
Output - - - - -
Sheet SheetN Required String Text Enter the worksheet name containing the string
ame to replace.
Range Required Number Positive Enter the cell area containing the string to be
number replaced within single quotation marks.
s
• > Help > Sample > Sample > Excel > Other Samples > P_ReplaceString_Test_2013
Input Excel Required E x c e l Text Select the variable allocated with the Excel
handle document containing the string to read-in.
(Object)
Output R e a d D Required String Text Specify the variable to allocate the read-in string.
174
Designing Projects - Designing with the Library
ata
Sheet SheetN Required String Text Enter the worksheet name containing the string to
ame read-in.
Cell Required String Text Enter the cell address to read-in string within single
quotation marks.
For example, you can enter "A1" to select a specific
column.
• > Help > Sample > Sample > Excel > Manipulate Range15 > P_ReadRString_Test_2013
WriteString inputs a string in the cell which is set by the Excel document.
Input Excel Required E x c e l Text Select the variable allocated with the Excel
handle document.
(Object)
Output - - - - -
Sheet SheetN Required String Text Enter the worksheet name containing the string to
ame be entered.
Range Required E x c e l Text Enter the cell area containing the string to be
R a n g e entered within single quotation marks.
(range)
175
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Other Samples > P_WriteSting_Test_2013
Input Excel Required Excel handle Text Select the variable allocated with the
(Object) Excel document.
Output - - - - -
File MacroNa Required String Text Enter the macro name to execute.
me
Sheet SheetNa Required String Text Enter the worksheet name to execute
me the macro.
• > Help > Sample > Sample > Excel > Other Samples > P_ExecuteMacro_Test_2013
Input Excel Required Excel handle Text Select the variable allocated with the Excel
(Object) document.
Output - - - - -
176
Designing Projects - Designing with the Library
Activit Keys Required String Text Enter the shortcut key string to input within
y single quotation marks.
BeforeDe Conditional Number Second Enter the time to delay before executing
lay shortcut key.
AfterDela Conditional String Second Enter the time to delay after executing
y shortcut key.
ShortCut Required String Text Enter the shortcut key name within single
Name quotation marks.
Sheet SheetNa Required String Text Enter the worksheet name to execute the
me shortcut key.
177
Designing Projects - Designing with the Library
Input Excel Require E x c e l Text Select the variable allocated with the Excel document.
d handle
(Object
)
Output - - - - -
Sheet SheetN Require String Text Enter the worksheet name to add rows.
ame d
Positio Require Numbe Positiv Enter a row number of the position to add the rows within
n d r e num single quotation marks.
bers If you enter a colon ":" between the row numbers, all rows
from the first row number to the second row number are
added.
If you enter a comma "," between the row numbers, the
specified row numbers are added.
Input Excel Requir E x c e l Text Select the variable allocated with the Excel document.
ed handle
(Object
)
Output - - - - -
Sheet SheetN Requir String Text Enter the worksheet name to add columns.
178
Designing Projects - Designing with the Library
ame ed
Positio Requir Numbe Positiv Enter the column number of the position to add the columns
n ed r e num within single quotation marks.
bers If you enter a colon ":" between the column numbers, all
columns from the first column number to the second column
number are added.
If you enter a comma "," between the column numbers, the
specified column numbers are added.
• > Help > Sample > Sample > Excel > Edit Column > P_AddCol_Test_2013
Input Excel Require E x c e l Text Select the variable allocated with the Excel document.
d handle
(Object
)
Output - - - - -
Sheet SheetN Require String Text Enter the worksheet name to select rows.
ame d
Positio Require Numbe Positiv Enter the row number to select within single quotation marks.
n d r e num If you enter a colon ":" between the row numbers, all rows
bers from the first row number to the second row number are
selected.
If you enter a comma "," between the row numbers, the
179
Designing Projects - Designing with the Library
Input Excel Requir E x c e l Text Select the variable allocated with the Excel document.
ed handle
(Object
)
Output - - - - -
Sheet SheetN Requir String Text Enter the worksheet name to select columns.
ame ed
Positio Requir Numbe Positiv Enter the column number to select within single quotation
n ed r e num marks.
bers If you enter a colon ":" between the column numbers, all
columns from the first column number to the second column
number are selected.
If you enter a comma "," between the column numbers, the
specified column numbers are selected all.
• > Help > Sample > Sample > Excel > Edit Column > P_SelectCol_Test_2013
180
Designing Projects - Designing with the Library
Input Excel Require E x c e l Text Select the variable allocated with the Excel document.
d handle
(Object
)
Output - - - - -
Sheet SheetN Require String Text Enter the worksheet name to delete rows.
ame d
Positio Require Numbe Positiv Enter the row number to delete within single quotation marks.
n d r e num If you enter a colon ":" between the row numbers, all rows
bers from the first row number to the second row number are
deleted.
If you enter a comma "," between the row numbers, the
specified row numbers are deleted.
Input Excel Requir E x c e l Text Select the variable allocated with the Excel document.
ed handle
(Object
)
Output - - - - -
Sheet SheetN Requir String Text Enter the worksheet name to delete columns.
ame ed
Positio Requir Numbe Positiv Enter the text of the column to delete within single quotation
n ed r e num marks.
bers If you enter a colon ":" between the column numbers, all column
from the first column number to the second column number are
181
Designing Projects - Designing with the Library
deleted.
If you enter a comma "," between the column numbers, the
specified column numbers are deleted.
• > Help > Sample > Sample > Excel > Edit Column > P_DeleteCol_Test_2013
Input Excel Required Excel handle Text Select the variable allocated with the
(Object) Excel document.
Output Count Required String Text Specify the variable to import row
count.
Sheet SheetNa Required String Text Enter the worksheet name to import
me row count.
Input Excel Required Excel handle Text Select the variable allocated with the
182
Designing Projects - Designing with the Library
Output Count Required String Text Specify the variable to import column
count.
Sheet SheetNa Required String Text Enter the worksheet name to import
me column count.
• > Help > Sample > Sample > Excel > Edit Column > P_GetColCount_Test_2013
SortData (Sorting)
SortData can sort the specified column or row in ascending or descending order.
Input Excel Required Excel handle Text Select the variable allocated with the Excel
(Object) document.
Output - - - - -
Activit Order Required True/False - Set whether to sort in ascending order or align
y in descending order.
Sheet SheetN Required String Text Enter the worksheet name containing data to
ame sort.
Key Required Excel Range Text Enter the cell position containing data to sort
(range) within single quotation marks.
Range Required Excel Range Text Enter the cell position containing data to sort
(range) within single quotation marks.
183
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Other Samples > P_SortData_Test_2013
VLookUp (Search)
VLookUp uses multiple condition to search for the information you want in the Excel document.
Input Excel Required Excel handle Text Select the variable allocated with the Excel
(Object) document.
Output - - - - -
Activit Lookup Required String Text Enter key value needed to search for within
y Value single quotation marks.
TableR Required Excel Range Text Enter the area to search value within single
ange (range) quotation marks.
T a b l e I Required Number Positive Enter location of the row containing the value to
ndex numbers import within the area to search.
Sheet SheetN Required String Text Enter the worksheet name to display the value
ame found.
Cell Required String Text Enter the cell to display the value found within
single quotation marks.
VLook PartMa Required True/False - Determine whether to find the value that
up tch matches exactly or similarly.
(True : Similar value, False : Exact value)
184
Designing Projects - Designing with the Library
Input Excel Required Excel handle Text Select the variable allocated with the Excel
(Object) document.
Sheet SheetN Required String Text Enter the name of the worksheet to read-in the
ame formula.
Cell Required String Text Enter the cell address to read-in the formula
within single quotation marks.
• > Help > Sample > Sample > Excel > Cell Formula > P_ReadCellFormula_Test_2013
Input Excel Required Excel handle Text Select the variable allocated with the Excel
(Object) document.
Output - - - - -
Activit Formul Required String Text Enter a formula to input into a cell within
y a single quotation marks.
Sheet SheetN Required String Text Enter the name of the worksheet to enter the
ame formula.
Cell Required String Text Enter the cell address to input formula within
single quotation marks.
185
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Cell Formula > P_WriteCellFormula_Test_2013
Input Excel Required Excel handle Text Select the variable allocated with the Excel
(Object) document to save.
Output - - - - -
File SaveAs Conditional String Text To save as another name, select the path to save
and enter a new filename.
• > Help > Sample > Sample > Excel > Manage Excel > P_SaveExcel_Test_2013
Input Excel Required Excel Text Select the variable allocated with the Excel document to
handle close.
(Object
)
Output - - - - -
186
Designing Projects - Designing with the Library
File Force Conditional True/F - If set to True, Excel will be force closed regardless of the
alse process, if it is not closed after the close command is sent.
If set to False, the close command is sent to Excel only once.
• > Help > Sample > Sample > Excel > Manage Excel > P_CloseExcel_Test_2013
Input Excel Required Excel Text Select the variable allocated with the Excel document.
handle
(Object
)
Output - - - - -
Sheet SheetN Required String Text Enter the name of the worksheet to specify style.
ame
Range Required String Text Enter the range of the area to select within single quotation
marks.
For example, you can enter "A1" to select a specific column.
187
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Apply Style > P_SetStyleRange_Test_2013
188
Designing Projects - Designing with the Library
Input Excel Required Excel Text Select the variable allocated with the Excel document.
handle
(Object)
Output - - - - -
Sheet SheetN Required String Text Enter the name of the worksheet to specify the border.
ame
Range Required Excel Text Enter the range of the area to select within single
Range quotation marks.
(range) For example, you can enter "A1" to select a specific
column.
Overay Required True/Fls - If set to True, selected border will be added to the
e border set in Excel documents.
If set to False, selected border will be added and the
border set in Excel document will be deleted.
• > Help > Sample > Sample > Excel > Apply Style > P_SetBoardRange_Test_2013
Input Excel Required Excel handle Text Select the variable allocated with the Excel
(Object) document.
Output - - - - -
Sheet SheetN Required String Text Enter the worksheet name to hide rows.
ame
189
Designing Projects - Designing with the Library
Rows Required Number Positive Enter the range of row area to select within
numbers single quotation marks.
For example, you can enter "1" to select a
specific row.
Hidden Required True/False Text If set to True, hide the selected row area.
If set to False, cancel hiding the selected
row area.
• > Help > Sample > Sample > Excel > Apply Style > P_SetHiddenRow_Test_2013
Input Excel Required Excel handle Text Select the variable allocated with the Excel
(Object) document.
Output - - - - -
Sheet SheetN Required String Text Enter the worksheet name to hide columns.
ame
C o l u m Required String Text Enter the range of column area to select within
ns single quotation marks.
For example, you can enter "1" to select a
specific column.
Hidden Required True/False - If set to True, hide the selected column area.
If set to False, cancel hiding the selected
column area.
190
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Excel > Apply Style > P_SetHiddenCol_Test_2013
Input Excel Required Excel Text Select the variable allocated with the Excel document.
handle
(Object
)
Output - - - - -
Sheet Source Required String Text Enter the worksheet name to move.
Sheet
File Before Required String Text Enter name of the worksheet right before the position of
Sheet the worksheet to copy within single quotation marks.
AfterSh Required String Text Enter name of the worksheet right after the position of the
eet worksheet to copy within single quotation marks.
SAP Library
You can control SAP GUI using the features provided by the SAP library.
You can enter data into SAP GUI or import the entered data and change and handle the data.
The features provided by the SAP library are as follows:
191
Designing Projects - Designing with the Library
192
Designing Projects - Designing with the Library
No. Description
If the Script Recording and Playback... menu is disabled in the Options menu, the server settings are
required as follows.
If the system administrator edits the application program server profile on the SAP system and
changes the sapgui/user_scripting to True, scripting is enabled by default when the server is restarted.
Procedure
3. Click Display.
193
Designing Projects - Designing with the Library
Common Properties
194
Designing Projects - Designing with the Library
1 Timeou Requir Numbe Second Enter the duration to search for the target UI object in seconds.
t ed r
2 FocusB Conditi True/F - Set whether to focus on the UI object before generating an
efore onal alse event.
If the focus cannot be set on the target UI object, the focus is set
to the main screen of the target app. By another app,
If the target UI object is hidden, the app is moved to the front. If
there are multiple target apps running, the app at the front is
scanned first. If the target UI object is not found, the app at the
back is brought to the front for a scan.
3 DrawB Conditi True/F Set whether to show a bounding box when a UI object is found
ounds onal alse upon execution.
1 Type Unable String String Shows the type information of the target UI object.
t o
195
Designing Projects - Designing with the Library
enter
2 SubTyp Unable String Text Shows the subtype information of the target UI object.
e t o
enter
4 Name Unable String Text Shows the name information of the target UI object.
t o
enter
5 Text Unable String Text Shows the text value of the target UI object.
t o
enter
6 Bounds Unable String Text Shows the position and size of the target UI object designated by
t o the user as relative coordinates based on the screen.
enter
1 O n Conditi Event - Specify an action to carry out when an error occurs at the time
196
Designing Projects - Designing with the Library
Click (Clicking)
2. If you put the mouse over the UI object, a red border will appear. Click when a red border
appears on the UI object to generate the click event.
Input - - - - -
Output - - - - -
Activit C l i c k Requir Numbe Pixel Enter the location to click after finding the target UI object as
y Point ed r coordinates based on the top left section of the target UI object.
This will be entered automatically if the object is designated
directly with a mouse.
Target Image Unable - - Shows the image of the target UI object designated by the user.
t o
enter
197
Designing Projects - Designing with the Library
• > Help > Sample > Sample > SAP > Mouse Action > P_Click_Test_SAP
Input - - - - -
Output - - - - -
Activit C l i c k Requir Numbe Pixel Enter the location to double-click after finding the target UI
y Point ed r object as coordinates based on the upper-left section of the
target UI object.
This will be entered automatically if the object is designated
directly with a mouse.
Target Image Unable - - Shows the image of the target UI object designated by the user.
t o
enter
• > Help > Sample > Sample > SAP > Mouse Action > P_DoubleClick_Test_SAP
198
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
Activit C l i c k Requir Numbe Pixel Enter the location to right-click after finding the target UI object
y Point ed r as coordinates based on the upper-left section of the target UI
object.
This will be entered automatically if the object is designated
directly with a mouse.
Target Image Unable - - Shows the image of the target UI object designated by the user.
t o
enter
• > Help > Sample > Sample > SAP > Mouse Action > P_RightClick_Test_SAP
Input - - - - -
Output - - - - -
Activit C l i c k Requir Numbe Pixel Enter the location to hover the cursor over after finding the
y Point ed r target UI object as coordinates based on the upper-left section of
the target UI object.
This will be entered automatically if the object is designated
directly with a mouse.
Target Image Unable - - Shows the image of the target UI object designated by the user.
199
Designing Projects - Designing with the Library
t o
enter
• > Help > Sample > Sample > SAP > Mouse Action > P_MouseHover_Test_SAP
SetText inputs text in the target UI object. This can be used only if the target UI object supports
ValuePattern, like a text box, and is not read-only.
Input - - - - -
Output - - - - -
Activit I n p u t Required String Text Enter the text to input within single quotation
y Text marks.
• Normal: Input normal text.
• Secure: Input secure text.
Done(Ent Conditional True/Fa - Set whether to press the Enter key after
er) lse entering the text.
Target Image Unable to enter - - Shows the image of the target UI object
designated by the user.
• > Help > Sample > Sample > SAP > Other Samples > P_SetText_Test_SAP
200
Designing Projects - Designing with the Library
Input - - - - -
Output Result Required String Text Specify the variable to allocate the text read from
the target UI object.
Target Image Unable to enter - - Shows the image of the target UI object designated
by the user.
• > Help > Sample > Sample > SAP > Other Samples > P_GetText_Test_SAP
Input - - - - -
Output Result Required String Text Specify the variable to check if the Target UI object
appears on the screen.
Target Image Unable to enter - - Shows the image of the target UI object designated
by the user.
201
Designing Projects - Designing with the Library
• > Help > Sample > Sample > SAP > Other Samples > P_IsExist_Test_SA
Input - - - - -
Output Result Required String Text Specify the variable to wait until Target UI object
appears on the screen.
Target Image Unable to enter - - Shows the image of the target UI object designated
by the user.
• > Help > Sample > Sample > SAP > Wait SAP Target > P_WaitSAPAppear_Test_SAP
Input - - - - -
Output Result Required String Text Specify the variable to wait until Target UI object
disappears on the screen.
Target Image Unable to enter - - Shows the image of the target UI object designated by
the user.
202
Designing Projects - Designing with the Library
• > Help > Sample > Sample > SAP > Wait SAP Target >
P_WaitSAPDisappear_Test_SAP
Input - - - - -
Output Result Requir S t r i n g Text Returns the cell that matches the search conditions in
ed list row:column type i. Return in list if multiple cells match the
search conditions.
Activit Search Requir String Text Specify the search target row.
y Text ed
Search Conditi String Whole Specify the ID of the search target row. You can check the ID
C o l u m onal numbe with GetGridColumnID.
n r
Target Image Unable - - Shows the image of the target UI object designated by the user.
t o
enter
• > Help > Sample > Sample > SAP > Get Grid Detail > P_SearchInGrid_Test_SAP
203
Designing Projects - Designing with the Library
Input - - - - -
Output Result Required Two-dimensional Text Specify the variable to import all the
array of string. data within SAP Grid.
Target Image Unable to enter - - Shows the image of the target UI object
designated by the user.
• > Help > Sample > Sample > SAP > Get Grid Detail > P_GetGridData_Test_SAP
Input - - - - -
Output Result Required String Text Specify the variable to import ColumnID.
Activit SearchColu Required String Text Enter the name of the column to import
y mn ColumnID.
Target Image Unable to enter - - Shows the image of the target UI object
designated by the user.
204
Designing Projects - Designing with the Library
• > Help > Sample > Sample > SAP > Get Grid Detail > P_GetGridColumnID_Test_SAP
Input - - - - -
Output Result Required String Text Specify the variable to import row count.
Target Image Unable to enter - - Shows the image of the target UI object
designated by the user.
• > Help > Sample > Sample > SAP > Get Grid Detail > P_GetGridRowCount_Test_SAP
Input - - - - -
Output Result Required String Text Specify the variable to import column count.
Target Image Unable to enter - - Shows the image of the target UI object
designated by the user.
205
Designing Projects - Designing with the Library
• > Help > Sample > Sample > SAP > Get Grid Detail > P_GetGridColCount_Test_SA
Input - - - - -
Output Result Required Two-dimensional Text Specify the variable to import all the data
array of string. within SAP Grid table.
Target Image Unable to enter - - Shows the image of the target UI object
designated by the user.
Input - - - - -
Output Result Required String Text Specify the variable to import row count within
the specified table.
Target Image Unable to enter - - Shows the image of the target UI object designated
by the user.
206
Designing Projects - Designing with the Library
Input - - - - -
Output Result Required String Text Specify the variable to import column count within
the specified table.
Target Image Unable to enter - - Shows the image of the target UI object designated
by the user.
Input - - - - -
Output Result Required String Text Specify the variable to bring content of specific
cell within the table.
Table Required Numbe W h o l e Enter the location of the row to import content.
Row r number
Target Image Unable to enter - - Shows the image of the target UI object
designated by the user.
Input - - - - -
207
Designing Projects - Designing with the Library
Output Result Required String Text Specify the variable to enter content on the
specific cell within the table.
Table Required Numbe W h o l e Enter the location of the row to enter content.
Row r number
Table Required Numbe W h o l e Enter the location of the column to enter content.
Column r number
Target Image Unable to enter - - Shows the image of the target UI object
designated by the user.
SelectComboItem selects a value of user's choice from the UI object in the form of a combo box.
Input - - - - -
Output Result Required String Text Specify the variable to get the desired value from the UI
object in the form of a combo box.
Target SelectI Required Numbe Positiv Enter index of the item to select.
ndex r e num The index starts from 0.
bers
Image Unable to enter - - Shows the image of the target UI object designated by
the user.
• > Help > Sample > Sample > SAP > Other Samples > P_SelectComboItem_Test_SAP
208
Designing Projects - Designing with the Library
Input - - - - -
Output - - - -
Activit MacroFileP Required String Text Specify the target file path of the SAP Macro
y ath to be executed.
Input - - - - -
Output - - - -
Input - - - - -
209
Designing Projects - Designing with the Library
Output - - - -
You can specify an image as the target UI using the features provided by the ImageRecognition
library. If a user captures an image, a library action is performed by recognizing the same UI factor as
this image. You can perform actions, such as clicking a specific position of image or converting the
characters inside an image into texts.
210
Designing Projects - Designing with the Library
Common Properties
1 Timeout Required Numbe Second Enter the duration to search for the target UI
r object in seconds.
2 Search Conditional String Text Set to search within the given area and not the
Bounds entire zone.
1 Image Requir Event - Shows the captured image. If you double-click the image, you
211
Designing Projects - Designing with the Library
2 Bounds Unable Numbe Pixel Shows the position and size of the target UI object designated by
t o r the user as relative coordinates based on the screen.
enter
1 O n Conditi Event - Specify an action to carry out when an error occurs at the time
Error onal of execution.
• If not specified: Output errors and exit the task.
• Ignore: Output log and proceed to the next activity.
• Retry: Exit task if an error occurs even after a retry.
• If handler is specified: Call specified handler.
212
Designing Projects - Designing with the Library
2. You can capture the area by dragging over the desired area.
Input - - - - -
Output - - - -
Activit Thresh Required Numbe 0 to 100 Enter a value between 0-100 to set the similarity
y old r of images.
The probability of not matching becomes higher
as it gets closer to 0.
• > Help > Sample > Sample > ImageRecognition > Mouse Action > P_ImageClick_Test
213
Designing Projects - Designing with the Library
Input - - - - -
Output - - - -
Activit Thresh Required Numbe 0 to 100 Enter a value between 0-100 to set the similarity
y old r of images.
The probability of not matching becomes higher
as it gets closer to 0.
• > Help > Sample > Sample > ImageRecognition > Mouse Action >
P_ImageHover_Test
Input - - - - -
Output - - - -
Activit Thresh Required Numbe 0 to 100 Enter a value between 0-100 to set the similarity
y old r of images.
The probability of not matching becomes higher
as it gets closer to 0.
214
Designing Projects - Designing with the Library
Point r
• > Help > Sample > Sample > ImageRecognition > Mouse Action >
P_ImageRightClick_Test
Input - - - - -
Output - - - -
Activit Thresh Required Numbe 0 to 100 Enter a value between 0-100 to set the similarity
y old r of images.
The probability of not matching becomes higher
as it gets closer to 0.
• > Help > Sample > Sample > ImageRecognition > Mouse Action >
P_ImageDoubleClick_Test
215
Designing Projects - Designing with the Library
Input - - - - -
Output - - - -
Activit Thresh Requir Numbe 0 to Enter a value between 0-100 to set the similarity of images.
y old ed r 100 The probability of not matching becomes higher as it gets closer
to 0.
Clear Requir True/F - Set to True and clear all before the input.
Before ed alse Set to False and do not clear before the input.
Done(E Requir True/F - Set to True, run Enter after the input.
nter) ed alse Set to False and do nothing.
Option Before Conditi Numbe Positiv Allows the delay time before the text input.
s Delay onal r e num
ber/ms
After Conditi Numbe Positiv Execute by setting the delay time after the text input.
Delay onal r e num
ber/ms
Interva Conditi Numbe Positiv Adjust the performing speed by allowing the delay time
l onal r e num between each character.
ber/ms
More R a w Requir True/F - Use a low level keyboard event to determine whether to enter a
Event ed alse string. You can enter only English, Korean, or special characters
that you can type with the keyboard.
216
Designing Projects - Designing with the Library
• > Help > Sample > Sample > ImageRecognition > Mouse Action >
P_ImageDoubleClick_Test
Input - - - - -
Output Result Required String Text Specify the variable to save the color value of the
designated coordinates from the image.
Activit Offset Required Numbe Pixel Enter the relative coordinates to retrieve the color from.
y r
• > Help > Sample > Sample > ImageRecognition > Other Samples >
P_GetImageColor_Test
You can find the specified image on the current screen and import the corresponding coordinates.
You can also import the corresponding coordinates by specifying Offset by pressing the Alt key before
specifying the image and finding the specified image by applying Offset.
Input - - - - -
217
Designing Projects - Designing with the Library
Output Result Required String Text Returns the Image Areaof the found target.
Activit Thresh Required Numbe 0 to 100 Enter a value between 0-100 to set the
y old r similarity of images.
The probability of not matching becomes
higher as it gets closer to 0.
Offset Conditional Area X,Y,Width,H You can set the specified image to restore the
Bounds eight area specified as Offset.
• > Help > Sample > Sample > ImageRecognition > Wait Image Target >
P_GetImageBounds_Test
Input - - - - -
Output Result Required String Text Specify the variable to save the search result of whether a
specific image is displayed on the screen.
Activit Thresh Required Numbe 0 to Enter a value between 0-100 to set the similarity of images.
y old r 100 The probability of not matching becomes higher as it gets
closer to 0.
• > Help > Sample > Sample > ImageRecognition > Other Samples >
218
Designing Projects - Designing with the Library
P_IsExist_Image_Test
MatchImages returns a filename by finding an image file that matches with the image inside a specific
folder within a specified area. An empty string is returned if there is no matching image.
Input - - - - -
Output Result Required String Text Specify the variable to save the image file that matches with
the image inside a specific folder within a specific area.
Activit Thresh Required Numbe 0 to Enter a value between 0-100 to set the similarity of images.
y old r 100 The probability of not matching becomes higher as it gets
closer to 0.
Image SourceI Required String Text Select the path of the image file to compare.
mageP
ath
• > Help > Sample > Sample > ImageRecognition > Other Samples >
P_MatchImage_Test
Input - - - - -
219
Designing Projects - Designing with the Library
Output Result Required String Text Returns the discovery result of the target image as
True or False.
Activit Thresh Required Numbe 0 to 100 Enter a value between 0-100 to set the similarity
y old r of images.
The probability of not matching becomes higher
as it gets closer to 0.
• > Help > Sample > Sample > ImageRecognition > Wait Image Target >
P_WaitImageAppear_Test
Input - - - - -
Output Result Required String Text Returns Trueif the target image disappear from the screen.
Returns Falseif it does not disappear.
Activit Thresh Required Numbe 0 to Enter a value between 0-100 to set the similarity of images.
y old r 100 The probability of not matching becomes higher as it gets
closer to 0.
• > Help > Sample > Sample > ImageRecognition > Wait Image Target >
P_WaitImageDisappear_Test
220
Designing Projects - Designing with the Library
Input - - - - -
Output - - - -
Activit C a p t u r e Required String Text Enter download path and file name of the
y Path captured image.
• > Help > Sample > Sample > ImageRecognition > Capture Screen >
P_CaptureScreen_Test
Input - - - - -
Output - - - -
Activit Index Conditi Numbe Positiv Enter the index to identify the target UI object from the UI
y onal r e num object list with identical information.
Input bers If there is a transparent object around the target UI object that is
invisible, or if the area of the object overlaps with a nearby UI
object, the nearby object may be recognized instead of the target
UI object. In this case, set to also scan the area of the
surrounding object using the Search Around option.
Captur Requir String Text Enter download path and file name of the captured image.
221
Designing Projects - Designing with the Library
e Path ed
Check Requir True/F - Set whether to check the Name properties when comparing UI
Name ed alse objects.
Check Requir True/F - Set whether to check the Value properties when comparing UI
Value ed alse objects.
Check Requir True/F - Set whether to check the size properties when comparing UI
Size ed alse objects.
IsOnly Requir True/F - If set to True, the specified object is saved as an image file. If set
Target ed alse to False, the window containing the specified object is saved as
an image file.
Target Applica Unable String Text Shows the name of the target UI object app.
tion t o
enter
Title Unable String Text Shows the title of the target UI object app.
t o The title may be changed depending on the app status, so it is
enter not essential for the title to match for UI object comparison.
However, when there is a multiple detection of apps that are
identical then the UI object that has the same title is selected.
Type Unable String Text Shows the class type of the target UI object.
t o
enter
Name Unable String Text Shows the name information of the target UI object.
t o Mostly, a text string that can be represented on a screen will
enter show, but a value may not be displayed even if it exists,
depending on the app implementation method.
For Name, Value, Title, you can use a regular expression using
the '\\:' keyword or enter a variable like this.SearchText.
However, the node inspection feature is unavailable if a
variable is entered.
Value Conditi String Text Shows the value information of the target UI object.
onal The text string that can be represented on a screen may be
displayed on this item instead of the Name item, depending on
the app implementation method. Or, a value may not be
displayed even if it exists.
More Timeou Requir Numbe Second Enter the duration to search for the target UI object in seconds.
t ed r
222
Designing Projects - Designing with the Library
Search Conditi String Text Search within the given area and not the entire zone.
Bounds onal
Input
Object Conditi True/F - Enter the path information of the target UI object designated by
Path onal alse the user within single quotation marks.
Input If the at (@) symbol is used, such as '@//Button', this will be
considered as the XPath syntax. Then the entire UI structure of
the designated target app will be generated in the XML format
to search the target UI object information using the XPath
syntax.
For more information on the XML structure, see
GetHierarchyInfo.
Size To Conditi Numbe Positiv Enter the allowed margin of error when Check Size is set as
lerance onal r e num True.
Input bers
Check Requir True/F - Set whether to check the Title properties when comparing UI
Title ed alse objects.
Focus Requir True/F - Set whether to focus on the UI object before generating an
Before ed alse event.
If the focus cannot be set on the target UI object, the focus is set
to the main screen of the target app. If the target UI object is
hidden by another app, the app is moved to the front. If there
are multiple target apps running, the app at the front is scanned
first. If the target UI object is not found, the app at the back is
brought to the front for a scan.
Draw Requir True/F - Set whether to show a bounding box when a UI object is found
Bounds ed alse upon execution.
Check Requir True/F - Set whether to check the upper UI object instead of comparing
Path ed alse the UI object on the screen when searching for the target UI
object.
223
Designing Projects - Designing with the Library
Search Requir True/F - Set whether to check the nearby UI objects additionally for
Aroun ed alse exact identification of the UI object.
d
Input Captur Requir String Text Set the area imported from GetImageBounds as a variable or
eBoun ed enter the area you want to capture by entering values for Left,
ds Top, Width, and Height.
Output - - - -
Activit Captur Requir String Text Enter download path and file name of the captured image.
y e Path ed
SaveCli Requir True/F True/F Set whether you want to save the captured area to the clipboard
pBoard ed alse alse or to a file.
• > Help > Sample > Sample > ImageRecognition > Capture Screen >
P_CaptureBounds_Test
224
Designing Projects - Designing with the Library
You can import a specific area of the specified file to a file or the clipboard.
Paste the results into another program to check the results because this function can only be saved to
the clipboard.
To save the captured image directly, use ClipboardToFile to save it as a file in a specified path.
Input - - - -
Output - - - -
Activit CaptureBo Required String Text Enter the area to capture in the form of x, y,
y unds width, and height.
SourceIma Required String Text Enter the path of the object to capture.
gePath
SaveClipBo Required True/F True/F Set whether you want to save the captured area
ard alse alse to the clipboard or to a file.
• > Help > Sample > Sample > ImageRecognition > Iamge_16 > CaptureFromFile_Test
ImageRecognition(OCR) Library
Among the features provided by the ImageRecognition library, you can perform an action that
returns the characters and tables inside an image in the form of text or arrays through the OCR
server.
It works by using the OCR server so that you can use it only when the designer is logged in to the
account.
● Features using OCR to extract the information from the image (GetImageText, GetImageTextInfo,
GetImageTable, GetImageFieldData, GetTextOnFile, GetTableOnFile)
● Mouse Action based on the extracted information from an image using OCR
● (TextClick, TextDoubleClick, TextRightClick, TextHover)
225
Designing Projects - Designing with the Library
Common Properties
226
Designing Projects - Designing with the Library
1 O n Conditi Event - Specify an action to carry out when an error occurs at the time
Error onal of execution.
• If not specified: Output errors and exit the task.
• Ignore: Output log and proceed to the next activity.
• Retry: Exit task if an error occurs even after a retry.
• If handler is specified: Call specified handler.
227
Designing Projects - Designing with the Library
GetImageFieldData returns the bounds and text information from a specific image file.
Input - - - - -
Output Output Required String Text Specify the variable to import text within an
image by executing OCR.
OCR Targetimag Required String Text Enter the path of the target image to read.
ePath
Field values are assigned by the template created in the AdminPortal, so the field name can
228
Designing Projects - Designing with the Library
be modified.
• result value
"Field1": "Date:2019.12.03 SAMSUNG SDS CORP.",
"Field2": "Request Number:#100000"
"Table": [
{
"Field1": "DATE",
"Field2": "ITEM",
"Field3": "AMOUNT",
"Field4": "DESCRIPTION"
},
{
"Field1": "2019.11.29",
"Field2": "ITEM A",
"Field3": "10",
"Field4": "DESC1"
},
{
"Field1": "2019.11.30",
"Field2": "IT?VI B",
"Field3": "20",
"Field4": "DESC2"
},
{
"Field1": "2019.12.01",
"Field2": "ITEMC",
"Field3": "30",
"Field4": "DESC3"
},
{
"Field1": "2019.12.02",
"Field2": "ITEMD",
229
Designing Projects - Designing with the Library
"Field3": "40",
"Field4": "DESC4"
}
• > Help > Sample > Sample > ImageRecognition > Iamge_16 >
P_GetImageFieldData_Test
Input - - - - -
Output Result Required String Text Specify the variable to import text by
executing OCR.
OCR Scale Required Numbe % Set the scale (scale) to apply when scanning
r an image.
INVOICE
Date : 2019.12.03 SAMSUNG SDS CORP.
Request Number: #100000
• > Help > Sample > Sample > ImageRecognition > Other Samples >
P_GetImageText_Test
230
Designing Projects - Designing with the Library
GetImageTextInfo returns the image information, such as height and width, by recognizing the image
and reading in the text.
Input - - - - -
Output Result Require String Text Specify the variable to save the result of OCR execution results
d such as image information(height, width), etc.
OCR Scale Require Numbe % Set the scale (scale) to apply when scanning an image.
d r
Table[0][0]
Bounds(206,459,93,29)-Text(DATE)
Table[0][1]
Bounds(623,460,83,28)-Text(ITEM)
Table[0][2]
Bounds(935,459,159,29)-Text(AMOUNT)
Table[0][3]
Bounds(1303,459,248,29)-Text(DESCRIPTION)
Table[1][0]
Bounds(162,564,179,28)-Text(2019.11.29)
Table[1][1]
Bounds(606,564,119,29)-Text(ITEM A)
Table[1][2]
Bounds(997,564,38,29)-Text(10)
Table[1][3]
231
Designing Projects - Designing with the Library
Bounds(1362,564,125,29)-Text(DESC1)
Table[2][0]
Bounds(162,669,179,28)-Text(2019.11.30)
Table[2][1]
Bounds(605,669,119,29)-Text(ITEMB)
Table[2][2]
Bounds(995,669,40,29)-Text(20)
Table[2][3]
Bounds(1362,669,130,29)-Text(DESC2)
Table[3][0]
Bounds(161,774,176,27)-Text(2019.12.01)
Table[3][1]
Bounds(604,774,122,29)-Text(ITEMC)
Table[3][2]
Bounds(995,774,40,29)-Text(30)
Table[3][3]
Bounds(1362,774,130,29)-Text(DESC3)
Table[4][0]
Bounds(161,879,181,27)-Text(2019.12.02)
Table[4][1]
Bounds(604,879,121,29)-Text(ITEMD)
Table[4][2]
Bounds(994,879,41,29)-Text(40)
Table[4][3]
Bounds(1362,879,130,29)-Text(DESC4)
Bounds(721,56,336,56)-Text(INVOICE)
Bounds(83,242,1609,27)-Text(Date : 2019.12.03 SAMSUNG SDS CORP.)
• > Help > Sample > Sample > ImageRecognition > Other Samples >
P_GetImageTextInfo_Test
232
Designing Projects - Designing with the Library
Input - - - - -
Output Result Required String Text Specify the variable to import text within table
by executing OCR.
OCR Scale Required Numbe % Set the scale (scale) to apply when scanning an
r image.
• result[row][column]
result[0][0] -> DATE
• result value
0: DATE | ITEM | AMOUNT | DESCRIPTION
1: 2019.11.29 | ITEMA | 10 | DESC1
2: 2019.11.30 | ITEMB | 20 | DESC2
3: 2019.12.01 | ITEMC | 30 | DESC3
4: 2019.12.02 | ITEMD | 40 | DESC4
• > Help > Sample > Sample > ImageRecognition > Other Samples >
P_GetImageTable_Test
GetTextOnFile returns string by recognizing the text of a specific image file using OCR.
233
Designing Projects - Designing with the Library
Input - - - - -
Output Output Required String Text Specify the variable to import text within an
image by executing OCR.
OCR Scale Required Numbe % Set the scale (scale) to apply when scanning an
r image.
Targetimag Required String Text Enter the path of target image to read.
ePath
GrayFilter Required True/F - When set to True, it converts the image to black
alse and white.
When set to False, it is not used (non-mono
color).
ThresholdFi Required True/F - When set to True, it converts the image to black
lter alse and white.
When set to False, it is not used.
It must be used with the GrayFilter.
• result value
INVOICE
Date : 2019.12.03 SAMSUNG SDS CORP.
Request Number: #100000
• > Help > Sample > Sample > ImageReecognition > Image_16 > P_GetTextOnFile_Test
GetTextInfoFile returns the bounds and text information of specific image files.
234
Designing Projects - Designing with the Library
Input - - - - -
Output Output Required String Text Specify the variable to import text within an
image by executing OCR.
OCR Scale Required Numbe % Set the scale (scale) to apply when scanning an
r image.
Targetimag Required String Text Enter the path of target image to read.
ePath
GrayFilter Required True/F - When set to True, it converts the image to black
alse and white.
When set to False, it is not used (non-mono
color).
ThresholdFi Required True/F - When set to True, it converts the image to black
lter alse and white.
When set to False, it is not used.
It must be used with the GrayFilter.
• result value
Table[0][0]
Bounds(206,459,93,29)-Text(DATE)
Table[0][1]
Bounds(623,460,83,28)-Text(ITEM)
Table[0][2]
Bounds(935,459,159,29)-Text(AMOUNT)
Table[0][3]
Bounds(1303,459,248,29)-Text(DESCRIPTION)
Table[1][0]
Bounds(162,564,179,28)-Text(2019.11.29)
235
Designing Projects - Designing with the Library
Table[1][1]
Bounds(606,564,119,29)-Text(ITEM A)
Table[1][2]
Bounds(997,564,38,29)-Text(10)
Table[1][3]
Bounds(1362,564,125,29)-Text(DESC1)
Table[2][0]
Bounds(162,669,179,28)-Text(2019.11.30)
Table[2][1]
Bounds(605,669,119,29)-Text(ITEMB)
Table[2][2]
Bounds(995,669,40,29)-Text(20)
Table[2][3]
Bounds(1362,669,130,29)-Text(DESC2)
Table[3][0]
Bounds(161,774,176,27)-Text(2019.12.01)
Table[3][1]
Bounds(604,774,122,29)-Text(ITEMC)
Table[3][2]
Bounds(995,774,40,29)-Text(30)
Table[3][3]
Bounds(1362,774,130,29)-Text(DESC3)
Table[4][0]
Bounds(161,879,181,27)-Text(2019.12.02)
Table[4][1]
Bounds(604,879,121,29)-Text(ITEMD)
Table[4][2]
Bounds(994,879,41,29)-Text(40)
Table[4][3]
Bounds(1362,879,130,29)-Text(DESC4)
Bounds(721,56,336,56)-Text(INVOICE)
Bounds(83,242,1609,27)-Text(Date : 2019.12.03 SAMSUNG SDS CORP.)
Bounds(83,285,447,35)-Text(Request Number: #100000)
• > Help > Sample > Sample > ImageRecognition > Image_16 >
P_GetTextInfoOnFile_Test
236
Designing Projects - Designing with the Library
GetTableOnFile returns the information in the form of two dimensional array by recognizing the table
image.
Input - - - - -
Output Output Required String Text Specify the variable to import text within an
image by executing OCR
OCR Scale Required Numbe % Set the scale (scale) to apply when scanning an
r image.
Targetimag Required String Text Enter the path of target image to read.
ePath
GrayFilter Required True/F - When set to True, it converts the image to black
alse and white.
When set to False, it is not used (non-mono
color).
ThresholdFi Required True/F - When set to True, it converts the image to black
lter alse and white.
When set to False, it is not used.
It must be used with the GrayFilter.
• result[row][column]
result[0][0] -> DATE
• result value
0: DATE | ITEM | AMOUNT | DESCRIPTION
1: 2019.11.29 | ITEMA | 10 | DESC1
2: 2019.11.30 | ITEMB | 20 | DESC2
3: 2019.12.01 | ITEMC | 30 | DESC3
4: 2019.12.02 | ITEMD | 40 | DESC4
237
Designing Projects - Designing with the Library
• > Help > Sample > Sample > ImageRecognition > Image_16 > P_GetTableOnFile_Test
Input - - - - -
Output Result Required String Text Specify the variable to search and click specific text
from an image.
Activit Index Conditional String Text Enter the index to identify the object from the object
y list with identical information.
OCR Scale Required Numbe % Set the scale (scale) to apply when scanning an image.
r
• > Help > Sample >Sample > ImageRecognition > Mouse Action > P_TextClick_Test
Input - - - - -
Output Result Required String Text Specify the variable to search and double-click specific
238
Designing Projects - Designing with the Library
Activit Index Conditional String Text Enter the index to identify the object from the object
y list with identical information.
OCR Scale Required Numbe % Set the scale (scale) to apply when scanning an image.
r
Input - - - - -
Output Result Required String Text Specify the variable to search and right-click specific
text from an image.
Activit Index Conditional String Text Enter the index to identify the object from the object
y list with identical information.
OCR Scale Required Numbe % Set the scale (scale) to apply when scanning an image.
r
• > Help > Sample > Sample > ImageRecognition > Mouse Action >
P_TextRightClick_Test
239
Designing Projects - Designing with the Library
TextHover finds specific text from an image and places the mouse cursor.
Input - - - - -
Output Result Required String Text Specify the variable to search and hover mouse cursor
over specific text from an image.
Activit Index Conditional String Text Enter the index to identify the object from the object list
y with identical information.
OCR Scale Required Numbe % Set the scale (scale) to apply when scanning an image.
r
Target Conditional String Text Enter the text to hover the mouse cursor over within the
Text single quotation marks.
• > Help > Sample > Sample > ImageRecognition > Mouse Action > P_TextHover_Test
System Library
You can control the system using the features provided by the System library.
The features provided by the System library are as follows:
240
Designing Projects - Designing with the Library
Common Properties
1 Path Required String Text Specify the path to execute the file to create, copy,
check, delete, etc.
You can create only the files of text format, such as TXT, XML, or HTML. You cannot create
file formats prepared by specific apps, such as Excel or Word documents.
241
Designing Projects - Designing with the Library
1 O n Conditi Event - Specify an action to carry out when an error occurs at the time
Error onal of execution.
• If not specified: Output errors and exit the task.
• Ignore: Output log and proceed to the next activity.
• Retry: Exit task if an error occurs even after a retry.
• If handler is specified: Call specified handler.
Input - - - - -
242
Designing Projects - Designing with the Library
Output - - - - -
Comma Overwr Conditional True/Fa Select whether to overwrite the file if the same
nd ite lse filename already exists.
Input - - - - -
Output Output Conditional String Text Specify the variable to save the PID of the
launched app.
CloseFile closes the running file that was executed by using the PID returned from running the
ExecuteFile library.
Input - - - - -
Output - - - - -
Comm PID Required String Text Enter PID returned from running the
and ExecuteFile library.
243
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
Overwrit Conditional True/Fa Text Select whether to overwrite the file if the same
e lse filename already exists.
Input - - - - -
Output - - - - -
Input - - - - -
Output Output Required String Text Specify the variable to save the search result of
whether a specific file exists.
244
Designing Projects - Designing with the Library
Input - - - - -
WriteTextFile inputs and saves string in the text document of specified path.
Input - - - - -
Output - - - - -
Text Required String Text Enter the string to input within single quotation
marks.
Overw Conditional True/F - Select whether to overwrite the Directory name if the
rite alse same directory already exists.
Input - - - - -
245
Designing Projects - Designing with the Library
Output - - - - -
• > Help > Sample > Sample > System > Manage Directory > P_CreateDrectory_Test
Input - - - - -
Output Output Required String Text Specify the variable to save the search result of
whether a specific directory exists.
• > Help > Sample > Sample > System > Manage Directory > P_IsDrectoryExist_Test
Input - - - - -
Output - - - - -
Comm SrcFileP Required String Text Enter the original directory path.
246
Designing Projects - Designing with the Library
and ath
Overwri Conditional True/F - Select whether to overwrite the Directory name if the
te alse same directory already exists.
• > Help > Sample > Sample > System > Manage Directory > P_CopyDrectory_Test
Input - - - - -
Output - - - - -
• > Help > Sample > Sample > System > Manage Directory > P_DeleteDrectory_Test
247
Designing Projects - Designing with the Library
Input - - - - -
Output Output Required String Text Specify the variable to save the imported
file list.
Input - - - - -
Output Output Required String Text Specify the variable to save the subdirectory list of the
directory the user specified.
• > Help > Sample > Sample > System > Manage Directory > P_GetDrectoryList_Test
InputBox displays the input box where user can enter data on the screen.
Input - - - - -
Output Variabl Required String Text Set the variable to save the input value.
e If the user does not enter a value, the value of the specified
variable is converted into a string and returned.
248
Designing Projects - Designing with the Library
Conditi Default Condition String Text Enter the value to display on the InputBox within single
on Value al quotation marks.
• > Help > Sample > Sample > System > Other Samples > P_InputBox_Test
Output - - - - -
The value output to the MessageBox operates only in case of performing in the Designer.
This can be used for debugging when writing a scenario.
• > Help > Sample > Sample > System > Other Samples > P_MessageBox_Test
249
Designing Projects - Designing with the Library
Input - - - - -
Output Output Required String Text Specify the variable to save the value read from
the clipboard.
• > Help > Sample > Sample > System > Utilize Clipboard > P_GetClipboard_Test
Input - - - - -
Output - - - - -
• > Help > Sample > Sample > System > Utilize Clipboard > P_SetClipboard_Test
250
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
Comma DataFor Required Event - Select the type of file to save the content of the
nd mat clipboard.
Overwri Conditional True/Fa - Select whether to overwrite the file if the same
te lse filename already exists.
• > Help > Sample > Sample > System > Utilize Clipboard > P_ClipboardToFile_Test
Input - - - - -
• > Help > Sample > Sample > System > Other Samples > P_GetSpecialFolder_Test
251
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
Comma BeforeDe Conditional Number Second Specify the time to delay before executing
nd lay screen capture event.
AfterDela Conditional Number Second Specify the time to delay after executing
y screen capture event.
FullScree Conditional True/Fa Second Select whether to capture the entire screen.
n lse
• > Help > Sample > Sample > System > Manage Directory > P_ScreenShot_Test
Copy (Ctrl+C) generates a copy event on the screen that is currently focused on.
This has the same effect as Ctrl+C shortcut key on the keyboard.
Input - - - - -
Output - - - - -
Comma BeforeDel Conditional Numbe Second Specify the time to delay before executing
nd ay r copy event.
AfterDela Conditional Numbe Second Specify the time to delay after executing
y r copy event.
252
Designing Projects - Designing with the Library
• > Help > Sample > Sample > System > Other Samples > P_Copy_Ctrl_C_Test
Cut (Ctrl+X) generates a cut event on the screen that is currently focused on.
This has the same effect as Ctrl+X shortcut key on the keyboard.
Input - - - - -
Output - - - - -
Comman BeforeDel Conditional Numbe Second Specify the time to delay before executing
d ay r cut event.
AfterDela Conditional Numbe Second Specify the time to delay after executing
y r cut event.
• > Help > Sample > Sample > System > Other Samples > P_Cut_Ctrl_X_Test
Paste (Ctrl+V) generates a paste event on the screen that is currently focused on.
This has the same effect as Ctrl+V shortcut key on the keyboard.
Input - - - - -
Output - - - - -
253
Designing Projects - Designing with the Library
Comma BeforeDel Conditional Numbe Second Specify the time to delay before executing
nd ay r paste event.
AfterDela Conditional Numbe Second Specify the time to delay after executing
y r paste event.
• > Help > Sample > Sample > System > Other Samples > P_Paste_Ctrl_V_Test
SelectAll (Ctrl+A) generates a select all event on the screen that is currently focused on.
This has the same effect as Ctrl+A shortcut key on the keyboard.
Input - - - - -
Output - - - - -
Comma BeforeDel Conditional Numbe Second Specify the time to delay before executing
nd ay r select all event.
AfterDela Conditional Numbe Second Specify the time to delay after executing
y r select all event.
• > Help > Sample > Sample > System > Manage Directory > P_SelectAll_Test
254
Designing Projects - Designing with the Library
ExecuteCmd executes a program command in the background and returns the execution result.
This will be executed in a state that is not visible on the screen.
Input - - - - -
Output Output Conditional String Text Specify the variable to save the execution result of target
program.
The returned value becomes the standard output string
generated when carrying out a command.
Comm Comm Required String Text Enter a command to execute within single quotation
and and marks.
Argum Conditional String Text Enter the argument necessary for the execution command
ent within single quotation marks.
Timeou Required Numbe Second Enter time to wait before the command is completed. (ms
t r unit)
• > Help > Sample > Sample > System > Other Samples > P_ExecuteCmd_Test
TimeStamp returns the elapsed time from the specified time to the current time in milliseconds.
Input - - - - -
Output Output Required String Text Set the variable to save elapsed time.
Comman BaseTime Required Numbe Second Enter the start time to calculate
d r elapsed time.
255
Designing Projects - Designing with the Library
• > Help > Sample > Sample > System > Other Samples > P_TimeStamp_Test
Input - - - - -
Output Output Conditional String Text Specify the variable to save the registry
key value.
• > Help > Sample > Sample > System > Edit Registry > P_GetRegistryValue_Test
Input - - - - -
Output - - - -
256
Designing Projects - Designing with the Library
• > Help > Sample > Sample > System > Edit Registry > P_SetRegistryValue_Test
Input - - - - -
Output - - - -
Overwrit Conditional True/Fa - Select whether to overwrite the file if the same
e lse filename already exists.
257
Designing Projects - Designing with the Library
Input - - - - -
Output - - - -
DBConnection connects DB with MsSQL, Oracle, etc. The ODBC driver must be installed to connect DB.
Input - - - - -
Output Connectio Required String Text Enter the variable to connect with
n specific DB.
DataSourc Required String Text Enter the variable to import and save
e data source.
• > Help > Sample > Sample > System > DBLibrary > MSSQL
258
Designing Projects - Designing with the Library
Output Output Required String Text Enter the variable to save imported
field data.
Input Input Required String Text Enter the target field to update the data.
Connecti Required String Text Select DB of the specific data field to update.
on
DataSou Required String Text Specify the variable to update the data.
rce
Output Output Required String Text Enter the variable to save the result of field
data update.
• > Help > Sample > Sample > System > DBLibrary > MSSQL
259
Designing Projects - Designing with the Library
Output Output Required String Text Enter the variable to save the query execution
result.
DataS o C o m m Required String Text Enter a command to execute query within single
urce and quotation marks.
• > Help > Sample > Sample > System > DBLibrary > MSSQL
Input - - - - -
Output - - - - -
Comm SrcFilePat Required String Text Specify the original folder or file to compress.
and h
DestDirPa Required String Text Specify the location to save the compressed
th target file.
260
Designing Projects - Designing with the Library
Overwrite Conditional True/Fals - Select whether to overwrite the file if the same
e filename already exists.
Input - - - - -
Output - - - - -
Comm SrcFile Requir String Text Specify the Zip file to decompress.
and Path ed
Overw Conditi True/F - Select whether to overwrite the file if the same filename already
rite onal alse exists.
MakeD Conditi True/F - Select whether to decompress after creating a folder called
irectoy onal alse 'compressed file name' under the target folder to be
decompressed.
IsFileLock checks whether the status of the specified file is locked as it is currently being used to
execute different processes.
Input - - - - -
261
Designing Projects - Designing with the Library
Output Output Required String Text Specify the variable to save the test result of whether the
designated file is being executed.
Comm Path Required String Text Specify the file to check whether the file is being
and executed.
WaitFileUnlock properties
Input - - - - -
Output Output Required String Text Specify the variable to wait until the
designated file closes.
Comma Timeout Required Numbe Second Enter the number of seconds to wait before
nd r the file closes.
Path Required String Text Specify the target file to wait for.
Input - - - - -
Output Output Required String Text Specify the variable to wait until the
designated file is created.
Comma Timeout Required Numbe Second Enter the number of seconds to wait before the
nd r file is created.
262
Designing Projects - Designing with the Library
Path Required String Text Specify the target file to wait for.
WaitFileDelete properties
Input - - - - -
Output Output Required String Text Specify the variable to wait until the
designated file is deleted.
Comma Timeout Required Numbe Second Enter the number of seconds to wait before the
nd r file is deleted.
Path Required String Text Specify the target file to wait for.
FlowControl Library
You can control process flows using the features provided by the FlowControl library.
You can perform repetitive tasks, set another task depending on the condition, or delay or end process
flows using specific conditions.
263
Designing Projects - Designing with the Library
Common Properties
1 O n Conditi Event - Specify an action to carry out when an error occurs at the time
Error onal of execution.
· If not specified: Output errors and exit the task.
· Ignore: Output log and proceed to the next activity.
· Retry: close task if an error occurs even after a retry.
· If handler is specified: Call specified handler.
264
Designing Projects - Designing with the Library
If (Decision-making)
You can create True or False branching statements that perform different actions depending on the
conditions. The If/else statement of JavaScript is as follows:
Input - - - - -
Output - - - -
• > Help > Sample > Sample > Flow Control > Flow Control_15 > P_If_Test
265
Designing Projects - Designing with the Library
266
Designing Projects - Designing with the Library
Input - - - - -
Output - - - -
For (Repetition)
You can create a loop This is same as the loop statement of JavaScript.
Input - - - - -
Output - - - -
Condition Initialize Required String Text Enter the initial value of index.
• > Help > Sample > Sample > Flow Control > Flow Control_15 > P_For_Test
You can create a loop to import list items in order. This is same as the foreach statement of JavaScript.
267
Designing Projects - Designing with the Library
Input - - - - -
Output - - - -
Conditi For List Required String Text Enter variable of the list type with data.
on
Each Item Required String Text Enter the variable to allocate item one by one
from the list type.
For-of / Required String Text Use for the same purpose as JavaScript syntax.
For-in
• > Help > Sample > Sample > Flow Control > Flow Control_15 > P_Foreach_Test
You can create a loop to perform up to specific conditions. This is same as the while statement of
JavaScript.
Input - - - - -
Output - - - -
• > Help > Sample > Sample > Flow Control > Flow Control_15 > P_While_Test
268
Designing Projects - Designing with the Library
You can create a loop to perform up to specific conditions. This is same as the Do-while statement of
JavaScript.
Input - - - - -
Output - - - -
• > Help > Sample > Sample > Flow Control > Flow Control_15 > P_DoWhile_Test
Input - - - - -
Output - - - - -
• > Help > Sample > Sample > Flow Control > Flow Control_15 > P_Delay_Test
269
Designing Projects - Designing with the Library
Input - - - - -
Output Variable Required String Text Specify the variable to allocate value.
Activity Value Required String Text Enter the value to allocate to the
variable.
• > Help > Sample > Sample > Flow Control > Flow Control_15 > P_Assign_Test
DataConverter returns with the desired format by converting the input data or extracting the data to
meet the desired type.
Input Input Required String Text Enter the data to be entered to DataConverter.
Output Output Required String Text Enter the data returned from DataConverter.
Conver Type Required Event - Select the list of converter type (String, Number,
ter Date, Json, Xml).
Metho Required Event - Select the type of method that can be used.
d For type of method, refer to the type of method.
270
Designing Projects - Designing with the Library
Format Returns after entering input value for Arg in FormatString. Input: 'This is
{0}'
Args: 'Sample'
Output > 'This is
Sample'
Trim Convert entered data to string type and remove leading and
trailing spaces.
ReplaceAll Find specific string from the entered input string and change it Args: 'aa', 'bb'
all to replacement string. (Chang all aa to
bb)
Split Save by dividing entered string into specific characters. Args: ':'
(Divide the
string by :)
ExtractByRe Returns value from the entered string that matches the regular
gex expression entered in Args.
Round Returns the entered data after being rounded to the decimal
point.
Enter a number in Arg and it will round up to that number of
digits.
Ceil Returns the entered data after the decimal point is discarded.
Floor Returns the entered data after being rounded up to the decimal
point.
271
Designing Projects - Designing with the Library
AddYears, You can add or subtract the time or date from the entered
AddMonths, datetime by the numbers entered in Args.
AddDays,
AddHours,
AddMinutes,
AddSeconds
GetValueBy Returns the key value entered in Args in the string of the Json
Key format.
GetValueBy Returns value of the xpath entered in Args in the string of the
Xpath XML format.
You can enter a user-defined script. The script must be written using JavaScript grammar.
Input - - - - -
Output - - - - -
Script Script Required String Text Enter the user defined script.
Double-click the text box to use
ScriptEditor.
• > Help > Sample > Sample > Flow Control > Customized Script >
P_ExecuteScript_Test
272
Designing Projects - Designing with the Library
You can execute a script function that the user has written with JS file.
Input Argum Required String Text Enter property value to execute script function.
ents
Output Result Required String Text Specify the variable to save the execution result
of script function.
• > Help > Sample > Sample > Flow Control > Customized Script >
P_ExecuteLibrary_Test
You can jump out of the loop at the time that the user has defined while in a loop. This is the same as
the break statement in JavaScript.
273
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
• > Help > Sample > Sample > Flow Control > Flow Control_15 > P_Break_Test
You can move on to the next loop cycle at the time that the user has defined while in a loop. This is the
same as the continue statement in JavaScript.
Input - - - - -
Output - - - - -
• > Help > Sample > Sample > Flow Control > Flow Control_15 > P_Continue_Test
You can terminate the flow that is operating. This is the same as the return statement in JavaScript..
Input - - - - -
Output - - - - -
274
Designing Projects - Designing with the Library
Condition Result Conditional String Text Enter return value when the flow is
s terminated.
• > Help > Sample > Sample > Flow Control > Flow Control_15 >
P_TerminateFlow_Test
You can terminate the processes that are operating. This is the same as the exit statement in
JavaScript.
Input - - - - -
Output - - - - -
Result Exit Code Required String Text Enter return value when the flow is
terminated.
• > Help > Sample > Sample > Flow Control > Flow Control_15 > P_TerminateAll_Test
TryCatch handles exception while script execution. This is same as the Try Catch of JavaScript.
275
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
Handle OnExce Required Event - Specify an action to carry out when an exception
r ption occurs at the time of execution.
• Ignore: Output log and proceed to the next activity.
• If handler is specified: Call specified handler.
When there is an error, you can restart the task currently in progress from the OnError event.
Input - - - - -
Output Result Conditional String Text Specify the variable to save task restart result
when an error occurs.
Target Task Required String Text Specify the variable to restart the task.
Name
• > Help > Sample > Sample > Flow Control > Debug > P_RetryTask_Test
Reboot (Rebooting)
276
Designing Projects - Designing with the Library
Input - - - - -
Output - - - - -
• > Help > Sample > Sample > Flow Control > Debug > P_Reboot_Test
You can output a user log to a specified file. Or it can be output in the form of a screenshot or message
box.
Input - - - - -
Output - - - - -
Activit Messag Required String Text Enter the message to display on file or messagebox.
y e
Conditi Path Required String Text Specify download path and file to save log file.
ons
A p p e n Required True/F - Select whether to save the content of log by adding to the
d alse existing log or by saving the current log content only.
• > Help > Sample >Sample > Flow Control > Debug > P_Log_Test
277
Designing Projects - Designing with the Library
You can execute a debug console. In the debug console, the user can input the variables and check the
current progress.
Input - - - - -
Output - - - - -
Activit Messag Conditional String Text Enter the message to display on the debug
y e console window.
• > Help > Sample > Sample > Flow Control > Debug > P_Debugger_Test
Screen shot and Windows hierarchy information are saved under the Histories\Logs folder below the
project folder. If saved as Fail, the information saved in the server is sent.
Input - - - - -
Output - - - - -
Activit Pass or Required True/F Select whether to save the error information(dump
y Fail alse file) or to send it to the server.
• > Help > Sample > Sample > Flow Control > Debug > P_DumpScreen_Test
278
Designing Projects - Designing with the Library
Orchestrator Library
You can control process flows using the features provided by the Orchestrator library.
You can set different tasks according to the conditions.
CallProcess, WaitEmail, WaitHttp are functions that request events to the Orchestrator
server. They are functions within the library that is activated when a project is deployed and
a process is executed using a bot. When running in the designer, the Simulation Result value
is used instead of the actual server.
Input - - - - -
Output Result Requir String Text Select the variable to save result information.
ed
279
Designing Projects - Designing with the Library
Conditi W a i t Requir True/F - Select whether to wait until all events are generated, or wait
ons All ed alse until at least one event is generated. For example, if set to False
when waiting to perform five processes, proceed to the next
process when one of the five processes is complete.
Stop Requir True/F - Stop the process flow if any one of the waiting event fails.
O n ed alse
Error
Wait Requir Event - Select the event to wait for. Select the variable where the
For ed performed result of the event is saved. Click Click here to add
new item to add the event to wait for. Click to delete.
• > Help > Sample > Sample > Orchestrator > OrchestratorLibrarySample15 >
WaitForMultipleEventTest
CallProcess performs processes specified by the user. The process must be published in the server. If
there is an input value to send or an output value to receive, this must be specified at the same time.
Input Excutio Requir String Text Use when performing a process in the same bot as the process
nBot ed performed before. To use this feature, select the result variable
of the process performed before or leave it blank if you do not
want to use it.
Output Result Requir String Text Specify the variable to save information on the performed result
ed of the process.
Conditi Process Conditi True/ - Select ID of the process to perform. Only the process added
280
Designing Projects - Designing with the Library
ons ID onal False through search appears on the list. Input and output values may
Input change, depending on the selected process.
• > Help > Sample > Sample > Orchestrator > OrchestratorLibrarySample15 >
CallProcessTest
Wait after importing specific email. Send request to Orchestra server to set an event waiting to receive
specific email. Use WaitForMultipleEvent to wait for the set event. When running in the designer, the
Simulation Result value is used instead of the actual server.
Input - - - - -
Output Result Conditi String Text Enter the variable to import specific email and standby. The
onal result variable can be entered in WaitForce of the
WaitForMultipleEvent to wait for the specified email to be
received.
Conditi Server Requir String Text Enter the server URL where the email is located within single
ons URL ed quotation marks.
Receiv Requir String Text Enter password of the account to receive mail. If you select
er PW ed asset, enter asset variable of the saved password. If you select
input, enter password of the account directly.
281
Designing Projects - Designing with the Library
Mail ed
Receiv Requir String Text Enter recipient ID (email address) within single quotation
er ed marks.
Snende Requir String Text Enter sender ID (email address) within single quotation marks.
r ed
Subject Requir String Text Enter the name of the email to import within single quotation
ed marks.
Begin Requir String Date-Ti Enter the start time to import email.
Time ed me
Simula Status Requir Event - Select the value to use as the 'status' value from the result
t i o n ed returned by the WaitEmail library
Result
Error Conditi String Text Enter the value to use as the 'Error' value from the result
onal returned by the WaitEmail library within single quotation
marks.
Expire Requir Numbe Second Enter time in seconds, generating the event to simulate from the
Time(S ed r WaitEmail library.
ec)
Result Conditi String Text Enter the value to use as the 'Result' value from the result
onal returned by the WaitEmail library within { }.
• > Help > Sample > Sample > Orchestrator > OrchestratorLibrarySample15 >
P_WaitEmailTest
Wait after importing specific Http. Send request to Orchestra server to set an event waiting to receive
specific Http. Use WaitForMultipleEvent to wait for the set event. When running in the designer, the
Simulation Result value is used instead of the actual server.
282
Designing Projects - Designing with the Library
Input - - - - -
Output Result Requir String Text Enter the variable to import specific Http and standby. The
ed result variable can be entered in WaitForce of the
WaitForMultipleEvent to wait for the specified Http to be
received.
Simula Status Requir Event - Select the value to use as the 'status' value from the result
t i o n ed returned by the WaitHttp library
Result
Error Conditi String Text Enter the value to use as the 'Error' value from the result
onal returned by theWaitHttp library within single quotation marks.
Expire Requir Numbe Second Enter time in seconds, generating the event to simulate from the
Time(S ed r WaitHttp library.
ec)
Result Conditi String Text Enter the value to use as the 'Result' value from the result
on returned by the WaitHttp library within { }.
• > Help > Sample > Sample > Orchestrator > OrchestratorLibrarySample15 >
WaitHttpTest
Input - - - - -
Output Result Conditional String Text Specify variable to generate trigger at specified time.
Conditi Time Required String Text Enter the date and time when trigger has been generated
283
Designing Projects - Designing with the Library
• > Help > Sample > Sample > Orchestrator > OrchestratorLibrarySample15 >
WakeUpTest
UploadResource uploads the resource (file) to the server. The resource ID is returned from the
resource (file) uploaded to the server, and you can update or download the resource (file) again with
this ID. The resource ID can be automatically created or it can be entered by the user. A resource (file)
has a retention period and cannot be downloaded from the server after the retention period.
Input - - - - -
Output Output Requir String Text Returns ID registered in the server. If an ID was set, then the
ed same ID will be received. If not, an ID created from the server
will be returned.
Retenti Requir String Date Enter the period of time to keep files on the server.
onPeri ed
od
FilePat Requir Text String This is the file path to upload to the server.
h ed
284
Designing Projects - Designing with the Library
• > Help > Sample > Sample > FlowControl > Transmit Resource >
P_UploadResource_Test
DownloadResource downloads resources (files) from the server. The resource ID of the resource to
download must be entered to download. The downloaded resource (file) is saved to the
SharedResources folder inside the project folder, and once the download is complete, the file path is
returned.
Input - - - - -
Output FilePath Required String Text This is the path to the downloaded
file.
• > Help > Sample > Sample > FlowControl > Transmit Resource >
P_DownloadResource_Test
SendData sends the string or file data to the specified queue in the server. Queues are different
depending on the Channel ID.
Input - - - - -
285
Designing Projects - Designing with the Library
File FilePath Required String Text The path of the file to send.
ReceiveData receives the data from the specified queue in the server. Once the data is received
properly, the corresponding data will be deleted from the queue.
Input - - - - -
Output Output Required String Text This is the result of the received data.
IsFile Required String Text Enter the variable to store whether the
received data is a file.
Queue Channel Required String Text Set the channel ID for receiving the data.
ID
Timeout Conditional Numbe Minute Enter the number of minutes to wait until the
r data is received.
The features provided by the Knox Portal Library can be used to use the link features of the Knox
Portal REST API.
286
Designing Projects - Designing with the Library
Common Properties
287
Designing Projects - Designing with the Library
1 O n Conditi Event - Specify an action to carry out when an error occurs at the time
Error onal of execution.
• If not specified: Output errors and exit the task.
• Ignore: Output log and proceed to the next activity.
• Retry: Exit task if an error occurs even after a retry.
• If handler is specified: Call specified handler.
Input - - - - -
Output - - - - -
Mail Sender Requir String Text Enter the email address of the sender.
ed
Recipie Requir String Text Enter the email address of the recipient. (Multiple recipient can
nts e d be designated by separating with a semicolon. It applies both for
(enter CCs and BCCs.
one or
CCs String Text Enter the email address of the CCs.
more
o f
three)
288
Designing Projects - Designing with the Library
Attach Conditi String Text Enter the path of the attached files. (Multiple files can be
ments onal attached by separating them with a semicolon.) Attachment
capacity is limited to ten files or less and 10 MB or less in
accordance with the Knox API policy.
• > Help > Sample > Sample > KnoxPortal > Other Samples > P_Knox_SendMail_Test
Input - - - - -
Output Approv Requir String Text Enter the variable to execute document approval.
alID ed
Approv Title Requir String Text Enter the name of the agenda within single quotation marks.
al ed
Conten Requir String Text Enter the content of the agenda within single quotation marks.
ts ed
Drafter Requir String Text Enter the email address of the person who submitted agenda.
ed
Attach Conditi String Text Enter the attached files path. (Multiple file can be attached by
289
Designing Projects - Designing with the Library
Approv Requir Event - Specify approval steps, approver, payment type, etc.
a l ed
Lines
• > Help > Sample > Sample > KnoxPortal > Other Samples >
P_Knox_SubmitApproval_Test
Input - - - - -
Output Status Required String Text Enter the variable to save imported approval status.
Approv Approv Required String Text Enter the variable use to approve the document
al alID within single quotation marks.
• > Help > Sample > Sample > KnoxPortal > Other Samples >
P_Knox_GetApprovalStatus_Test
290
Designing Projects - Designing with the Library
The returned type is UserInfo[ ] and the members of the UserInfo class are as shown below.
Input - - - -
Output Userinfo Required String Text Specify the variable to save user
information.
• > Help > Sample > Sample > KnoxPortal > Other Samples > P_Knox_GetUserInfo
291
Designing Projects - Designing with the Library
GetDeptInfo gets department information of an employee using Knox Portal ID or email address.
The type returned is DeptInfo [ ], and the members of the DeptInfo class are as follows:
Input - - - -
Output Deptinfo Required String Text Specify the variable to save the department
information of the user.
User Type Required String Text Select user information (ID, email)
• > Help > Sample > Sample > KnoxPortal > Other Samples > P_Knox_GetDepthInfo
CreateSchedule creates the KnoxPortal PIMS schedule. The schedule ID is returned if the schedule is
292
Designing Projects - Designing with the Library
created successfully.
Input - - - -
Output Schedu Required String Text Set the variable to save the schedule ID imported
leID when the schedule is created.
IsAllDa Required True/F - Select whether to specify the schedule the whole
y alse day.
• > Help > Sample > Sample > KnoxPortal > Message Schedule >
P_Knox_CreateSchedule_Test
DeleteSchedule deletes the Knox Portal PIMS schedule. The schedule ID to delete and user ID are
required.
Input - - - - -
293
Designing Projects - Designing with the Library
Output - - - - -
• > Help > Sample > Sample > KnoxPortal > Message Schedule >
P_Knox_DeleteSchedule_Test
The returned type is ScheduleInfo[] and the members of the ScheduleInfo class are as shown below.
Input - - - -
Output Result Required String Text Specify the variable to save the result of
schedule checked.
294
Designing Projects - Designing with the Library
• > Help > Sample > Sample > KnoxPortal > Message Schedule >
P_Knox_GetSchedulesInfo_Test
Input - - - - -
Output Respon Require String Text Enter the variable to save the result of message sent with Knox
se d messenger.
Timeou Require Numbe Minute Enter the number of minutes to wait for sending a message.
t(Min) d r
Simula Result Conditio String Text Enter the value to use as the 'Result' value from the result
t i o n nal returned by SendKnoxMessage library within single quotation
295
Designing Projects - Designing with the Library
Result marks.
Expire Conditio Numbe Second Enter time in seconds, generating the event to simulate from
Time nal r the SendKnoxMessage library.
• > Help > Sample > Sample > KnoxPortal > SendKnoxMessage15 > SampleProcess
In case of designing a project by writing a script, you can use the bot objects and the default script
library.
ToString(obj)
ToString returns information of value type variable, array, and two dimensional arrays as a string.
GetObjectInfo(obj)
GetCount(obj)
CharToInt(string)
296
Designing Projects - Designing with the Library
IntToChar(number)
AddHostType(name, typeName)
Example)
Bot.AddHostType('Process', 'System.Diagnostics.Process');
var proc = new Process();
Proc.Start('notepad.exe');
var pid =Process.GetProcessById(1234);
CreateObject(typeName)
Example)
var fs = Bot.CreateObject("Scripting.FileSystemObject");
var a = fs.CreateTextFile("c:\testfile.txt", true);
a.WriteLine("This is a test.");
You can install the virtual driver manually if it was not installed during program installation.
297
Designing Projects - Designing with the Library
298
Designing Projects - Designing with the Library
299
Designing Projects - Designing with the Library
300
Designing Projects - Designing with the Library
301
Designing Projects - Designing with the Library
You can install the virtual driver manually when it was not installed at program installation.
302
Designing Projects - Designing with the Library
303
Designing Projects - Designing with the Library
304
Designing Projects - Designing with Custom Libraries
Once you install the virtual driver, you can enter the key through the virtual keyboard using
TextInput.
The library within the project can be customized by the user, or you can import an external library to
use as an internal library.
305
Designing Projects - Designing with Custom Libraries
The library within the project can be customized by the user, or you can import an external library to
use as an internal library.
306
Designing Projects - Designing with Custom Libraries
• Entry Point : Project > Custom Libraries > New Custom Library
• Enter the library name
• Library Type > Select JavaScript
• Click Create
• Library is created in Custom Libraries within Project.
• Library file(.js) is saved in the CustomLibraries within Project folder.
(For example. C:\Users\SDS\Documents\Brity Works Projects\Project Name\CustomLibraries)
No. Description
307
Designing Projects - Designing with Custom Libraries
No. Description
3 Click Run.
Copy .NET Assembly (C# based library) library to import and paste to the CustomLibraries folder.
• Entry Point : Project > Custom Libraries > New Custom Library
• Enter the library name
• Library Type > Select MS .NET Library
• Select the Library (.DLL)
• Select the Class (Class)
• Select the Method (Method)
• Create instance Check / Uncheck
Check: display constructors of the selected class and create Instance Constructor library.
Uncheck: select the Public method (including Static method) within the selected class, and create the
library,
Call the Default constructor when running.
• Click Create
• The library is created in Custom Libraries within Project.
? When using .NET Library, it is recommended to create Instance first. (Refer to the example)
308
Designing Projects - Designing with Custom Libraries
No. Description
2 Enter the Compressed File name to the filename properties on the right.
309
Designing Projects - Designing with Custom Libraries
No. Description
2 Enter the path of the file to extract in the path properties on the right.
4 Click Run.
310
Designing Projects - Designing with Custom Libraries
• Change the extension of the downloaded file (.nupkg) into (.zip), and extract the file => copy the
library (.dll) in the lib folder, and paste it to the CustomLibraries folder.
• Entry Point : Project > Custom Libraries > New Custom Library
• Enter the library name
• Library Type > Select MS Workflow Activity
• Select the copied library from the external library path.
• Select the activity class.
• Click Create
• Library is created in Custom Libraries within Project.
• The library file(.js) is saved in CustomLibraries within the Project folder.
(For example. C:\Users\SDS\Documents\Brity Works Projects\Project Name\CustomLibraries)
No. Description
2 Enter the Compressed File name to the filename properties on the right.
311
Designing Projects - Designing with Custom Libraries
No. Description
3 Click Run. (Delete only the content in the folder, not the specified folder)
312
Designing Projects - Designing with Custom Libraries
313
Designing Projects - Designing with Custom Libraries
314
Designing Projects - Designing with Custom Libraries
315
Designing Projects - Designing with Custom Libraries
316
Designing Projects - Designing with Custom Libraries
Adding Reference.
317
Designing Projects - Designing with Custom Libraries
318
Designing Projects - Designing with Custom Libraries
* Caution)
Return to PlayInBOT ON mode after development is complete because when PlayInBOT is in OFF
mode, the Designer can be stopped or terminated abnormally by a flaw in the activity code, a
Windows object recognition malfunction or system error.
319
Designing Projects - Designing with Custom Libraries
320
Designing Projects - Designing with Custom Libraries
- AddInDisplayName
- AddInIcon
- AddInOverIcon
- CreateActivites()
321
Designing Projects - Designing with Custom Libraries
322
Designing Projects - Designing with Custom Libraries
323
Designing Projects - Designing with Custom Libraries
Implement OnCreateProperties
- Property constructor
Owner: this (the fixed value as the present Activity)
Key: PropKey (the unique value)
Value: Default Value
324
Designing Projects - Designing with Custom Libraries
(Control figure displayed on the property view depends on the data type of value)
- SetRequired: Setting required value. If you do not enter a value, a warning pops up when saving and
the program will not start running. (Display * on the properties window)
-SetControlType: Set the control to display on the property view regardless of the data type of value.
(Provide the default control list to PropertyControls and PathControl Type. The creation of Custom
control, not the default control list, needs an extra development guide.)
325
Designing Projects - Designing with Custom Libraries
- The value entered in the property window for the property declared in OnCreateProperties is
entered as the Dictionary type.
- Implement the needed action using PropKey (String) as a key to get the value.
- If the OutputProperty is defined (not null), set the return value of OnRun. (If not, return null)
326
Designing Projects - Designing Headless Process
When creating the project, select New Headless Project, then a Headless project is created.
327
Designing Projects - Designing Headless Process
Library list only displays the library that can be used in Headless mode.
328
Designing Process Flows - Designing with Processes
5.
Designing Process Flows
A process flow is a schematic diagram that shows the sequence and flow of handling many processes.
The method of designing a process flow is similar to a project, with some differences. This chapter
focuses on the differences.
A process flow allows you to design by combining a number of processes published to the server.
● Adding a Process
● Adding Waiting Action
Adding a Process
Follow the next steps to design a process flow by searching the process deployed on the server.
329
Designing Process Flows - Designing with Processes
1. In the search bar of the process search screen, enter a search phrase, and click Search.
3. On the process flow library screen, search for CallProcess, and drag to add to the flowchart.
4. Enter the information of the process to call from the Properties screen.
• Only the information of the process imported to the process flow will be searched.
• If there is input value or output value in the process, enter it in the Properties screen.
A process flow is an asynchronous method that is not performed in order. If a process must be
performed in order, an action of waiting until the previous process ends must be applied.
For example, if a mail writing process must be performed after completing a login process, add
WaitForMultipleEvent library between these two processes.
330
Designing Process Flows - Designing with the Library
No. Description
1 Logging In
3 Writing Email
CallProcess performs processes specified by the user. The process must be published in the server. If
there is an input value to send or an output value to receive, this must be specified at the same time.
331
Designing Process Flows - Designing with the Library
Input Excutio Requir String Text Use when performing a process in the same bot as the process
nBot ed performed before. To use this feature, select the result variable
of the process performed before or leave it blank if you do not
want to use it.
Output Result Requir String Text Specify the variable to save information on the performed result
ed of the process.
Conditi Process Conditi True/ - Select ID of the process to perform. Only the process added
ons ID onal False through search appears on the list. Input and output values may
Input change, depending on the selected process.
If (Decision-making)
You can create True or False branching statements that perform different actions depending on the
conditions. The If/else statement of JavaScript is as follows:
Input - - - - -
Output - - - -
332
Designing Process Flows - Designing with the Library
For (Repetition)
You can create a loop This is same as the loop statement of JavaScript.
Input - - - - -
Output - - - -
Condition Initialize Required String Text Enter the initial value of index.
You can create a loop to import list items in order. This is same as the foreach statement of JavaScript.
Input - - - - -
Output - - - -
Conditi For List Required String Text Enter variable of the list type with data.
on
Each Item Required String Text Enter the variable to allocate item one by one
from the list type.
For-of / Required String Text Use for the same purpose as JavaScript syntax.
For-in
333
Designing Process Flows - Designing with the Library
You can create a loop to perform up to specific conditions. This is same as the while statement of
JavaScript.
Input - - - - -
Output - - - -
Add the desired date and time information to the entered value and assign it to the variable.
Input - - - - -
Output Variable Required String Text Select the variable to save time
information.
Add Required Numbe Number Enter the time value to add as numbers.
r
Input - - - - -
334
Designing Process Flows - Designing with the Library
Output Variable Required String Text Specify the variable to allocate value.
Activity Value Required String Text Enter the value to allocate to the
variable.
AssignDateTime assigns the desired date and time information to the variable.
Input - - - - -
Output Variabl Requir String Text Select the variable to save time information.
e ed
To UTC Requir True/F - Select whether to convert time information to UTC. If set to true,
ed alse the runtime converts the time information to UTC on a Locale
basis.
Locale Requir Event - Select Locale information. If UTC option is set to true, Locale
ed information is utilized.
WriteApproval allows the users to execute tasks of reporting approval, based on the information they
entered.
Input - - - - -
335
Designing Process Flows - Designing with the Library
Output Result Required String Text Specify the variable to save information of the report
approval result.
Conditi Title Required String Text Enter the title of report approval. Enter content
ons without single quotation marks.
Conten Required String Text Enter the content of report approval. Enter content
ts without single quotation marks.
RequestAsset uses in the process flow by requesting an asset in the server. For example, if a notice
title template string for public use is registered as asset, you can receive the value through
RequestAsset.
Input - - - - -
Output Variabl Required String Text Select the variable to save the requested asset object
e value.
Conditi Asset Required Event - Select the asset to request. Only the items added as
ons public asset will appear on the list.
In case of trying to perform the next action after one action is complete in a process flow performed
as asynchronous method, you must use WaitForMultipleEvents. You can wait to complete one or more
actions. An instance where at least one action gets completed and an instance where all actions get
completed as options.
336
Designing Process Flows - Designing with the Library
Input - - - - -
Output Result Requir String Text Select the variable to save result information.
ed
Conditi W a i t Requir True/F - Select whether to wait until all events are generated, or wait
ons All ed alse until at least one event is generated. For example, if set to False
when waiting to perform five processes, proceed to the next
process when one of the five processes is complete.
Stop Requir True/F - Stop the process flow if any one of the waiting event fails.
O n ed alse
Error
Wait Requir Event - Select the event to wait for. Select the variable where the
For ed performed result of the event is saved. Click Click here to add
new item to add the event to wait for. Click to delete.
WaitEmail waits for the mail containing the information specified by the user and then performs a
specific action when the mail arrives. You must enter the string information to include in sender and
recipient account information and title.
337
Designing Process Flows - Designing with the Library
Input - - - - -
Output Result Conditi String Text Enter the variable to import specific email and standby. The
onal result variable can be entered in WaitForce of the
WaitForMultipleEvent to wait for the specified email to be
received.
Conditi Server Requir String Text Enter the server URL where the email is located within single
ons URL ed quotation marks.
Receiv Requir String Text Enter password of the account to receive mail. If you select
er PW ed asset, enter asset variable of the saved password. If you select
input, enter password of the account directly.
Receiv Requir String Text Enter recipient ID (email address) within single quotation
er ed marks.
Snende Requir String Text Enter sender ID (email address) within single quotation marks.
r ed
Subject Requir String Text Enter the name of the email to import within single quotation
ed marks.
Begin Requir String Date-Ti Enter the start time to import email.
Time ed me
To UTC Requir True/F - Set whether to use the UTC(Coordinated Universal Time).
ed alse
WaitHttp waits for the temporarily created URL to be called. It is mainly performed for the account
authentication of the user. Wait until the user connects to the URL sent via mail, messenger or SMS,
etc.
338
Designing Process Flows - Designing with the Library
Input - - - - -
Output Variabl Requir String Text Select the variable to save the value of result object. This is
e ed necessary to easily use from another library after saving the
received URL value.
WakeUp waits until the specific time specified by the user. For example, the user adds WakeUp before
the CallProcess library and specifies time if a specific process is desired to be performed at 3 a.m. If
the server requests to perform the process flow, the process is performed at 3 a.m. after waiting in
this library stage.
Input - - - - -
Output Result Required String Text Select the variable to save result
object.
Condition Time Required Number Date-Time Set the time to perform action.
s
To UTC Required True/Fals -
e
You can enter a user-defined script. The script must be written using JavaScript grammar.
339
Designing Process Flows - Designing with the Library
Input - - - - -
Output - - - - -
Script Script Required String Text Enter the user defined script.
Double-click the text box to use
ScriptEditor.
Input - - - - -
Output - - - - -
You can terminate the flow that is operating. This is the same as the return statement in JavaScript..
Input - - - - -
Output - - - - -
Condition Result Required String Text Enter return value when the flow is
s terminated.
340
Designing Process Flows - Designing with the Library
You can jump out of the loop at the time that the user has defined while in a loop. This is the same as
the break statement in JavaScript.
Input - - - - -
Output - - - - -
You can move on to the next loop cycle at the time that the user has defined while in a loop. This is the
same as the continue statement in JavaScript.
Input - - - - -
Output - - - - -
You can send an email using SendMail by setting the recipient, title, and body.
Input - - - - -
Output Result Conditi String Text Enter the variable to import specific email and standby. The
onal result variable can be entered in WaitForce of the
WaitForMultipleEvent to wait for the specified email to be
received.
Mail Receiv Requir String Text Enter recipient ID (email address) within single quotation
341
Designing Process Flows - Designing with the Library
er ed marks.
CCs Requir String Text Enter referrer ID (email address) within single quotation marks.
ed
BCCs Requir String Text Enter hidden referrer ID (email address) within single quotation
ed marks.
Subject Requir String Text Enter the title of email to send within single quotation marks.
ed
Body Requir String Text Enter the body of email to send within single quotation marks.
ed
The result value can be returned in the form of Text, Text/planin, application/json, application/xml,
and multipart/form-data through the RestAPI call.
Input - - - - -
Output Result Conditional String Text Enter the variable to return after calling RestAPI.
342
Designing Process Flows - Designing with the Library
You can send the message through the KnoxMessage. A variety of follow-up processes will proceed by
MessageType.
Input - - - - -
Output Result Conditi String Text Enter the variable to wait for a specific messenger Enter the
onal result variable to the Wait For of WaitForMultipleEvent, and
wait to receive the specified messenger.
Conditi Messag Requir - - Select the Message Type (No Wait, Wait OK, Wait OK/Cancel,
ons eType ed Wait Yes/No, Wait Yes/No/Cancel, Wait abort/Retry/Ignore, Wait
Retry/Cancel, Wait Message)
Mail Receiv Requir String Text Enter the KnoxMessage recipient ID (email address) within
er ed single quotation marks.
343
Following Process Flow Examples
6.
Following Process Flow
Examples
See how to design a work automation process by example. Design a work automation process as an
example, assuming that you are creating a work process for business support. By creating a work
automation process, you can learn about the various library and activity properties and how to use
them.
The task order and details of examples for implementing the work automation process are as follows:
1 Signing in to Gmail
5. Trying it out
3. Creating an Excel file, inserting the captured screen, and setting the screen size
5. Trying it out
3. Trying it out
345
Following Process Flow Examples - Signing in to Gmail
3. Trying it out
3. Trying it out
3. On the "New Project" pop-up window, enter the name and description of the new project.
346
Following Process Flow Examples - Signing in to Gmail
4. Click CREATE.
347
Following Process Flow Examples - Signing in to Gmail
2. On the "New Task" pop-up window, enter the name of the new task to create and click CREATE.
2. Drag the OpenBrowser from the web library ( ) and connect it with the link(arrow) in the chart.
348
Following Process Flow Examples - Signing in to Gmail
3. Enter Gmail homepage address on the Activity URL located on the right side of the designer
properties area.
○ URL: 'https://accounts.google.com/signin/v2/identifier?continue=https%3A%2F%2Fptop.only.wip.la%3A443%2Fhttps%2Fmail.google.
com%2Fmail%2F&service=mail&sacu=1&rip=1&flowName=GlifWebSignIn&flowEntry=Servic
eLogin' (including single quotation marks)
349
Following Process Flow Examples - Signing in to Gmail
Configure the chart to click the login button after entering the ID and password on the Gmail login
window.
1. Drag the TextInput from the app library ( ) and connect it with the link(arrow) in the chart.
b. Put the mouse over the ID input window on the Gmail screen and click after the red box has
been selected.
c. Click NO for the pop up asking whether to check the object index.
350
Following Process Flow Examples - Signing in to Gmail
d. Enter an ID (email address or mobile phone) in the Input Text item of the right side of the
designer properties.
3. After you entered the ID, drag the Click in the App Library ( ) to connect to the bottom of the
node for ID entry in the chart to click Next button.
○ Link the second node blow the first node. Drag it below the first node in the chart, just like the
method used for linking arrow.
○ The readability of the entire chart will increase if continuous actions(login) are grouped and
connected below.
4. To Specify password, drag a TextInput from the App library ( ) and connect it to the bottom of
the next button click node in the chart.
6. After you entered the password, drag the Click in the App Library ( ) to connect to the bottom of
the node for ID entry in the chart to click Next button.
351
Following Process Flow Examples - Save to Excel after Capturing the Screen.
Executing
Click Run on the upper toolbar to check if the designed process is running properly without
errors
● Make sure you log out of your Gmail website before executing, then close the Internet Explorer.
● If a pop-up window is displayed asking whether you want to minimize the Designer, check 'Do not
ask again' and click YES.
Create a process for capturing screens and inserting them into an Excel file or resizing the screens and
saving them in Excel.
Create the process that captures the screen, inserts it into an Excel file, and saves the Excel file after
resizing the screen.
352
Following Process Flow Examples - Save to Excel after Capturing the Screen.
Create a new task with the name of "Excel_Work" within the project RPA_Excercise.
1. Drag Screenshot (Alt+PtrSc) in the System library( ) to connect with the link(arrow) in the
chart.
353
Following Process Flow Examples - Save to Excel after Capturing the Screen.
2. In the property area on the right side of the designer, set FullScreen command properties to
True.
354
Following Process Flow Examples - Save to Excel after Capturing the Screen.
To create an Excel file, insert the captured screen, and resize the inserted screen in an activity,
complete the following steps:
1. Drag NewExcel in the Excel library ( ) to connect with the link(arrow) in the chart.
2. Then, click Click here to add new item located at the bottom variable area. Enter 'excel_id',
variable to generate Excel.
3. Select NewExcel in the chart again, and set the Excel property of the output to 'this.excel_id' in
the property area on the right side of the designer.
355
Following Process Flow Examples - Save to Excel after Capturing the Screen.
4. Drag SelectRange from the Excel library ( ) to link below the NewExcel node in the chart.
5. In the properties area on the right side of the designer, set the individual properties of
SelectRange as follows.
○ Excel property of Input: this.excel_id
ii. Range property of the sheet: 'A1' (including single quotation marks)
356
Following Process Flow Examples - Save to Excel after Capturing the Screen.
○ It means that select the cell A1 on the Sheet1 within a new excel file (excel_id) created by
NewExcel.
6. Drag Paste(Ctrl+V) of the System library ( ) to connect to the bottom of the SelectRange to
paste the screenshot from the clipboard into the selected Excel sheet.
7. Drag RightClick in the App library ( ) to connect with the link(arrow) in the chart.
357
Following Process Flow Examples - Save to Excel after Capturing the Screen.
9. Drag Click in the App library ( ) to connect with the link(arrow) in the chart.
358
Following Process Flow Examples - Save to Excel after Capturing the Screen.
10. Specify the screenshot image of the Click object as "size and property" that appears when
right-clicking the menu.
○ To select a hidden object, such as a submenu, press the Ctrl key on the keyboard and move the
target object when the border turns green. Press Ctrl key again and if the border turns red,
click to specify.
11. Drag TextInput from the App library ( ) and link below the Click node to set the screen shot
image size.
359
Following Process Flow Examples - Save to Excel after Capturing the Screen.
13. Enter the screen size (for example: '10') in the Text category in the properties on the right side of
the Designer, and set the Done (Enter) property of the activity area to True.
360
Following Process Flow Examples - Save to Excel after Capturing the Screen.
Save the completed Excel as 'test.xlsx' in the 'C:\' directory and configure the chart to close.
To set up saving an Excel file and exiting it, complete the following steps:
1. Drag SaveExcel in the Excel library( ) to connect with the link(arrow) in the chart.
361
Following Process Flow Examples - Save to Excel after Capturing the Screen.
2. In the properties area on the right side of the designer, set the properties of SaveExcel as follows.
○ Excel property of Input: this.excel_id
○ SaveAs property of the file 'C:\\test.xlsx' (Set directory and file name to be saved)
3. Drag CloseExcel in the Excel library ( ) to connect with the link(arrow) in the chart.
4. Specify Excel item Input to 'this.excel_id' within the property area on the right side of designer.
362
Following Process Flow Examples - Sending Email to Myself with the Excel File Attached
Executing
Click Run on the upper toolbar to check the designed process is run properly.
Create a process for drafting a mail that has an Excel file attached and sending it to your own mail.
"Sending Email to Myself with the Excel File Attached" explains the following topics:
Create a new task with the name of "Mail_send" within the project IPA_Excercise.
363
Following Process Flow Examples - Sending Email to Myself with the Excel File Attached
2. Drag Click in the App library ( ) to connect with the link (arrow) in the chart.
364
Following Process Flow Examples - Sending Email to Myself with the Excel File Attached
4. To compose the title of an email on compose window, drag TextInput in the App library ( ) to
connect with the link(arrow) in the chart.
5. Specify the TextInput object to the 'Subject' field in the Gmail compose window.
365
Following Process Flow Examples - Sending Email to Myself with the Excel File Attached
6. In the property area on the right side of the designer, set the Input text item to 'Sample Mail'.
366
Following Process Flow Examples - Sending Email to Myself with the Excel File Attached
8. Specify recipient, CCs, BCCs, body content, etc. in the same method as specifying the title.
9. To specify the attached file on compose window, drag Click in the App library ( ) to connect
with the link (arrow) in the chart.
10. Specify the Click object to the 'attachments' button in the Gmail compose window.
367
Following Process Flow Examples - Sending Email to Myself with the Excel File Attached
11. To specify the Attachments (selecting path and file), drag TextInput in the App library ( ) to
connect with the link (arrow) in the chart.
12. Specify the TextInput object to 'File name' in the file upload window.
13. In the property area on the right side of the designer, set the individual properties of TextInput
as follows.
○ Input Text property of Activity: 'C:\\test.xlsx' (with single quotation marks)
368
Following Process Flow Examples - Sending Email to Myself with the Excel File Attached
14. To send the composed mail, Drag Click from the app library ( ) and connect it with the
link(arrow) in the chart.
369
Following Process Flow Examples - Signing out of Gmail
Executing
Click Run on the upper toolbar to check the designed process is run properly.
Create a new task with the name of "Gmail_Logout" within the project IPA_Excercise.
370
Following Process Flow Examples - Signing out of Gmail
1. To log out, Drag Click from the app library ( ) and connect it with the link(arrow) in the chart.
371
Following Process Flow Examples - Link the Tasks to Organize Process
Executing
Click Run on the upper toolbar to check the designed process is run properly.
Finally, create a process that links all four tasks created earlier.
372
Following Process Flow Examples - Link the Tasks to Organize Process
1. On the project screen, right-click MyProcess to change the name and click Rename.
2. "Rename" pop-up window to change name: Enter RPA_Exercise_p) and click Confirm.
373
Following Process Flow Examples - Link the Tasks to Organize Process
2. Drag the four tasks created earlier to the process chart and link them in the following order :
Gmail_Login → Excel_Work → Mail_Send → Gmail_Logout.
Executing
Click Run on the upper toolbar to check the designed process is run properly.
Check the process execution directly or check Log, received mailbox, etc. to see if it is running
properly.
374
Linking to Server - Preparing Server Linkage
7.
Linking to Server
You can publish a project or process flow you have worked on by connecting Designer to the server.
You can also edit or use by downloading a project or process flow published in the server.
You can connect to the server. To connect the server, you need a designer ID and a license key.
2. Create an account.
375
Linking to Server - Activating and Deactivating
To connect the server, you must activate Designer and log in.
A designer ID and a license key issued from the server are required.
● Activating
● Deactivating
376
Linking to Server - Activating and Deactivating
Activating
If you are connecting to the server for the first time or have changed the designer ID/license key,
activate the Designer first.
2. Enter the license key on the "Designer Info" pop-up and click Activate. The Designer ID will be
entered automatically when the Activation is complete.
Designer is activated.
Deactivating
377
Linking to Server - Activating and Deactivating
2. Click Deactivate on the "Designer Info" pop-up. Enter the password on the login window to
finish.
378
Linking to Server - Logging In and Logging Out
To connect the server, you must activate Designer and log in.
A designer ID and a license key issued from the server are required.
● Logging In
● Logging Out
Logging In
379
Linking to Server - Setting User Profile Image
Logging Out
2. Click Logout.
380
Linking to Server - Setting User Profile Image
381
Linking to Server - Setting User Profile Image
382
Linking to Server - Publishing Project and Process Flow
You can publish a project or process flow you are working on in Designer to the server. The published
project or process flow can be executed using a bot after activating from the server.
To publish your project or process on the server, complete the following steps:
383
Linking to Server - Importing Project and Process Flow
You can import a project or process flow published in the server. Edit or execute the imported project
or process flow in the local Designer.
To import a project or process flow from the server, complete the following steps:
384
Linking to Server - Using Shared Resources
You can check the shared resources registered in the server and use by importing to the Designer if
necessary. Use the resources added to a project in the properties window of library.
4. Select the resource to import from the shared resource list registered in the server and click
IMPORT.
385
Linking to Server - Using Shared Resources
386
Linking to Server - Using Shared Resources
If you log in with other tenants, the shared resources which have been imported before are
not able to be used because the shared resource is Tenant-dependent. (Displayed as
#Removed#)
If the shared resource type is a Credential resource type, it can only be used in the activity following
even if it is added to the project.
● CredentialSetText(App)
● CredentialTextInput(App)
● CredentialSetText(SAP)
● CredentialWebSetText(Web)
The Credential resource is used mainly with secured data, such as passwords. The Designer
can not check the values at random, so you can use the Credential resource as a powerful
means of protecting information that should not be exposed.
387
Using RPA Bot - Setting up Use Environment
8.
Using RPA Bot
To set the usage environment for a Bot, complete the following steps:
2. Enter the server IP and server port in the Server tab and click OK.
389
Using RPA Bot - Setting up Use Environment
3. Enter the license key from the License tab and click OK.
390
Using RPA Bot - Running Bot
You can run the bot after setting up a server IP, client ID, and license key.
391
Using RPA Bot - Deactivating Bot
1. Right-click BrityWorks Bot icon on the icon tray and select Open.
2. Click Deactivate.
392
Using RPA Bot - Deactivating Bot
393
Troubleshooting - Problems related to Installation and Registration
Appendix A.
Troubleshooting
This chapter describes the problems are often arise and troubleshooting.
"Troubleshooting," explains the following topics:
Solution: Designer and Bot may not be activated if the certificate is not installed properly.
Install the auth_server.cer, AUTH_SERVER_CERTIFICATE.crt certificate again as shown below.
395
Troubleshooting - Problems related to Writing and Executing Automation Scenario
3. Select Save all certificates to the repository below and click Find.
5. Click Next.
Solution: Install the new version after closing Designer or Bot of the previous version.
Situation: I want to click a sub-menu among app menus. If I press an upper menu to
open a sub-menu, it is specified as a target UI object and the desired menu cannot be
selected.
Solution: When having to select the target UI after clicking the UI object of the previous stage, such as
a sub-item of an app menu or a context menu, the UI object clicked in the previous stage is specified as
the target UI object. The same problem occurs when having to move to the relevant screen, because
there is no UI object to specify on the screen.
In this case, you can stop specifying the target temporarily by pressing the Ctrl key on the keyboard.
Then, you can start specifying the target again by pressing the Ctrl key again.
396
Troubleshooting - Problems related to Writing and Executing Automation Scenario
Solution: The property values that can be edited, such as Name or Value are handled the same way as
a script code when creating a script.
Therefore, common strings must be entered inside the quotation marks and you may enter variables
without quotation marks. The screen above shows an error when a variable is specified in the Name
property. Because the value of the variable is decided at the time of execution, the value cannot be
used during the test of the scenario writing stage.
Or if the quotation marks are omitted while inputting a string, an error may occur as the input value
is recognized as a variable or script syntax.
Solution: Check Name/Value values and Check Name/Check Value/Check Size items of the target UI
object on the properties screen. If the target UI object information of the recorded time and the
performed time are different, the target UI object might not be found.
There are cases where the target UI does not properly provide the object information, such as in some
apps including Chrome browser or websites using flash. In this case, you can specify the target UI with
the image recognition method using the ImageRecognition library.
397
Troubleshooting - Problems related to Linking Servers
Solution: Some UI objects, such as combo box item or context menu may disappear from the screen if
focus is set up. In this case, try again after setting Focus Before to False.
It might not be possible to get the UI object information properly at the time when screen is getting
changed. Most of all, the possibility of error gets higher in case of being switched to the new window
screen. In this case, add Delay library between each step to adjust the performing speed.
Solution: After checking Input and Output fields from the properties screen of the task to call, check
Input and Output fields of the RunTask properties screen where the error occurred. Input/Output
variables of the target task and Input/Output properties of RunTask must match. If Input and Output
variables of the task gets changed, they must be changed in the RunTask to call the task also.
Check if the task to call is saved. Tasks not saved will be executed using the script before editing.
398
Troubleshooting - Problems related to Bot
Situation: Whenever you run the RPA Process, V3 sometimes generates an error
message.
Solution: The V3 generates a blocking message when the .EXE program is not signed or the execution
399
Troubleshooting - Problems related to VDI operation
on multiple PCs is not confirmed (called cloud diagnostics). Include Bot.exe, Designer.exe in the setting
inspection exception on V3 configuration. Or uncheck the cloud diagnostics.
Situation: What is the capture point of the capture file provided when an RPA error
occurs on the server?
Solution: The capture point of the file is the time when the job is finished. It is developed like this,
because the program usually terminates when an error occurs. However, if there is a logic to handle
an error using the event, the capture point will be when the event is processed and the job is finished.
In this case, add DumpScreen card to the error event to check the error capture screen.
1) Check whether the BOT monitoring screen is displayed on the Black Screen in the Admin Portal -
occurrence case
- Wrong account/password
- Wrong DefaultDomainName
- Windows automatic login is not set
- Do not set the AutoAdminLogon string value as '1' on the registry edit screen
2) Check whether to display pop-up messages related to Windows updates on the VDI
400
Troubleshooting - Problems related to VDI operation
- Displaying pop-up messages related to low disk space causes process execution errors
- If the VDI disk space is about 50 GB, the remaining capacity is small, so disk cleanup is periodically
needed.
- Execute the shutdown command so that the tray icon is displayed in the notification area. Usually
the Knox portal is closed through the tray icon on the bottom right. However, when the script is
terminated, the process does not work properly and the tray icon is hidden.
- How to set the display option for the tray icon in the notification area
Taskbar settings > Select which icons appear on the task bar > Always show all icons and notifications
on the taskbar
- Password needs to be manually changed every month, because it is not able to process the password
change screen for the Knox account.
- Error occurs because a notification message is selected and displayed on the screen during process
execution
- Turn off the Knox Portal notification
: Turn off notifications when mail and approvals are received from the Set Options.
- Turn off the Knox Messenger notification
: Uncheck 'Activate Notification' in Settings
401
Troubleshooting - Problems related to Publish
When publishing to the Orchestrator server in RPA designer, make sure the Firewall is
down first
2) Enable the Telnet Client (Programs and Features > Turn Windows features on or off > Telnet Client)
Check whether the incomplete library card exists within RPA designer.
1) If an incomplete library card exists within the project, it will not be able to be published to the
server.
402
Troubleshooting - Problems related to Bot VDI installation
How to keep running RPA Designer with closed VDI operating screen
1) Citrix
- Citrix server must have its own graphics card that supports the following resolution:
(2560x1600, 1920x1200, 1680x1050, 1600x1200, 1440x900, 1400x1050, 1280x1024, 1280x960, 1280x800,
403
Troubleshooting - Problems related to Bot VDI installation
2) VMWare
How to set the VDI auto-login (operating the Bot without running the VDI client)
2) Open the Registry Editor within the VDI. (Win + R > regedit)
- AutoAdminLogon : 1
- DefaultDomainName : ask to VDI operation team (ex. CORP, SMARTDESK, etc)
- DefaultUserName: VDI user ID
- DefaultPassword: VDI user password
404
Troubleshooting - Problems related to Designer Activation
1) Open the cmd screen within the VDI. (Win + R > cmd)
2) Ipconfig /all
3) You can check the Primary DNS suffix and DNS suffix in the search list.
ex) smartdesk.sds.cloud.com
1) Situation:
- A Network Error message pops up when activating the Designer license (refer to the image below).
- The external network and Orchestrator can be connected and the following ports are open.
- Port
Gateway IP : 8777
RPA Admin IP : 8080
Comm IP : 9001
405
Troubleshooting - Problems related to using Designer
2) Cause of error
- Invalid certificate
- Check Log
2019-04-09 16:13:35,081 [T37] ERROR CertificationClient
############################################ Cert Check Failed.
### => No matched certificate
###############################################################
2019-04-09 16:13:35,104 [T1] ERROR CertificationClient
The remote certificate is invalid according to the validation procedure.
3) Solution
- (temporary solution) Download two new certificates and overwrite to the following path
(auth_server.cer, AUTH_SERVER_CERTIFICATE.crt).
ex) C:\Users\SDS\AppData\Roaming\RPA.BOT
C:\Users\SDS\AppData\Roaming\RPA.Designer
- (fundamental solution) Apply a clean certificate file to the installation package.
Situation: I would like to automate the process that enters and updates the data to the
file I made after making the Excel file format and saving it. I added the file to
406
Troubleshooting - Problems related to using Designer
Solution: After adding the file to Resources, the folder address of the added file will be
'Global.ResourcesDir + file path'. The actual path is Project path\Resources\file name.
Situation: It is possible to operate the task again in an ON-ERROR event when an error
has occurred. However, the problem is that when the task is operated again, it is
processed without an ON-ERROR event and stopped after the exception.
Solution: At this moment, there is no solution for when the error occurs after operating the task again.
We will improve the program to do the operation again and update it in the next version.
(Retry will be allowed up to ten times to prevent unlimited repeats)
Situation: [RetryTask] I wonder that how to use error retry task library.
Solution:
1) Register the error handler to ON-ERROR property in Task and add the RetryTask to the error
handler.
2) Start Step & No./ID
- ErrorStep: Retry at the point where the No./ID plus the specified number based on the step where
the error occurs.
ex) if the No./ID is 1, retry at the next step after the error occurs. If the No./ID is -1, retry at the step
407
Troubleshooting - Problems related to using Designer
Situation: There is a problem that, if the error occurs in the lower task, the program
cannot find the next step when processing by error handler registration in the higher
process. Do I need to register all the lower tasks to the error handler?
Solution: The try-catch statement is created when you register error handler. The uncaught errors are
delivered to the higher task, so you need to register error handler when the lower task is needed.
Add the RetryTask library to process the next step continually after handling the error.
Specify the ErrorStep at Start Step on the property, enter 1 in No./ID to continue the process next to
the step with the error.
You need to be aware because script of the Task is initialized and executed, so the value is no longer
valid for the local variable created in the Task. (Value of member variable(this.VarName) in Task will
be remained.)
Situation: I wonder why the architecture is developed in the Client ↔ Server structure.
Can the server also be installed in places other than the head office?
Solution: RPA is not made for simply making and operating the scenario in one PC, but uploading the
scenario made in Designer and operating it by selecting the Bot PC from the server.
408
Troubleshooting - Problems related to using Designer
It can play the larger role by using the process flow, not just the simple process. It is possible to share
the scenario/asset through the server, such as the scenario made by person A can be used for person
B. Scheduling and periodic process operation are also possible. Servers can be installed in other
business units or customer companies.
Solution:
1) '', hexadecimal value 0x06, is an invalid error.
Error occurs while XML processing, because the value contains a value which is not displayed in the
UI ().
If the same problem is repeated even after setting the target again, the target has a value that cannot
be processed.
In this case, delete the value in Properties on the right, and set the Check Value as False to not apply
the Value property.
2) 'Padding is invalid and cannot be removed' error
Found the incomplete SetText within the content.
In many cases, the scenario is not completed or the encoded data entered in SetText is initialized
during import.
(The encoded data of the scenario contents will be deleted when sharing files directly between
different PCs without using Publish/Import functions)
3) 500 Internal error
This error can occur when the Asset value used in the project does not exist, such as when using a
deleted Asset.
Solution: The password is not entered in the disabled SendMail library, and Publish is completed after
the SendMail library deleted.
Situation: When constructor adds the .exe file, it cannot be added with 'Executable file
can not be added' message.
Solution: It is requested to restrict the uploading of .exe files to the server when reviewing the security
of the solution. Register the file by changing the file extension, in spite of inconvenience, and make a
copy of .exe extension to use for running in the scenario.
409
Troubleshooting - Problems related to using Designer
Solution: You can use both Windows7 and Windows 10. However, some scripts written in Windows 7
are unlikely to run properly on Windows 10, and vice versa.
Therefore, develop the script in Windows 7 if they will be executed in Windows 7, and the same goes
for Windows 10, which will relatively increase the the success rate.
Solution: Use Bot.ToString( ) function that is embedded data of the script engine.
var data_list = ['a', 'b', 'c'];
var data_list2 = [['a', 'b'], ['b', 'c']];
MsgBox(Bot.ToString(data_list));
MsgBox(Bot.ToString(data_list2));
MsgBox(Bot.ToString(data_list2[0]));
Convert an array and two-dimensional array to the string and return it as above.
You cannot use the XMLHttpRequest functionin RPA because it is the function provided by javascript
in the web browser.
* You had better use the method that registers the HttpClient class provided by C# to the engine.
You can run Http request by writing the ExecuteScript as below:
Bot.AddHostType('HttpClient', 'System.Net.Http.HttpClient');
var client = new HttpClient();
var response = client.GetAsync('http://www.google.com').Result;
MsgBox(response);
* Refer to the MSDN for the detailed information about HttpClient.
410
Troubleshooting - Problems related to using Designer
- Bot.GetCount(obj) Used when you do not know the variable to count verification or function name.
ex)
obj.length, obj.Length, obj.Count,
obj.getLength(), obj.GetLength(),
obj.getCount(), obj.GetCount(),
obj.Count(), obj.Length()
- Bot.IsNull(obj) Returns True if the object has a value such as null, Null, or Undefined.
- GetObjectInfo(obj) Output the member variable and function information of the object.
-GetProgressInfo(taskNam Returns the latest running step information of the assigned task.
e) It can be used for occurred error point information during the error reporting.
-GetLastRunStepID(taskNa
me)
-GetLastRunStepNo(taskN
ame)
ToXml(xmlString) Returns XmlDocument object by parsing the string of the assigned xml format.
411
FAQ
Appendix B.
FAQ
Q. Is it possible to execute even if the resolution is different from the time of writing the
scenario?
A. The mechanism is to search the target UI object using the information provided in Windows, SAP or
Excel. Because the target UI is identified with an up-down relationship between UI objects, text
information, and type information, there is no problem in performing basic actions even if the
resolution is different.
However, the apps that change the overall screen configuration based on the resolution may not
operate properly.
A. If the target apps are identical, they will operate the same way regardless of the Windows version.
However, it may not operate properly if the target app just has the same name and function, but
different version. For example, Paint for Windows 7 and the Paint for Windows 10 are not compatible,
because they are not the same apps.
413
FAQ
Q. Is there a way to specify the context menu that appears in the program menu or
when right-clicking, as the target object in the library?
A. When you specify the target objects, pressing the Ctrl key makes object input terminate by
displaying object selective squares in green, so you need to click Menu or right-click first and press the
Ctrl key to select the objects with red object selective squares.
414
Using Sample - Viewing Sample Using Designer
Appendix C.
Using Sample
Explains how download the sample in specified location and use it in the designer.
"Using Sample" explains the following topics:
To save the downloaded sample file and open it in Designer, complete the following steps:
415
Using Sample - Downloading the Sample
2. Double-click shortcut icon on the desktop to run Designer. If the designer is already running,
close it and run it again.
4. To open the sample file on the Designer, double-click it or select and click OPEN.
416
Using Sample - Viewing Sample Using Designer
417
Updating ChromeDriver - Check available ChromeDriver version
Appendix D.
Updating ChromeDriver
1. Open the Chrome Browser and click Help > About Google Chrome in the settings menu in the
upper right area.
419
Updating ChromeDriver - Download ChromeDriver to apply to Designer
3. Enter the installed Chrome version into the browser URL window as shown below (left of ‘.’) and
check the available ChromeDriver version.
420
Updating ChromeDriver - Download ChromeDriver to apply to Designer
Table D-1 Available ChromeDriver version according to Chrome browser version (via the link below,
you can download that version of ChromeDriver.)
78.x 78.0.3904.70
77.x 77.0.3865.40
76.x 76.0.3809.126
421
Updating ChromeDriver - Download ChromeDriver to apply to Designer
75.x 75.0.3770.140
74.x 74.0.3729.6
422
Setting DB - ODBC Setting Guide (MSSQL)
Appendix E.
Setting DB
423
Setting DB - ODBC Setting Guide (MSSQL)
424
Setting DB - ODBC Setting Guide (MSSQL)
5. Enter the name, description, and IP of SQL Server on the 'Create a new data source to SQL Server'
screen and click Next.
6. Enter the assigned account information provided by DB administrator, and click Next.
425
Setting DB - ODBC Setting Guide (MSSQL)
8. Click Finish.
426
Setting DB - ODBC Settings Guide (Oracle)
If you use Oracle, install the ODBC Driver through the ORACLE website, and continue the process.
Continue setting it up the same as below after installing the Oracle ODBC Driver.
(In the file explorer, right-click 'This PC' and click 'Properties' → Click 'Advanced System Settings' →
Click 'Environment Variables' on the 'Advanced' tab)
- if 'TNS_ADMIN' does not exist, set the network\admin folder which is in lower path of
'ORACLE_HOME'.
2. The Oracle installation path must be contained in the 'Path' variable of 'System variable' in system
environment variables.
If you have the 'ORACLE_HOME' variable, add the path to the 'Path' variable.
427
Setting DB - ODBC Settings Guide (Oracle)
4. Select the Oracle (name can be different depending on the version) driver and click Finish.
428
Setting DB - ODBC Settings Guide (Oracle)
5. Enter the name to use, the TNS Service Name, and the User ID, then click Test Connection.
6. Enter the password on the Connection pop-up screen, click OK after checking the normal
connection, and then click OK.
7. If it is registered properly, it will be displayed as a list on the DSN of the DBConnection activity in
the Designer.
429
Setting DB - ODBC Settings Guide (Oracle)
430
Using the Step Recorder Function - Design with the Step Recording Function
Appendix F.
Using the Step Recorder
Function
Users can record the action using the step recording function or design the project by finding the
library to use from the library screen and adding it into the activity.
Create the scenario of user's actions by clicking the step recording button. You can record actions,
such as mouse-click, right-click, double-click, and keyboard input actions.
To design a project with a step recording function, complete the following steps:
2. A recording screen that is the same as the one in the image below will be displayed on the right
side of screen when step recording starts.
431
Using the Step Recorder Function - Design with the Step Recording Function
No. Description
1 Pauses recording.
Click 3 to resume recording again.
2 Ends recording.
Displays the Select Recording Target Process screen.
432
Using the Step Recorder Function - Watching the Video Recorded with Step Recording
No. Description
3 Save the recoding before ending. Once recording ends, the Designer screen is
displayed.
To see the video recorded with step recording function, complete the following steps:
1. Follow the file path, C:\Users\user name\Documents\Brity Works Recorder Projects, in file
explorer to move to the related folder.
2. Move to the directory named with the numbers (date) like in the image below.
3. You can check if the recorded avi file has been created.
433
Using the Step Recorder Function - Importing the Proc Created by Step Recording
To see the proc file created with the step recording function, complete the following steps:
1. Follow the file path, C:\Users\user name\Documents\Brity Works Recorder Projects, in file
explorer to move to the related folder.
2. Move to the directory named with the numbers(date) like an image below.
434
Using the Step Recorder Function - Importing the Proc Created by Step Recording
3. You can then check if the proc file has been created.
6. Import the proc file in the related location using the Import Process or Import Task.
435