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 |
---|
TipThe 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
...
Info |
---|
TipIf a locator used in a step has more than one match on the page, a warning will be presented and the status of the step is marked with FAIL_SKIP |
Floating Action Palette
The floating action palette allows you to configure your steps as follows:
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.
Ungroup: Allows you to ungroup a previously created group
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
Move selected up: Allows you to move one or more steps up
Move selected down: Allows you to move one or more steps down
Cut: Allows you to cut steps so you can paste them elsewhere. You will see highlight around the cut steps for easier visibility.
Copy: Allows you to copy steps so you can paste them elsewhere. You will see highlight around the copied steps for easier visibility.
Paste: Allows you to paste steps after cutting or copying them.
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.
Delete selected: Allows you to delete a selected step
Mark to Skip: Allows you to skip a currently selected step. This will also affect cloud executions.
Set Breakpoint: Allows you to set a breakpoint on which execution will step. Only affects local execution and does not affect cloud executions.
Add Comment: Allows you to add a comment to a selected step.
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):
...