Tired of manual test script creation?
TestScript is your solution.
Simply upload screenshots and provide context, and our AI will generate detailed test cases.
- Improve testing efficiency,
- reduce errors, and
- ensure product quality
with TestScript.ai
- Upload screenshots and enter context (e.g., app functionality, details).
- Automatically generate test cases.
- Download generated test cases in PDF format.
- Verify results with detailed steps and handle test data with varying inputs.
- Error handling and feedback for invalid inputs.
- TestScript.ai-Demo
- Frontend (React.js)
- Backend (Python - FastAPI)
- PDF Download Feature
- Usage
- Testing and Output
This is where users can upload images of the app and enter relevant context information.
Once the test case is generated, it will be displayed here. Users can also download the test case in PDF format.
View the generated test cases pdf here
- Node.js (v16 or above)
- npm or yarn
-
Clone the repository:
git clone https://github.com/auth-02/testscript.ai.git cd testscript.ai-frontend -
Install dependencies:
Using npm:
npm install
Or using yarn:
yarn install
-
Run the development server:
npm start
The frontend will be available at
http://localhost:3000.
- Python 3.9+
- FastAPI
- Uvicorn (ASGI server)
-
Clone the backend repository:
git clone https://github.com/auth-02/testscript.ai.git cd testscript.ai-backend -
Set up a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the FastAPI backend server:
uvicorn main:app --reload
The API will be available at
http://localhost:8000.
The application includes a feature to generate and download structured test cases as a PDF. Here's how it works:
-
User Input: The user uploads screenshots and provides the optional context
-
Test Case Generation: The backend processes the input and generates a test case. This test case is structured as:
- Test Case ID: A unique identifier for each test case.
- Test Case Title: A descriptive title summarizing the test case.
- Description: Detailed explanation of the test scenario.
- Preconditions: Any conditions that must be met before executing the test.
- Test Steps: Step-by-step instructions for performing the test.
- Expected Results: What should happen if the test passes.
- Actual Results: What happens during testing (for manual or automated checks).
- Test Data: Input data used in the test (e.g., source, destination, travel date).
- Notes: Additional information or edge cases to test.
-
Download PDF: After generation, the test case can be downloaded in PDF format.
refer Template for detailed format
- Upload Screenshots and Enter Context: Go to the homepage and upload screenshots of the mobile app interface. Fill in optional context details what this screenshot are about.
- Generate Test Cases: Click the "Generate" button to create structured test cases.
- Download PDF: After the test cases are displayed, click on the "Download PDF" button to export the generated test case to a PDF file.
- Test Input: Screenshots and details what the screecshot is about and other details about the test cases you want form it.
- Test Output: A downloadable PDF file containing the generated test case.

