Variables
It has the ability to store certain values during a test, or to generate random values. The values stored here are used in other steps.
Caution) The key value is not case sensitive.
Store Value
Used by authors to store specific values.
For example, if you need to create a scenario where you need to enter your login ID frequently, you can set the value in advance at the beginning and retrieve it from where you need it.
Store Value Attributes
key: The key value to be used when the value is stored and used elsewhere.
value: Actual data stored as key values.
Store Content
The ability to read and store strings at specific locations on the screen. You can use the key value when you use the value stored here in another step.
Please refer to the following example.
Store Content Attributes
key: Identifier for writing when using values saved in another step.
UIObject: Outputs the screen element to which the data will be read.
pattern: Regular expressions are available. If you want to save the value only if there is a case-sensitive phrase "welcome" in a particular location, you can enter the /welcome/i regular expression.
Random Number
This is a function that you can use when you want to create and use numbers randomly.
Random Number Attributes
key: Identifier for writing when using saved values.
Random Text
You can create randomly generated text.
Characters used for random generation are lowercase letters (a-z), upper case letters (A-Z), and numbers 0-9.
Random Text Attributes
key: Identifier for writing when using saved values.
prefix (optional): You can set it when you want to use a fixed value at the beginning of the text.
number of characters: You can specify the number of characters to generate randomly. (You can choose from 1-10.)
Export Variable
You can specify stored values in the current scenario (Store Value, Store Content, Random Number, Random Text) for use in other scenarios.
In order to use the saved value in another scenario, the scenario must first be a shared scenario, and the value to be used must be specified as Export Variable.
Export Variable Attributes
key: Enter the key of the stored value to share with other scenarios.
Last updated