AgileTest

Understand Precondition Components

When you click on any Precondition Key in the Precondition table, you are redirected to the Precondition Detail screen, where you can view and manage detailed information related to that precondition.

CleanShot 2026-01-08 at 07.08.21@2x-20260108-000838.png

1. Details Tab

In the Details tab, you can view the precondition type and its current setup. This tab allows you to update precondition details, as well as change the precondition type if needed, ensuring it stays aligned with your testing approach.

1.1 Update Precondition Details

To update precondition details, click the details field and edit.

For the Manual Precondition Type, you can edit the created steps in the system space. Click the “Save” button to apply your changes.

CleanShot 2026-01-13 at 21.32.34@2x-20260113-143313.png

For the Cucumber Precondition Type, you can edit your input content in the code base to update the precondition logic. Click the check mark / cross mark button to save or discard your changes.

CleanShot 2026-01-12 at 23.00.31@2x-20260112-160126.png

For the Generic Precondition type, you can edit the content in the text field to update notes, configurations, or checklist information. Click the “Save” button to apply your changes.

CleanShot 2026-01-13 at 21.42.22@2x-20260113-144255.png

1.2 Change Precondition Types

To change the precondition type, click the dropdown menu in the Details tab and select the type you want to use.

CleanShot 2026-01-12 at 23.04.50@2x-20260112-160514.png

Since Precondition types must match Test Case types, changing the Precondition Type will remove all existing details and unlink any test cases currently associated with the precondition. Make sure to review this impact before making the change.

2. Test Cases

In the Test Cases tab, you can view which test cases the preconditions are linked to. This helps you track which required conditions, data, or environment setup must be fulfilled before executing those test cases.

CleanShot 2026-01-12 at 23.20.40@2x-20260112-162105.png

You can only link preconditions to test cases with the same types.

To link this precondition with test cases, you can follow these steps:

  1. Choose the Test Cases tab in the Precondition Detail screen.

  2. Click the “Add to Test Cases” button.

  3. Choose “Existing Test Cases”.

CleanShot 2026-01-12 at 23.22.00@2x-20260112-162256.png

If you choose “New Test Cases” you will manually create a new test case here.

Learn more about creating a test case indirectly in the Precondition.

  1. Select the test cases you want to link with this requirement.

  2. Choose “Add Selected” to finish.

CleanShot 2026-01-12 at 23.24.43@2x-20260112-162556.png

2.2 Remove Test Cases From Preconditions

To unlink preconditions from test cases, select the preconditions you want to remove and click the “Remove” button in the toolbar. Or you can also click the “X” button to remove a single test case.

CleanShot 2026-01-12 at 23.33.07@2x-20260112-163336.png

3. History

In the History tab, you can see the change logs of the associated precondition. This helps you track any modifications, updates, or status changes made to the precondition over time.

CleanShot 2026-01-08 at 07.22.13@2x-20260108-002301.png

 

 


Should you need any assistance or further AgileTest inquiries, contact our 24/7 Support Desk!