GithubHelp home page GithubHelp logo

nikhil-kulkarni / qa-gpt Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 6.0 62.57 MB

Automate UI testing + functionality testing with GPT-4 Vision

Python 1.27% JavaScript 86.20% CSS 3.58% TypeScript 1.52% HTML 7.42%

qa-gpt's Introduction

QA GPT

One of the most painful and ignored parts of software development is thorough testing. Sure, great engineers will write unit tests & integration tests. Some might even write UI tests. But if you're lazy like me, you tend to be a little lackadaisical when it comes to testing your product with the user in mind. A quote I've frequently heard is "That's the QA team's job" when it comes to functionality testing.

I made QA GPT to help engineers & QA teams test the functionality of their products without writing any code and without spending already constrained human time doing functionality tests.

Here's a short demo video showing how it works:

IMAGE ALT TEXT HERE

Running QA GPT

Running QA GPT is remarkably simple, as it's just a simple python project. Note that you must have access to GPT-4-Vision in order to be able to run QA GPT. To run the project:

  1. Get your GPT-4-Vision enabled API key from OpenAI
  2. Drop the key into the OPENAI_API_KEY environment variable
  3. Open main.py and change the task and url in the initial driver.navigate to match your test case
  4. Activate a python virtual environment if you are using one and install requirements: pip install -r requirements.txt.
  5. Run python main.py

I've included an example testing task in main.py that logs into a website with the given credentials, makes a change to an input field, saves it, and verifies that it was successfully saved. Feel free to modify the task and url as you wish to fit your test case.

Roadmap

  • Use GPT-4 Vision to automate browser actions
  • Basic actions like click + fill in an input field
  • Prompt engineering to make it recognize when things go wrong
  • Log stack traces and record sessions
  • Drag and drop action
  • Map stack traces to timestamps in video recordings
  • A clean UI to view the video recordings + see stack traces
  • Plug into CI tools for continuous runs on every commit to the master branch
  • Chain prompts for deeper understanding of failures
  • Alerting into Slack when errors come up
  • Plugin LlaVa and CogVLM to make the AI cheaper + faster
  • Write better comments + make a Youtube explainer.
  • Introduce a hosted solution

Acknowledgements

qa-gpt's People

Contributors

nikhil-kulkarni avatar bradleeharr avatar

Stargazers

runman avatar Viking Den avatar Nao avatar  avatar Pebertli Barata avatar One avatar danranVm avatar  avatar Charity K avatar  avatar chakra j avatar Senthilraj Duraisamy avatar  avatar Anirudh Gubba avatar Aayush Shah avatar Gl-awog avatar  avatar Steven Haddox avatar  avatar  avatar  avatar Tim Kersey avatar Paul Onteri avatar Eugene Klimov avatar Lance Tipton avatar eunho avatar  avatar Pushpesh avatar Al avatar Everton Yoshitani avatar Jeff Witt avatar Akash Gupta avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.