Last Updated:
01 Mar 2019 13:14
by ADMIN
1. Create an ApiTesting project
2. Create a test step that uses a variable (e.g. create a SetVariable step that reads a variable named "var1" and saves it to another variable "var2") (see the attached sample project)
3. Run the project via command line, passing the var1 and its value as a command line argument. Use a value for var1 that contains an equals sign "=" - e.g.:
test -p \"C:\\Users\\{account}\\Desktop\\ApiSplitTest\" --save-contexts -v var1=value1=value2
4. To check the result of the test, you can open the "{ProjectPath}\variables\Test Case.variables" file - it should contain a runtime variable "var2"
Actual result: Any text in the variable's value after the = sign is cut-off - it appears as "value1"
Expected result: The value of the variable should be: "value1=value2"