Test Case Generation
Generate Mobile Test Cases in ContextQA Using AI Prompts
ContextQA makes it easy to automate mobile test cases using simple English prompts and your uploaded APK file. Follow these steps to generate and execute test cases just like in the demo.
Click the plus icon to start creating a new test case.
Select Start with AI Assistant.
Click the AI Assistant option to proceed.
Choose Mobile Application as your target platform for the test case.
Enter your test prompt using simple English in the provided field.
If you have prerequisites—like login steps for the mobile app—select them from the list.
If none are needed, leave it blank.
Click Generate Test Case to continue.
When the pop-up appears, select Android as the platform since you're using an APK file.
In the device selection area, open the App Build dropdown and choose the Clinic app APK you previously uploaded.
Click Start Execution to run the automated test.
You'll see the live execution begin. The log appears on the left, and the application execution screen appears on the right.
Once execution is complete, click Back to Test Case to review your results.
You'll see your English prompt automatically converted into a Spark script.
Access the Run History page to view past runs.
Here, you can review AI logs and watch the video recording of your execution.
That’s how you automate mobile test cases using AI prompts in ContextQA!
Last updated