Skip to content

Get Methods Activity

The Get Methods activity enables the extraction of data from specific fields within a web browser or desktop application. It captures information based on defined XPaths or application properties and stores the output in a variable for use in subsequent workflow steps.

Field Description Requirement
Application name The reference name of the application instance previously opened or attached. Required
Field The XPath location identifying the specific element from which data will be retrieved. Required
Type The specific action or method used to extract the data from the target field. Required
Attribute name The name of the attribute to be fetched when the Type is set to Attribute. Optional
Result variable name The name of the variable where the retrieved data will be stored. Required

Action Types & Examples

Text

  • Format: string
  • Example Result: "Submit"

Value

  • Format: string
  • Example Result: "Search Term"

Attribute

  • Format: string
  • Example Result: "btn-primary"

Title

  • Format: string
  • Example Result: "Google Search"

URL

  • Format: string
  • Example Result: "https://www.google.com"

Implementation Examples

Field Setup - Application name: ${robustaWebpage} - Field: (//input[@title="Arama"])[1]

Execution Parameters - Attribute name: value - Result variable name: getResult

Technical Notes

The Attribute name field is only required when the Type property is set to Attribute. This field is not required for Title, URL, or Text actions. All XPaths must use standard straight quotes (") to ensure correct element identification during execution.