Header

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 2 Next »

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.

A test case determines whether the application under test meets the defined specifications under the given set of conditions or variables. Test cases are also created to validate if an application meets the business and functional requirements.

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

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
Create 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 
Create Tasks using the selected steps

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

You need to select the steps. 

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

Detach TaskTo remove a task from the test case. You need to select the task that you want to remove.
Add Test Case StepTo add an independent test case step, that is, a step which is not part of any task.
Add 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.  

Remove StepTo remove a step from the test case. You need to select the consecutive steps.
Add Conditional BlockTo insert a conditional statement. For more information, refer to Conditional Structure (IF-ELSE).
Move UpTo move up a selected step.
Move DownTo move down the selected step.
Start 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 ().


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 Web RecordingTo stop the web recording session.

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.

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

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

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

Debug LogsTo open the debug execution logs.
Go To LineTo go to a specific line of a test case
Previous 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.
Next 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.
Save 

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

  • No labels