To be able to create a variable assignment, you must first
declare a variable. This task is explained in the
page.
Then you can set a value for the object’s property, it will
be used when the variable will be executed in the test.
You can
create variable assignments in all tests that are created from Android,
iOS, hybrid or Web UI applications.
Note: When you run a test from the mobile
client on mobile devices, it uses the same values that you used during
recording. If you modify the test script and create a datapool or
variable, or if you add a condition, a loop, custom code, references
or add other statements, they are not taken into account by the mobile
client at run time. To verify that the initial recorded values are
substituted with variable data, you must initiate the test run from
the workbench.