Set Element Text by XPath

This action is used to set the contents of an element of a webpage inside a Selenium browser instance. The target element is located within the page using XPath expressions.

Properties

Input

  • Instance: the TAPSeleniumInstance variable that will be used for setting values

  • XPath: the expression which will be evaluated as an XPath, used for locating the target element.

  • Value: the expression which be evaluated as the value for the target element.

Misc

  • Display Name: action display name in your implementation project

  • Wait Before: number milliseconds robot to wait before executing the action.

  • Wait After: number milliseconds robot to wait until moving to the next action.

  • Abort on Error: True/False

  • Retry Times: Specifies the number of times to retry an action if it doesn't end successfully. Default value 0 (no retry); Use -1 if you want to retry indefinitely.

Use Case

Potential Use Cases

  • Sets the value of a web element (such as text input) within a web page

  • Modify web page contents

  • Fill forms

Last updated