JSON editor allows you to make changes to all of your steps from inside the editor. The editor also allows you to add or remove steps or cut, copy and paste steps.
You can change the way JSON editor looks by following the steps below:
1- Hover over your user and select User Preferences
2- Click Application tab and select the Advanced View Type that best suits you. You can select Compact or default to use the extended mode.
3- Click Save & Close and return to your test case.
4- Click Move > Advanced view
Compact View Type:
Default (Extended) View Type:
To make changes, simply find the line that matches the step you are looking for. You can use Find or Find and Replace buttons to make searching easier. If you make incorrect changes, the X icon will be visible next to the line number to indicate that you must correct the error before saving. When your changes are finished, click Apply and save your test case. Then you can run your test case with the parameters that you have changed.
Practice Examples
PS: Test case used as a reference is: “advanced_view”
1- Change the value of the Wait command in step 7 from “1” second to “2” seconds.
2- Change the value of the birthday in step 11 from “21.05.1991” to “13.04.1991”.
3- Change the value of city in step 13 from “Baltimore” to “New York City”.
4- Make the new value in step 11 “13.04.1991” encrypted.
5- Create a new (Wait) step by copying Step 7 and adding it after step 17 (save profile).
6- Add a new step (with Print command) after step 19 and set a message “The profile has been updated”.
The following video goes over the examples above: