How can I automate existing manual test cases with AI?
Existing manual test cases can be converted into automated tests using AI-assisted test generation. The process starts by importing documented test steps, expected results, and test data from tools such as TestRail or spreadsheets. AI analyzes the scenarios and generates automation scripts, which engineers can review, refine, and execute using established testing frameworks. Photon supports this workflow, helping QA teams reuse existing test assets instead of creating automation from scratch.
How AI converts manual test cases into automation
A well-written manual test case already contains most of what an automated test needs: a precondition, an ordered list of user actions, the expected result of each step, and the test data. AI-assisted generation maps each step to an interaction with the application and each expected result to an assertion.
The output is only as good as the input. A vague step such as “check that the page works” cannot become a reliable assertion and usually needs to be rewritten first. Generated tests should be reviewed like any other code before they join a regression suite.
Example: converting a manual login test into an automated test
Illustrative example, not a customer result.
Manual test case:
- Open the login page.
- Enter a valid email and password.
- Click “Sign in”.
- Expected result: the dashboard opens and shows the user’s name.
The generated test navigates to the login URL, fills both fields from test data, clicks the button, and asserts that the dashboard loads and the user name is visible. An engineer checks the selectors and assertions, then approves the test.
How Photon helps automate existing test cases
Photon keeps test cases and automation in one place. Teams bring in their existing test cases, Photon’s agents generate automated tests from them, and engineers review and adjust the result before it runs. Approved tests run on Photon’s execution infrastructure or inside the team’s CI/CD pipeline.
Learn more about Photon agentic automation and test case management, or read the longer guide on automating a manual testing process with AI.