WinActor

2020.12.24
SampleScenarios Automatic Recording
Enter characters at the cursor position on the front screen

This is a sample scenario using WinActor's automatic recording action library. This is a sample scenario in which characters are automatically entered at the cursor position on the front screen.
*Please see this precautions upon downloading this sample scenario.

Feature

This sample scenario executes following process.

  • It waits for 5 seconds after executing the scenario, and when the waiting is completed, the specified character string is automatically entered in the focused part of the screen in the foreground.

WinActor(OR-5200) Modules to use

In this sample scenario, the following WinActor(OR-5200) modules are used.

  • 04_AutomaticRecording/Emulate.ums6

Operating Environment

The operation of this sample scenario was confirmed in the following environment.

  • Windows 10
  • OR-5200 6.1.0, WinActor 7.1.1

How to use

The usage of this sample scenario is as follows.

STEP1 Preparation

Extract the downloaded ZIP file and load this sample scenario included in the extracted folder with WinActor.

STEP2 Setting variables required for operation

Update the values required to execute this sample scenario in the variable list. The following variables need to be set in advance when executing this sample scenario.

  • Input string
    • Set the character string you want to enter.

      Example) WinActor Input Test

input.png

Variable display screen

STEP3 Executing the scenario

Start executing this sample scenario with WinActor. This sample scenario ends when the entering of input character string is completed.

STEP4 Confirm the status of the executed scenario

After the execution of this sample scenario is completed, the input character string is entered in the focused field of front screen. In the case of the example of Step 2, "WinActor Input Test" is entered.

Trouble shooting

In this sample scenario, if there is no field for inputting text on the front screen, or if the text inputting field is not focused, the sample scenario may end without entering the input character string. In such a case, while waiting for 5 seconds after the sample scenario execution starts, click the field you want to input the character string on the screen and make focus on that.

Explanation

This section describes the implementation technique used in this sample scenario.

Target window settings

The window to be input by this sample scenario is assumed to be a pop-up window (eg. Authentication information input window, etc.) that is focused on the input field. In addition to implementing this scenario, it can be used as a more enhanced scenario by making modifications such as opening a window and focusing on the input field.

For example, there is a library called "23_Browser/Browser_Click.ums6". With this library, you can perform the operation of "specifying and clicking elements (buttons, links, etc.) in a web page". By clicking the input field with this library, focusing on it, and then performing the operation of this sample scenario, more advanced usage is possible. For how to use the browser related library, refer to "WinActor_Browser_Operation_Scenario_Creation_Manual.pdf" *.

* OR-5200: OR-5200_browser_operation_scenario_creation_manual.pdf

Track changes

VersionDateDetails
1.0 12/1/2020 First edition