Robot Framework with Browser Library Web Test Automation Framework Developed With The Help Of AI Search Agent.
In this article, we will discuss to generate a frontend test automation framework with Robot Framework and Browser Library (Playwright) on saucedemo website using AI-powered web agent Bolt.
Here is the website link: https://bolt.new/
I have already discussed the similar kind of article using Playwright and Bolt earlier. You can find the link here: Playwright-AI-Article
What is Bolt?
Bolt.new developed by the StackBlitz team, is an amazing and powerful AI tool designed to streamline web development by automating code generation.
This AI-powered web development agent helps you to generate, test, and deploy web apps that use modern frameworks. You have to Prompt first and then run, edit and can deploy full-stack web and mobile apps directly from your browser and do not need an additional local set up.
Basically, first signup to Bolt. I have signed in using my GitHub credentials. After signing into bolt, First thing, Type in the prompt provided with the keywords you want.
I typed "Create a test automation framework for https://www.saucedemo.com/ website in Robot Framwork with Browser (Playwright) Library". Hit Enter that's all Bingo..!
Open this project on your VS Code locally on your computer.
The tests fail initially. Hence, fix the tests according to your requirements and then run to see the tests pass.
This AI Agent also creates beautiful README.md file. You can find the same from the GitHub Repo mentioned below.
I pushed the Test code generated by this amazing AI Agent on to my GitHub. Repo here: Robot-Framework-Browser-Library-AI
You can also deploy your code using this wonderful AI-powered tool.
I'm really blown away with this AI-powered agent. It is so fascinating writing and generating code within seconds.
It is super fast. It also generates code for developers on creating mobile and web apps.
AI is definitely rocking and soon or later it dominates and competes the market for sure. So, its no harm in picking up AI for testing as you will benefit for sure and become an AI - QA/Test Automation Engineer :)
Happy AI Automation Testing Guys :) !