FAQs: Test generation by Test Genie

You can find answers to a few generic questions about the test generation by Test Genie in Test Hub.

What is Test Genie?

Test Genie is a dynamic feature that leverages machine learning and AI capabilities to create tests by using the designs of web applications under development. Using Test Genie for test generation accelerates testing activities by advancing the testing phase in a product release cycle.

How do I get started with test creation by Test Genie?

To get started, you must configure credentials of AI provider such as OpenAI, Ollama, or IBM watsonx that Test Hub supports. Test Genie lists the AI providers that you have configured in Test Hub for selection while you generate tests. Also, you must have application design screens that you must upload to generate test flows. See Creating a Web UI test by using Test Genie.

What are the supported platforms for test creation by Test Genie?

Test creation by Test Genie is supported on all the platforms such as Windows, Mac, Linux that Test Hub supports.

What types of tests can be created by using Test Genie?

You can create Web UI tests for web applications that you can play back on the desktop browsers.

What are the supported image formats for uploading designs?

Test Hub supports .jpg, .jpeg, or .png images of 1080 x 720 or higher resolution.
Note: If you upload the images of lower resolution, the controls may not be identified correctly.

Can we add multiple images to configure an application?

Yes, you can upload multiple images, but each image can be used to create a single flow. You cannot create a test with multiple images at a time.

What should I do if Test Genie does not complete the image processing and the test navigator displays an empty .dti.json file for the uploaded image?

If Test Genie does not complete the image processing and the test navigator displays an empty .dti.json file for the uploaded image, then it indicates that the CDIS server is not running. You must check the logs of the CDIS pod to see if there are any failures, and then delete the pod from the deployment UI. You must ensure that a new pod starts after the deletion.

How do I add the UI controls that are not identified?

You can open the test and add a step. In the step details pane, you can set any control as a step target by right-clicking the control. See Adding user actions in a test from smartshots.

What should I do when there is an error generating test flow?

The error might be because of an invalid API key, exceeded quota limit, or configuration issues of the AI provider that you have selected. You must check and modify the configuration of the AI provider on the Cloud Credentials page. See Editing details of cloud credentials.