Page 1 of 1

Keyword: WEBGETVALUE - Value from Web Form

Posted: Thu Apr 28, 2022 10:42 pm
by YiMeng
Description
  • Set a variable within the script with a value from a web element's value attribute, on a webpage.

Parameters
  • x: The variable name
  • y: The xpath of an web element with an value attribute

Usage
  • WEBGETVALUE x=y
  • To call the variable use: "%x%"
  • If xpath element does not exist, a string value of "NaN" is returned.