Man illustrationFlower illustration

Set methods

Estimated reading: 3 minutes 338 views

Set methods activity enables data writing to desired fields (Textbox, Combobox etc.) via browser or application.


*Application nameThe reference name of applications which has already been opened or attached is chosen in the dropdown.
*FieldIt is the field where the location (XPath) of the area is written.
ClearIf it is necessary, it enables clearing the field before setting.
*TypeThe type of setting is chosen.
*TextFor the set operation, it is generally used over the Text.
Attribute nameIf “Attribute” is selected as an action in the Type property, the attribute name of the element to be used must be written. In the process of setting a title, the Title to be changed should be entered in this field.
Wait until visibleIf this checkbox is checked, it is waited until visible all elements of webpages or Windows.
Note: * Fields selected with are required, others are optional.

You can use the Applications name as shown in the example.

${robustaWebpage}

You can use the Field as shown in the example.

(//input[@title=”Arama”])[1]

You can use the Type as shown in the examples.

Value and Attribute options can be used if the area to be printed text is a combobox and the desired text cannot be printed with the text method. Because on some websites and applications, it allows changing the values in the combobox only with attribute options. For this reason, setting up with the Text method does not work.

Title option should only be used if you want to change the title information of the site.

It can also be used as an alternative to the Text method in Keystroke.

Text is used to write text into the given content:

Text

It is used to change the value in the Html code for the entered location (Xpath) value:

Value

It is used to change the Attribute value in the Html code by specifying which Attribute value is desired for the entered location (Xpath) value:

Attribute

Used to change the title of the page that opens:

Title

It is a keyboard gesture. If the KeyStroke action is selected, the action desired to be performed on the keyboard is written in the text section:

Keystroke

You can use the Text as shown in the examples.

Coronavirus news

Coronavirus news for ${days}

${days}

You can use the Attribute name as shown in the examples.

Value

option

Home – Robusta

The value to be set in the text field can be both written with a variable and entered directly as text. If it is to be entered as text, it can be entered as robusta. But the value is to be sent by means of the variable, the name of variable must be between brackets ({}) and start with $. Let’s assume that robusta is assigned to companyname variable and we will call a variable to obtain the value of that variable, the variable name must be typed as ${companyname}.

Share this Doc

Set methods

Or copy link

CONTENTS
Chat Icon Close Icon