Skip to main content
No Result Found

Modules

Reuse common steps across multiple tests

The Module feature addresses the challenge of repetitive creation of common steps across multiple tests. By introducing Modules, users can create named groups of steps that are reusable across tests, reducing redundancy and streamlining test maintenance.

Few examples that demonstrate the diverse applications of the Module feature

  1. Common Login Module:
    • Open application, enter credentials, click login.
    • Imported into tests requiring login for consistent authentication.
  2. User Registration Module:
    • Open registration page, fill user details, submit, and validate registration.
    • Ensures standardized user registration across multiple tests.
  3. API Testing Module:
    • Make API calls with specified parameters, validate the response.
    • Ensures reusability and consistency in backend validation across tests.
  4. Navigation Module:
    • Navigate to the dashboard, access a specific module, go to the target page.
    • Simplifies common navigation steps, across multiple tests targeting a page.

You can create, edit, and import modules, ensuring that changes made to a module are reflected across all tests where the module is used.

Creating a Module

You can select a continuous set of steps and create a module with a unique and meaningful name. Create Module

Importing a Module

You can easily import any module while creating a test, by clicking on Import a Module option Import Module

Editing a Module

Any edits made to the module are reflected across all tests where the module is used. You can perform the following actions on a module:

  • Add a step
  • Edit a step
  • Delete a step
Note:
  1. Modules cannot be nested.
  2. Modules do not support variables from a test dataset yet.
  3. “Extract Value”, “Custom Variable” and “API Step” variables can be used inside the module only if they are created within the module.

Variables in Modules

  • Variables used within a module have a module namespace, similar to dataset variables.
  • Variables from the module can be used outside the module in other steps within the test.
  • Variables from outside the module cannot be used inside the module during import. This is enforced during module creation.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle