Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Commands Editor allows you to view your test cases in SQL-like language where you can add steps, edit existing steps and validate the script before applying changes to your test cases.

1- On your test case, click Advanced View and the first tab will open automatically.

2- You can make changes to the script and validate it before saving. For example, let’s change the Wait period in step 5 from 2 seconds to 5 seconds. After clicking Validate, a message will appear to inform us that the script is correct and you can save your test case.

Snippets

You can use snippets which make it easier to author steps using the Advanced Commands Editor.

1- To start, click on the first line to enter your first command.

2- Enter “click” where you will see the snippet ‘web.click'. Navigate to it using your keyboard and click Tab.

3- The first part of the snippet that requires editing will be highlighted in blue and is ready for you to make changes.

4- Enter the name of the locator and click Tab again to navigate to the next part of the snippet

5- If you would like to add a custom caption, you can enter it in the double quotes. If not, you can leave it the way it is or press Delete on your keyboard to remove it.

6- Once finished, click Validate to check that the script is correct.

7- Click Apply in order to apply the script to your test case.

Commands Editor Changes

After opening a test case, you can start making changes to the script and then check all the changes you made before saving.

1- After making changes, click Toggle Show Changes link on the top right of the editor

2- You will see a read-only screen on the right side which highlights the step(s) were changes took place. The example below shows that the Wait period was changed from 3 seconds to 5 seconds.

4- Afterwards, you can proceed to Validate and Apply changes to your test case. To close the changes screen, simply click Toggle Show Changes again.

  • No labels