Change Role

Changes the current user’s role.

Fields in the editor

Field
The field that contains the user role.
Occ
The occurrence number of the field (optional).
Variable
The variable that contains the user role.
Value
The user role.
If a role with empty string is specified, the current role of the user is used. This can be convenient to revert to the original role after changing the role in a script.
Note: The role is affected only for the duration of the script and is inherited by invoked test cases or test scripts. When control returns to the parent, if any, the role of the parent is restored.