Copilot - UI

Copilot, powered by Generative AI, streamlines test automation by creating BDD based automation Framework. makes generating test case on the go.Let’s explore how to use it effectively.

Summary

  • Copilot is a powerful Generative AI based automation generating assistant integrated into aiTest.
  • It facilitates the automatic generation of Automation Code in various formats, such as Feature File, Step Definition File, and Page Object Files, using Selenium IDE’s record functionality.

What is Copilot?

  1. Copilot is an AI-driven automation assistant that automates the creation of automation code for tests.
  2. It operates on the concept of Generative AI, utilizing Selenium IDE’s record functionality to record user actions and convert them into executable test scripts.

Why to use Copilot?

The primary reasons to use Copilot are as follows:

  • Automatic Generation of Cucumber Feature Files: Copilot generates Cucumber feature files using a JSON file, allowing testers to describe test scenarios in a human-readable format.

Benefits

  1. Generates a Cucumber feature file using JSON file.
  2. Generates a Step Definition and Page Object according to feature file.
  3. Upload feature file, Step Definitions and Page Objects in our base framework.
  4. Test it on aiTest for different Test types.

How to use Copilot in aiTest?

  1. Sign up using your E-mail or Google account.
  2. Once you have reached the URL Test dashboard, navigate to the left-side menu and select the Copilot.
  3. Hit the Generate Automation button which is on top right corner.
  4. Fill all the fields which are mandatory.
  5. By using this link you can get more details of How to use Selenium IDE
  6. Upload the .side file as shown in the below screenshot where it is highlighted.
  7. Click on the Upload button.
  8. Click on Generate Feature File button as shown in below screenshot where it is highlighted.
  9. Once the feature file is generated you can view the generated file on the right side of the window as shown in below screenshot. uploadfile
  10. Click on the Generate Automation Code button to generate Automation code such as Step Definitions and Page Object Model. automationcode
  11. Once the Automation Code is generated, by clicking on the GO TO DASHBOARD button it will save under your project testruns list which can be seen on dashbaord of Copilot. automationcodesave

Questions answered

  • What is Copilot?
  • Why to Use Copilot?
  • How to use Copilot in aiTest?

- Series

×

Subscribe

The latest tutorials sent straight to your inbox.