Web Properties

Data in a webpage that can be stored using Store Action.

The following are the different types of data that can be set to a variable using Store Action.

  • Attribute The value of the specified attribute in the specified element in the page.

  • Text The text, of the specified element. The text of an element is the text selectable using mouse.

  • Page Title Title of the current page.

  • Value Value of the specified input element.

  • Window Handle A handle to the current window or tab.

  • XPath Count The number of XPaths that match the specified XPath pattern.

  • Evaluation Result The result of evaluating a script. User can use a variable with name elementvariable in the script to denote the element specified by the element input. The element is evaluated only if the variable is used in the script.

  • Page Source The full HTML of the rendered webpage.

  • Position The position rectangle of the specified element in the webpage. The position is calculated from top left of the webpage (not the visible region).

  • Property The value of the specified property of the specified element in the page.

  • XPath The full XPath of the specified element in the page.

  • Alert The message of the alert, if an alert is present in the page.

Alerts, Prompts, etc. are handled by the recorder and wont be visible in the page during the playback. This is to prevent the popup from blocking the script execution. Use store alert to get the alert message.

Last updated