Keyword: WEBGETVALUE - Value from Web Form

Keywords are used within scripts that enabled powerful features such as dynamic variables, clipboard manipulation, read/write files, mimic inputs and more.
User avatar
YiMeng
Author
Posts: 235
Joined: Sat Jul 18, 2020 10:58 pm
Location: NY
Contact:

Keyword: WEBGETVALUE - Value from Web Form

Unread post 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.