Using local storage
Local storage allows you to store values in the local storage of the browser you are using.
Stored values can be referenced in the form {{ querierLocalStorage.value.xxxx }}
.
Execute setItem.
- from [Select Action] select [Utility > Local Storage].
- specify [Action to be performed] as [setItem].
- enter [Key] and [Value]. (You can also refer to them by
{{ }}
respectively). - select the local storage action and run the test via [Test Action].
- check that you can reference the value of the specified Key with
{{ querierLocalStorage.value.xxxx }}
.
Run removeItem.
- from [Select Action] select [Utility > Local Storage].
- specify [Action to be performed] as [removeItem].
- enter [Key]. (You can also refer to it by
{{ }}
). - select the local storage action and run the test from [test action].
- confirm that the value of the specified Key has been removed from
{{ querierLocalStorage.value }}
.
Run clear.
- from [Select Action] select [Utilities > Local Storage].
- specify [Action to be performed] as [clear]. Select the local storage action and test it via [test action].
- verify that all Key values have been removed from
{{ querierLocalStorage.value }}
.