Data
Store, Set and Delete Data from your Tests or Website
Store Text
Configuration
Type
You are able to store using the following types:
Store Text This stores the text property of the selected element, for example, a Login button will have the text "Login".
Store HTML For other non-rendered items, such as the Page Title, use this type to store the inner HTML of that element. For example,
<title>Heading</title>
would store Heading.Store Value This is handy for dropdowns / select elements, where you would like to store the value property of the element
Alias Value Set an already stored value and alias it to another one to simplify, for example, an API response object,
apiResponse.data[1].user
can be aliased totestUser
for use later in the tests. If you would like support on how to use this, please reach out to us.Store Element Count This node will count the matches for the element, and store it in the provided key.
Element
Select an Elements to use in this action, or use the + button to create a new one.
Storage Name
This is the name that you would like to give it in the Values (Value Store).
For example, if I am on a product page, I can store the price elements text to be productPrice
, and then later refer to it in action and assertion nodes by typing $
in the value field.
Set Cookie
Configuration
Cookie Name
Give the new cookie a name, if this is already existing, the current cookie will be overwritten with the new value.
Cookie Value
The value that you would like to set in the cookie. You can use Values (Value Store) values within this field.
Delete Cookie
Set Local Storage
Configuration
Key Name
Set the key of the local storage item.
Key Value
The value that you would like to set in the local storage item. You can use Values (Value Store) values within this field.
Delete Local Storage
Set Session Storage
Configuration
Key Name
Set the key of the session storage item.
Key Value
The value that you would like to set in the session storage item. You can use Values (Value Store) values within this field.
Delete Session Storage
Last updated