Bil0000/qacer

QAcer is an AI tool built to automate your QA testing and testing process.

โ˜… 4Forks 0JavaScriptGitHub โ†—Compare

README

QAcer QA Tool

This tool allows AI-driven testing of websites by simulating real user interactionsโ€”like scrolling, clicking, and typingโ€”and recording the entire session as a video.


๐Ÿš€ Getting Started

Follow these steps to install and run the project locally:

1. Clone the repository

git clone https://github.com/Bil0000/qacer
cd qacer

2. Create a .env file in the root directory

touch .env

3. Add your Gemini API key to .env

GEMINI_API_KEY=your-gemini-api-key

4. Create a session-videos folder

mkdir session-videos

5. Install dependencies

npm install

6. Run the application

node ai-mode.js

๐Ÿงช How to Use

  1. Open Postman (or any other API client).
  2. Make a POST request to:
http://localhost:3001/qa-test/ai-mode
  1. In the Body, choose:
  • raw
  • JSON format
  1. Paste your test scenario like this:
{
  "websiteUrl": "https://calendaty.com",
  "instructions": "Scroll down to the footer on the home page, type '[email protected]' into the input field with placeholder 'Your email address', click on the 'Subscribe' button, and wait 10 seconds."
}

Note: Replace websiteUrl and instructions with the site and test flow you want to run.


๐Ÿค Contributions

All contributions are welcome and appreciated! ๐ŸŽ‰
Whether you're fixing a bug ๐Ÿ›, adding a feature ๐Ÿš€, or improving the docs ๐Ÿ“šโ€”we'd love to see it.

Steps to contribute:

  1. Fork the repository
  2. Create your feature branch:
git checkout -b feature/YourFeature
  1. Commit your changes:
git commit -m 'Add some feature'
  1. Push to the branch:
git push origin feature/YourFeature
  1. Open a pull request ๐Ÿš€

๐Ÿ“„ License

This project is licensed under the MIT License.

MIT License

Copyright (c) 2025 [Your Name]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

๐Ÿ’ก Let's make QA smarter together! Feel free to reach out or open an issue to suggest improvements.

Contributors

Bil0000

Issues