> For the complete documentation index, see [llms.txt](https://docs.qyrus.com/aiverse/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qyrus.com/aiverse/testgeneratorplus.md).

# TestGeneratorPlus

![Banner](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-4f2bfda361a56974a3af514b9f37015be41e60c8%2FTG%2B.png?alt=media)

### Overview

TestGenerator+ is a feature in Qyrus that allows users to list existing test scripts based on selected team, service, project, and suite. By leveraging AI, it can generate new test scripts from a selection of existing ones. The newly generated scripts can then be exported to a specified module.

### Problem-Solution-Fit

TestGenerator+ addresses the challenge of manual test script creation by leveraging AI to generate new scripts from existing ones, saving time and effort. Its purpose is to enhance testing efficiency, ensure consistency, and improve test coverage. Use TestGenerator+ when you need to quickly create scripts for regression testing, new feature validation, or large-scale projects. It is particularly beneficial when resources are limited or when repetitive test cases are required, enabling teams to focus on higher-value testing activities while maintaining accuracy and scalability.

### Prerequisites

* Access to Qyrus platform.
* A registered account with appropriate permissions.
* Pre Existing test scripts

### Step-by-Step Guide

#### **Login**

**a. Navigate to the Qyrus platform and Select TestGenerator+**

![Select TestGeneratorPlus](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-abaa39e92676abb660260f67c458cb270a919a8f%2F1_ai_qyrus_com_test_generator.png?alt=media)

**b. Sign In Page appears.**

![Sign-In page](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-5ff02f1077506cc13d81be6a24abc10a87ad3848%2F2_test_generator_plus_login.png?alt=media)

**c. Fill in the Sign-in details including the application URL, username and password. Then click on the sign in button.**

![Filled Details](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-9166452e74a6707bd868fc659473039e1f31864f%2F3_sign_in_with_url_and_creds.png?alt=media)

**d. Page you land into when login is successful.**

![Successful login](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-642ab07d9da5325f08e35b4dd4790571134c7ebf%2F4_successful_login.png?alt=media)

#### **Select Parameters**

Select the **Team**, **Service**, **Project**, and **Suite** from the dropdown menus.

* Click on Teams Dropdown

![Click on Teams Dropdown](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-845cf8d0712539b12529b626a5522f1d7d42716d%2F5_click_on_teams.png?alt=media)

* Select a Team

![Select a Team](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-102ddc02ae8482823c185785df4f3463499b942c%2F6_team_selected.png?alt=media)

* Click on Services Dropdown

![Click on Services Dropdown](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-f1e4c1df01224ac30f7471f19c913e1f24f507a1%2F7_click_on_services.png?alt=media)

* Select a Service

![Select a Service](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-a0768813a335d4862467d80dbabf8d1f895ae4d5%2F8_service_selected.png?alt=media)

* Click on Projects Dropdown

![Click on Projects Dropdown](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-f37541ec3fd7ada1a2993b7a4c0d4d27bb0cafa3%2F9_select_project.png?alt=media)

* Select a Project

![Select a Project](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-af89759b12d20ab86f2601e9406a4f4d92335c42%2F10_selected_project.png?alt=media)

* Click on Suites Dropdown

![Click on Suites Dropdown](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-18e9d8e55e2afe0cbe3877b10f37d28ac966d36b%2F11_click_on_suites.png?alt=media)

* Select a Suite

![Select a Suite](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-bf34dd7b8973ad9a4a21e194526a58fc68194531%2F12_select_suites.png?alt=media)

#### **Select Existing Scripts**

**a. From the displayed list of scripts, select the scripts that you want to use for generating new scripts.**

![Select from Existing Scripts](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-44d62516cb8481a9c8aa8c9a614d00556027b57a%2F13_select_existing_test_scripts.png?alt=media)

**b. Press the SuperNova Button.**

![Press SuperNova Button](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-20db562004b29ef639e68e7fc8c344d71b836c1d%2F14_press_supernova_button.png?alt=media)

#### **Generating New Scripts**

**a. After selecting the scripts, the AI processes the selected scripts and generates new scripts.**

![Generating new Scripts](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-ea956e1df3bac39af989621e8355e8ea28624bdc%2F15_listing_selected_scripts_and_generating_new_scripts.png?alt=media)

**b. The generated scripts will be listed in the "Generated Scripts" panel.**

![Generated Scripts](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-37352b9441e6bc2529b0a56fdb1f5768ee8fc340%2F16_listed_selected_and_generated_scripts.png?alt=media)

**c. Press the "+" button to see the meta data of the existing or the generated scripts.**

![Meta Data of Scripts](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-bdaeea5ae3daa1e6b49867cebc6272c4b070a6d1%2F17_meta_data_of_selected_and_generated_scripts.png?alt=media)

#### **Proceed to create new scripts**

**a. Select the scripts you want to export and click the Proceed to Create button.**

![Selecting From Generated Scripts](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-3a610c4191744b9759bd8ba55d3957e434c3f910%2F18_selecting_from_generated_scripts.png?alt=media)

**b. Review the scripts before finally exporting them to a module**

![Review Scripts](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-59190bee7be58ddcee6f99705bf764408e048d6e%2F19_review_of_new_scripts_selected.png?alt=media)

#### **Export Generated Scripts that were selected**

**a. Select the destination module where you want to export the generated scripts.**

![Select a module](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-54fa03f1e11df221ad924e52df8b0b0410604624%2F21_selecting_a_module.png?alt=media)

**b. You can either simply create or Create and Import.**

![Create or Create and Import](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-280f343f65ec6c7c1baa0b6148f4b533b9d86345%2F20_about_create_and_createandimport_buttons.png?alt=media)

**c. Press create or Create and Import.**

![Press Create or Create and Import](https://3321078861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGs5aM0ieFmNKqLU6gqpk%2Fuploads%2Fgit-blob-b3532145828105e7af2e1050bbb21945aa2de991%2F22_press_create_or_createandimport.png?alt=media)

### Demo Video

* Test Generator +, Demo video here.

Your browser does not support the video tag.

[Click Here if the video does not play](https://ai-services-stg.s3.us-west-1.amazonaws.com/ai-demo-docs/test_generator_plus_video.webm)

### Use Cases

* **Regression Testing**: Identify and create new test scripts for regression testing based on existing scripts.
* **Enhancement Testing**: Generate new scripts to test enhancements or new features in the application.
* **Automation**: Automate the creation of scripts, reducing manual effort.

#### Examples

Scenario: You want to generate scripts for a new module `User Management` based on existing `User Authentication Tests`.

1. Select `Qyrus Walkthrough` as the team.
2. Choose `Web Testing` under services.
3. Select the relevant project and suite.
4. From the list, select scripts related to `User Authentication`.
5. Let the AI generate scripts, select the desired ones, and export them to the `User Management` module.

### FAQs

**Q: What if there are no scripts listed?**

A: Ensure that the correct team, service, project, and suite are selected, and there are existing scripts present.

**Q: Can I export multiple generated scripts?**

A: Yes, you can review and select multiple scripts before exporting them.

**Q: What to do if generated scripts are not relevant?**

A: Revisit the selection of existing scripts and refine your choices to ensure relevance.
