Get Started with AI Test Engineer
This guide helps you set up and run a demo BlinqIO project to generate test automation code using BlinqIO AI Test Engineer, execute tests, and view reports.
Before You Begin
Create a BlinqIO account and sign in.
Install the latest version of BlinqIO Editor on your system.
Clone the Demo Project
To start testing your target application, you must create a new project, configure environments, create features, and define test scenarios. This process may take some time.
However, to quickly see the AI Test Engineer in action, you can import a demo project that includes predefined test scenarios for a demo shopping website.
The demo shopping website includes a login, products, cart, and checkout page.
Follow these steps to clone a demo project:
Go to the app.blinq.io/onboarding page.
Enter a new Project Name.
Select the Use a demo project checkbox. The Create Project button is now enabled.
INFO
Do not fill in the
description
andURL of the application
fields when cloning a demo project.Select Create Project. The operation may take some time. After completion, a new project is created with environments, features, and test scenarios for the demo shopping website.
Review Cloned Features and Scenarios
Features contain Gherkin test scenarios that define test steps for different functionalities of your target application.
Navigate to the Features page from the sidebar to view the project's features. You can expand a feature to view its scenarios.
The demo project includes a Shop feature with a Buy Item test scenario. This scenario covers the following steps:
- Log in to the demo shopping website.
- Add an item to the basket.
- Verify the item's price in the basket.
- Check out with a test user.
- Verify the order was placed successfully.
Generate Test Automation Code
Next, use BlinqIO Editor to generate the Cucumber.js
test automation code for the Buy Item scenario.
Follow these steps to generate the test automation code:
Navigate to the Features page and select the Buy Item scenario.
Select Generate All to open the app launcher in a new tab.
Select Continue in the app to open BlinqIO Editor. The BlinqIO Editor launches a Chromium window and starts generating the test code.
WARNING
The AI learning process may take several minutes. Do not close BlinqIO Editor or the Chromium window during this process.
BlinqIO Editor displays a "Command finished, you can exit this window..." message when the test code generation is complete. You can now close BlinqIO Editor.
Run Tests
With the test code generation complete for the Buy Item scenario, you can now run the test.
Follow these steps to run the Buy Item test:
Navigate to the Features page and select the Buy Item scenario.
Select Run to open the app launcher in a new tab, then select Continue in the app to open BlinqIO Editor. BlinqIO Editor launches a Chromium window and starts running the test code.
WARNING
Do not close BlinqIO Editor or the Chromium window while the test is running.
BlinqIO Editor displays a "Command finished, you can exit this window..." message when the test run is complete. You can now close BlinqIO Editor.
View Reports
Finally, view the test run reports on the Runs page of the BlinqIO dashboard.
Next Steps
Now that you're familiar with BlinqIO AI Test Engineer, you can start testing your target application by:
- Creating a new project
- Creating an environment for your project
- Adding features and test scenarios
- Generating test automation code for your scenarios
- Running tests
- Viewing reports