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.

Image

Select Start with AI Assistant.

Image

Click the AI Assistant option to proceed.

Image

Choose Mobile Application as your target platform for the test case.

Image

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.

Image

If none are needed, leave it blank.

Click Generate Test Case to continue.

Image

When the pop-up appears, select Android as the platform since you're using an APK file.

Image

In the device selection area, open the App Build dropdown and choose the Clinic app APK you previously uploaded.

Image
Image

Click Start Execution to run the automated test.

Image

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.

Image

You'll see your English prompt automatically converted into a Spark script.

Access the Run History page to view past runs.

Image

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!

Supporting Videoarrow-up-right

Last updated