Skip to main content
Experience faster, smarter testing with BrowserStack AI Agents. See what your workflow’s been missing. Explore now!
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

AI-powered test step generation in Low Code Automation

Learn to create tests with AI prompts using natural language

In Low-Code Automation, while you can manually record test steps with ease by performing actions on the browser, AI-powered test generation simplifies the process even further. By providing a simple text prompt, such as Sign up with valid credentials, the AI can instantly create detailed test steps for you. This feature significantly reduces the time and effort required to create extensive test cases, making it especially helpful for manual testers.

This guide covers two primary ways AI can streamline your testing process:

  • Generate test steps with AI prompts: Use AI to automatically generate test steps from prompts in the Low-Code Automation recorder.
  • Automate test cases using AI from Test Management: Easily automate manual test cases using AI from BrowserStack Test Management.

Prerequisites

Ensure that BrowserStack AI has been enabled for your account. For more information, refer to Activate BrowserStack AI.

Generate test steps using AI in Low-Code Automation

  1. In the Low-Code Automation recorder, click Generate AI steps.
  2. Enter the prompt. For example, Click on talk to us and fill the form with random data.
  3. Click Generate.

BrowserStack AI will analyze the prompt and automatically generate the corresponding test steps. As it generates each step, it will show up real-time on Low Code Automation recorder panel.

Refer to the following examples to generate steps with AI prompts for real-world use cases.

Example 1: Add to cart

This use case demonstrates how BrowserStack AI can generate the necessary steps to test the process of adding a product to the shopping cart on the product website.

Example 2: Loan EMI calculation

This use case illustrates the process of interacting with a financial services website. The AI generates steps to select a loan provider, and inputs a loan number to calculate the payable amount.

Automate test cases using AI in Test Management

The Low Code Authoring Agent in Test Management sends test cases to Low Code Automation for AI-powered generation. You can trigger it for one test case or for up to 20 test cases at a time. Each generated test appears in the Low Code Automation test list.

To automate one test case, open its details and click Automate using BrowserStack AI. The same dialog opens. Then continue from step 3.

To automate test cases from Test Management:

  1. In your Test Management project, go to Test Cases and open the folder that contains the test cases.

  2. Select the checkbox next to each test case, then click Automate With AI in the action bar.

    Five test cases selected in the Test Management Repository tab, with the Automate With AI button in the action bar

  3. In the Review for AI automation dialog, open Apply one profile to all tests. Select a profile or click Create new profile. A profile stores the website URL, login details, and advanced options such as headers and cookies.

    Review for AI automation dialog with five test cases marked Ready and one profile applied to all of them

  4. Check the label on each test case. Ready means the agent can automate it. For Fixes required, expand the AI thoughts section and update the test case fields.

  5. Click Automate test cases. An Automation queued message shows the run ID.

Track the run in the LCA Status tab of Test Management. When a test case completes, its row links to the generated test. The test also appears in the Low Code Automation test list, where you can add steps or validations.

For the full procedure, see Low Code Authoring Agent. For the LCA Status tab, see Track low-code automation status in Test Management.

Need more help?

If you need any additional help, feel free to contact us.

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