Jitera is able to automatically generate test cases from usecases, execute, and save the results along with screenshots.

<aside> đź’ˇ

This feature is available for enterprise plan users.

</aside>

Step-by-Step Guide

  1. Access to Testcase page.

  2. Click the Configure Tests button to configure information necessary for testcase creation.

    1. URL (mandatory)
    2. Credentials (if page requires it)

    The application must be accessible in a staging environment or similar for test case execution.

    Screenshot 2024-10-24 at 12.55.26.png

    This section allows you to configure authentication for testing your application. Input your application's deployed URL, login credentials (username or email, and password), and specify the login path (e.g., /login). You can also set the duration for how long the authenticated state should remain valid, measured in seconds (default is 6000 seconds). For more advanced configurations or custom Playwright code modifications, click the Configure button to adjust additional settings.

    Screenshot 2024-10-24 at 12.55.34.png

    In this section, you can configure custom Playwright authentication code and manage the Playwright storage state for user sessions.

    Screenshot 2024-10-24 at 12.55.45.png

    After saving the main configuration, the system automatically generates the Playwright

    Use the Re-generate all code and states button to automatically create or update both the Playwright authentication code and storage state.

    Screenshot 2024-10-24 at 13.03.48.png

  3. Select the usecase for which feature to be tested, then click the “Generate” button.

    CleanShot 2024-09-08 at 15.51.21@2x.png

  4. Jitera generates the testcase content.

    CleanShot 2024-09-08 at 15.57.59@2x.png

  5. Test cases and steps within test cases can be reordered by drag-and-drop.

    Screenshot 2024-10-24 at 13.57.46.png

  6. Hover the generated testcase section. Click the “Run test” button to execute the testcase.

    CleanShot 2024-09-08 at 16.01.12@2x.png

  7. Jitera execute the testcase and report the test results in the right panel.

    CleanShot 2024-09-08 at 16.04.26@2x.png

  8. Hover the generated testcase section. Click the “Show Code” button to view the Playwright code for each step. You can edit this code and use it in Selenium.

    CleanShot 2024-09-08 at 16.08.10@2x.png