Inspiration

We were tired of manual configurations and repetitive tasks. With Automation Web Tester, we can effortlessly test and validate our web applications, saving time and reducing errors.

What it does

With a simple xml configuration file, we are able to automate the process of manual web testing. The programme will generate the output of test cases at the end to give a visual representation of the qualities of a software system.

How we built it

The backend uses Python with BeautifulSoup to extract features from the xml configuration files. After that, it uses Selenium to create a separate browser window to perform testings on user interface. It includes checking the expected output after a POST request and also provide different methods to identify HTML elements, e.g. id, name and xpath`. After testing, the simplified testing result and data are passed to Germini AI to provide concrete summary of test results. The front end uses Flask, Three.js and CSS to provide user-friendly and appealing user experience.

Challenges we ran into

As we do not want to spend extra money on other AI APIs, there was a time we tried to use Selenium to interact with the free version of chatgpt.com for test summary. Unfortunately, we were not able to receive any response from ChatGPT after fetching using Selenium. Our guess is that its server detected the use of robot on controlling the software and thus banned our access. As an alternative, we switched to Germini AI for test summary and that took a while.

Accomplishments that we're proud of

We were struggling with other challenges during this hackathon. Thus, we actually started working on this project at midnight when we only had 12 hours left, left alone the exhaustion and frustration after failing to solve previous challenges. Through perseverance and dedication, we managed to stay awake overnight and finish the project. In addition, we only had 2 teammates in total, which is half the number of members to other teams and we are really proud that we are able to produce such creative and useful application within a night.

What we learned

Not only did we learn a lot new technologies, e.g. Selenium and Hacking skills from previous challenges, we also learnt the use of parsing webpages and time management. We are glad that we learnt to let go of difficulties that bother us for at least 12 hours and switch to other challenges. In addition, we are satisfied with our learning skills provided that we learnt building a big project with a lot of new technologies within a night. Last but not least, we learnt to enjoy the Hackathon event as it is not just a coding competition, but also a social event (we played Smash Bro on switch at mid night :) !!!!)

What's next for Automation Web Tester

Better UI and more varieties of configuration to maximise the capability of the programme. We can also make it easier to implement along with other programmes, increasing its flexibility and adaptability.

Built With

Share this project:

Updates