Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents

Expand
titleClick here to expand the table of contents
Table of Contents
exclude^Оглавление$

Description

The Set Value action is used to set values for input fields


How to add an action to the project?

Through the context menu, add Action → Android → Set value

Image RemovedImage Added

Through the action designer.
Or use smart search.


How to choose a field to set the value?

In the emulator window, by clicking the right mouse button on the item to which we want to set the value. From the context menu, select "To the action designer" (1), the constructor will be loaded at the bottom of the emulator window, select the type of action "Set" (2), set the value (3) and click the "Add to project" button (4).

Expand
titleScreenshot

Setup Action: Tab "Main"

What

The text you want to insert. You can use both simple text and variable macros {-Variable.someVar-}, {-Profile.Name-}.

Classic item search

Include Page
Search elements (ZD)
Search elements (ZD)

Setup Action: More Tab

Include Page
ZD More tab Set \ Get value, Rise Event
ZD More tab Set \ Get value, Rise Event

Usage example

By default, on the main screen of the emulator there is an input line for searching on Google Play, let's try to enter some text into it.

Expand
titleScreenshot
  • First, right-click on the field and send it to the Action designer.

Expand
titleScreenshot
  • Next, we check that the element can be found according to the specified search criteria (1), after which you need to enter the required text in the “Value” field (2) and click “Test” (3), to make sure everything is working correctly. And if everything is successful, then you can click "Add to project" (4).

  • The action is added and ready to work.