Get Web Attribute (NB)

Last modified by Nga Nguyen on 2022/05/16 03:54

RCA.Activities.NativeBrowser.GetWebAttribute

Description

The Get Web Attribute activity allows you to get the value of an attribute that belongs to the native browser element.

image-20220505150017-1.png

(*For Mandatory)

In the body of activity

  • Pick target element* - Chooses the element to verify its existence. This activity will generate a string variable (Selector) to specify the location of that element
  • Attribute Name (String)* - The expression of the attribute to be selected from. It is a string, so it has to be encased in quotation marks.

Properties

Common

  • Continue On Error (Boolean) - This property specifies when the automation keeps going if it has an error. Only have two possible values: True or False. True - allows the rest of the process to continue the execution even an error occurs within the activity. False (default) - blocks the process from continuing the execution.
  • Delay After (Int32) - Delay time (in milliseconds) after executing the activity. The default amount of time is 300 milliseconds.
    E.g: 300
  • Delay Before (Int32) - Delay time (in milliseconds) before the activity begins performing any operations. The default amount of time is 300 milliseconds.
    E.g: 300
  • Timeout MS (Int32) - The amount of time (in milliseconds) to wait for the activity to run. If the timeout has expired, the page would not be loaded further. The default amount of time is 30000 milliseconds.
    E.g: 30000

Input

  • Attribute Name (String)* - The expression of the attribute to be selected from. It is a string, so it has to be encased in quotation marks.
  • Selector (String)* - Text property used to find a particular UI element when the activity is executed. It is actually an XML fragment specifying attributes of the GUI element you are looking for and of some of its parents.
  • Wait Visible (Checkbox) - Check this box if you want the automation waits for the target to be visible before executing the activity. This is checked by default

Misc

  • Display Name (String) - The name of this activity. You can edit the name of the activity to organize and structure your code better.
  • Public (Checkbox) - Check if you want to public it. Remember to consider data security requirement before using it. Default is uncheck.

Output

  • Output Value (String) - Value of the attribute that will be outputted with type = ‘String’.
  
Navigation