Appearance
Get Started with BlinqIO Virtual Tester (BVT)
This guide walks you through setting up and running a demo BlinqIO project to generate test Cucumber.js
automation code for test scenarios, run tests, and view reports.
Before You Get Started
Create a BlinqIO account and log in to BlinqIO.
Install the latest version of BlinqIO Editor on your Mac or Windows system.
Clone the Demo Project
To start testing your target application, you will have create a new project, configure environments, create features, and define test scenarios. This may take some time.
However, to quickly see BVT in action, you can import a demo project which already has test scenarios defined for a demo shopping website.
Our demo shopping website contains a login, products, cart, and checkout page.
Follow these steps to clone a new demo project:
Navigate to the app.blinq.io/onboarding page.
Enter a new Project Name.
Enable the Use a demo project checkbox. The Create Project button is now enabled.
Note
Do not fill in the
description
andURL of the application
field when cloning a demo project.Click Create Project. The operation may take some time, and after completion, a new project is created with environments, features, and test scenarios related to 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 features in the project. You can expand a feature to view scenarios under it.
Our demo project has a Shop feature with a Buy Item test scenario. The scenario covers these test steps:
- Login to the demo shopping website.
- Add an item to the basket.
- Verify the price of the item in the basket.
- Checkout with a test user.
- Verify the order was placed successfully.
Generate Test Automation Code
Next, we will 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.
Click Generate All to open the app launcher in a new tab.
Click Continue in the app to open the BlinqIO Editor. BlinqIO Editor launches a Chromium window and starts generating the test code.
Note: The AI Learn process may take several minutes. Do not close the BlinqIO Editor or the Chromium window during this process.
BlinqIO Editor displays a "Command finished, you can exit this window..." message after the test code generation is completed. You can close BlinqIO Editor now.
Run Tests
Now that the test code generation is completed for the Buy Item scenario. We can run the Buy Item test from the scenario page.
Follow these steps to run the Buy Item test:
Navigate to the Features page and select the Buy Item scenario.
Click Run to open the app launcher in a new tab, and click Continue in the app to open the BlinqIO Editor. BlinqIO Editor launches a Chromium window and starts running the test code.
Note: Do not close the BlinqIO Editor or the Chromium window when the test run is in progress.
BlinqIO Editor displays a "Command finished, you can exit this window..." message when the test run is completed. You can close BlinqIO Editor now.
View Reports
Finally, you can see test run reports on the Runs page of the BlinqIO dashboard.
Next Steps
Now that you're familiar with the BlinqIO Virtual Tester, you can start testing your target application by: