Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can define a new test case, run and debug locally, execute on the cloud and get a report of the execution by following the steps below:

...

Info

Tip

The Name field color is pink to indicate that this is mandatory to enter.

Creating Test Cases

Test Cases are the place where you author your automated/manual/hybrid tests which includes steps and commands. Creating test cases is done as follows:

1- Click on + icon after navigating inside your Test Suite to create a new test case

...

  1. Create Group: Allows you to create a group from one or more steps for the purposes of organizing your test visually. These groups can be named and also allow you to expand or collapse them, which makes long tests look cleaner.

  2. Ungroup: Allows you to ungroup a previously created group

  3. Create Function: Allows you to create a function from one or more steps which you can use in other test cases as well. Refer to this section of the guide to learn more about functions

  4. Move selected up: Allows you to move one or more steps up

  5. Move selected down: Allows you to move one or more steps down

  6. Cut: Allows you to cut steps so you can paste them elsewhere. You Highlight will see highlight be displayed around the cut steps for easier visibility.

  7. Copy: Allows you to copy steps so you can paste them elsewhere. You will see highlight around the copied steps for easier visibility.

  8. Paste: Allows you to paste steps after cutting or copying them.

  9. Change Command: Allows to to change the reset the step to select a different command. If your step was already using an XPath or Locator, the new selection will use the same one if the command accepts XPaths or Locators.

  10. Delete selected: Allows you to delete selected step(s).

  11. Mark to Skip: Allows you to skip a currently selected step. This will also affect cloud executions.

  12. Set Breakpoint: Allows you to set a breakpoint on which execution will step. Only affects local execution and does not affect cloud executions.

  13. Add Comment: Allows you to add a comment to a selected step.

...

Info

You can select only 2 steps (for example 1 and 15) and click some of the icons mentioned above. This will allow you to automatically range the selection or choose only the selected steps.

Info

You can choose between performing an action to the container (IF, LOOP or GROUP) and the steps inside it, or only the container itself. For example, selecting the starting IF statement and clicking Delete will ask you to select either Container and Steps or Only Container.

Running a Test Case Locally and Debugging

...

4- Create the needed steps with commands and define any locators/Inline XPaths.

...

6- Click Not Saved to save your function


Method (2):

...