Versions Compared

Key

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

A Test Case consists of steps and may contain single or multiple tasks. Each step contains an action along with its associated objects and parameters. Define the sequence of the steps in a test case that resemble the flow of a test scenario. You can add test data as per the requirements.

...

Before you create a test case, create a test scenario or select from available test scenarios.

 A Test Case consists of steps, where each step contains the following:

...

.

...

A Test Case Editor screen contains buttons that you can use to add steps or execute a test case.

The following table shows the description of each button.

ButtonButton NameDescription
Image AddedCreate New taskTo create a new task while adding or editing a test case. You need to select a step after which you want to create the new task 
Image Added
To import a task
Create Tasks using the selected steps

To create a new task using the steps of the test case.

You need to select the steps. 

Image AddedImport TaskTo add a task that is already created in the project. Select a step
in
after which you want to add a task.

Image Added

Detach TaskTo remove a task from the test case. You need to select the task that you want to remove.
Image AddedAdd Test Case StepTo add an independent test case step, that is, a step
that
which is not part of any task.
Image AddedAdd Task Step

To add a step in a task.  You need to select a task in which you want to add a step.

Note: If you add a new step, ensure that the execution of all the associated test cases are not affected.  

Image AddedRemove StepTo remove a step from the test case.
Select
You need to select the consecutive steps
and click 
.
Image AddedAdd Conditional BlockTo insert a conditional statement. For more information, refer to Conditional Structure (IF-ELSE).
Image AddedMove UpTo move up a selected step.
Image AddedMove DownTo move down the selected step.
Image AddedStart Web Recording

To start web recording on a web application under test.

Or, if a recording session is on, then this button is replaced with the Pause Web Recording button (Image Added).


Note: If you have already dry run a test case, you cannot record in the same session. You need to close the browser, open the test case, and then do the recording.

Image AddedStop Web RecordingTo stop the web recording session.
Image Added

Start Mobile Recording

To start web recording on a mobile application under test.
Note: If you have already dry run a test case, you cannot record in the same session. You need to close the browser, open the test case, and then do the recording.

Stop Mobile RecordingTo stop the mobile recording session.

Image Added

Add Test DataTo insert test data. For more information, refer to Adding a Test Data.

Image Added

Dry RunTo dry run the test case. For more information, refer to Dry Running a Test Case.

Image Added

DebugTo debug a test case. For more information, refer to Debugging a Test Case.

Image Added

Debug LogsTo open the debug execution logs.
Image AddedGo To LineTo go to a specific line of a test case
Image AddedPrevious Error

To go to the previous step, which has been identified as:

  • Deleted: The objects are deleted
  • Empty: The objects are not added.
  • New Test data:  Add with a new set of test data.
Image AddedNext Error

To go to the next step, which has been identified as:

  • Deleted: The objects are deleted
  • Empty: The objects are not added.
  • New Test data:  Add with a new set of test data.
Image AddedSave 

To save the test case every time you update it.

Also, you can click the arrow button to save it as another test case with a different name.


Related topics

Child pages (Children Display)