Populate text field on web page Action(Power Automate Desktop)

08/02/2023

Japanese version.

The action is to enter a value into the specified text field.(TYPE="text" in the INPUT tag.)

This action targets browsers launched with the following actions.

How to use

First, open the page with the text field for which you want to enter a value.

Next, under "Browser automation" and "Web from filling", drag "Populate text field on web page" and place it under the Browser Launch Action.

Set parameters.

Parameter

Web browser instance

Specify the target browser (Variables produced by the startup action).

The target text field must be displayed in the specified browser at the time this action is executed.

UI element

Specify the target HTML element(Text field).

Click on the input field and the following pops up.

If the UI element is already registered, select the target, If not, click the "Add UI element" button.

Hover the mouse over the target when the following window appears.

When you hover the mouse over it, it will be surrounded by a red frame.

Then hold down the Ctrl key and click.

The input field should appear as shown in the following figure (the text will vary depending on the UI item selected).

Text

Specifies the value to be entered.

If field isn't empty

Select the action to be taken when a value is already entered for the specified "UI element".

  • Replace text…Delete the already existing value and then enter the value.
  • Append text…Append to the right of the already existing value.

Populate text using physical keystrokes

When ON, keyboard input is reproduced.

This is not necessary to turn ON, but it is a good policy to try ON if text input is not successful, which may be necessary if JavaScript is performing some processing at the same time as keystrokes.

Unfocus text box after filling it

Turn OFF if you want to enable the autocomplete list.

In most cases, the default setting of ON is fine, as there are no obstacles in either case.

Wait for page to load

ON is recommended because if OFF, the action will be executed before the page is completely finished loading.

This may not work well in cases where some objects are slow to load,In such cases, change it to OFF.

Timeout on webpage load

This item is displayed when "Wait for page to load" is ON.

Sets the maximum number of seconds to wait.

If this number of seconds is exceeded, an error will occur.

If a pop-up dialog appears

Specifies how the dialog is handled when it is displayed.

  • Close it
  • Press a button
  • Do nothing

For "Press the button", additionally specify the name of the button.

For those who want to learn Power Automate Desktop effectively


The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Desktop to streamline your workflow.

Links

Browser automation Actions

Examples of Use

Example of simple web browser auto-operation: auto-filling a web form.