Skip to main content

Generate Test Cases using AI

Learn how AI can assist with creating test cases in BrowserStack Test Management.

BrowserStack Test Management integrates powerful AI features to generate and refine your test cases. This document demonstrates how to leverage AI assistant to generate test cases or autofill details for your test case. AI assistant uses existing test cases to generate new information or modify the existing data. The better your existing test cases are structured, the more accurate the AI’s suggestions will be.

Key Features

  • Test Case Generation:
    Generate a comprehensive set of test case suggestions based on your existing test cases, ensuring optimal test coverage.
  • Autofill Test Case details:
    AI intelligently auto-populates test case fields (Description, Test Steps, Expected Results, Preconditions, Priority, and Test Case Type), saving you time and ensuring consistency.

Generate Test Cases

Create your first test case for AI to offer suggestions.

Follow the below steps to generate test case suggestions.

  1. Click the Suggest Test Cases icon in the Test Case view. Click on suggest test cases
  2. A set of three Test case suggestions is generated based on existing test cases. Test Case Suggestions
  3. Click Add to add a suggested test case. Add suggested cases

The generated test cases are added to your project.

Autofill Test Case Details

Test Management’s AI assistant helps you autofill test case details for new test cases and edit existing ones quickly and accurately. As you type, the AI infers patterns from your previous test cases and suggests how to complete the remaining fields.

While creating or editing test cases let AI assist you with filling in all the test case details based on existing test cases. Follow the below steps to generate and autofill test case details.

  1. Enter Title for your test case and Click Autofill Details icon beside it. Test Case Details Assistance

    As you begin to fill in test case fields, the AI will offer context-aware suggestions to complete the remaining fields.

  2. AI assistant will fill in all the details such as:
    • Description, Test Steps & Expected Results, Preconditions, Priority, Type of Test Case.

    Search test cases with a keyword in search bar

  3. Click Create or Update to accept and save the AI-assisted changes.

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