-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created new section and docs for GenAI Feature (#535)
Created new section in left nav bar and 2 new docs for GenAI Features.
- Loading branch information
1 parent
6732775
commit a7a885d
Showing
26 changed files
with
307 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
--- | ||
title: "AI Test Automation with Testsigma Copilot" | ||
page_title: "AI Test Automation with Testsigma Copilot" | ||
metadesc: "In Testsigma you can now generate diverse test scenarios with a single click and also comprehensive test cases using simple prompts using GenAI" | ||
noindex: false | ||
order: 31.1 | ||
page_id: "Testsigma for Windows Automation" | ||
warning: false | ||
contextual_links: | ||
- type: section | ||
name: "Contents" | ||
- type: link | ||
name: "Prerequisites" | ||
url: "#prerequisites" | ||
- type: link | ||
name: "Generate Test Scenarios" | ||
url: "#generate-test-scenarios" | ||
- type: link | ||
name: "Generate Test Steps with Prompts" | ||
url: "#generate-test-steps-with-prompts" | ||
--- | ||
|
||
--- | ||
|
||
Testsigma Copilot redefines test automation with the power of generative AI 🤖. | ||
|
||
- You can effortlessly create diverse test scenarios with a single click. | ||
- Generate detailed test steps that accurately mimic real-world user behavior with the right UI elements and complex user interactions. | ||
- Create a comprehensive test case using simple prompts. | ||
|
||
|
||
--- | ||
|
||
> ## **Prerequisites** | ||
> | ||
> Before you begin, enable AI Features from **Settings > Preferences > Generative AI features** and ensure you're familiar with the concepts of [Test Cases](https://testsigma.com/docs/test-cases/manage/add-edit-delete/). | ||
|
||
--- | ||
|
||
## **Generate Test Scenarios** | ||
|
||
1. From the left-side navbar, select **Create Tests > Test Cases** and then click **Create Test Case**. | ||
|
||
![Test Case](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/GenAI_TestCase.png) | ||
|
||
2. On the **Test Case Details** page, enter a name for the test case and click **Record** in the top-right corner. A new window will open. | ||
|
||
![Record](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/GenAI_Record.png) | ||
|
||
3. In the opened window, input the URL of the web page from which you want to generate test scenarios. The **Testsigma Recorder** will activate and prepare for recording. | ||
|
||
4. Click **Testsigma Copilot**. | ||
![Copilot](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Copilot_Button.png) | ||
|
||
5. Click **Generate Scenarios** in the **Testsigma Copilot** overlay. The Testsigma Copilot will start generating test scenarios based on the current page content. | ||
|
||
![Generate Scenarios](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Generate_Scenarios.png) | ||
|
||
6. Wait until the test scenarios are generated. | ||
|
||
7. Click on any generated test case scenario to view its corresponding test steps. | ||
|
||
![View test Steps](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/View_Scenarios.png) | ||
|
||
8. Click **Add to test case** to import the displayed test steps into the recorder. | ||
|
||
![Add to Test Case](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Add_AI_Test_Steps.png) | ||
|
||
9. Modify the test steps as per the desired test case behavior. Once the necessary modifications are done, click **Stop** to return to the test case details page. | ||
|
||
![Stop](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Stop_Rec_AI_TestSteps.png) | ||
|
||
--- | ||
|
||
## **Generate Test Steps with Prompts** | ||
|
||
Follow the same steps from 1-3 from the above section. | ||
|
||
4. On prompt input, enter the prompt for which you want to fetch test steps. | ||
![Prompt](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Prompt_AI.png) | ||
|
||
5. Press **Enter**. | ||
|
||
6. Wait until the test steps are generated. | ||
|
||
7. Click **Add to test case** to import the displayed test steps into the recorder. | ||
|
||
![Add to Test Case](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/AddtoTestCase_AI.png) | ||
|
||
8. Modify the test steps as per the desired test case behavior. Once the necessary modifications are done, click **Stop** to return to the test case details page. | ||
|
||
![Stop](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Stop_PromptSteps.png) | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
title: "Generate Test Data Profile Using Copilot" | ||
page_title: "Generate TDP Using Copilot" | ||
metadesc: "With Testsigma Copilot, you can quickly generate a Test Data Profile, eliminating the need to manually create multiple test data sets!" | ||
noindex: false | ||
order: 31.2 | ||
page_id: "Generate TDP" | ||
warning: false | ||
contextual_links: | ||
- type: section | ||
name: "Contents" | ||
- type: link | ||
name: "Prerequisites" | ||
url: "#prerequisites" | ||
- type: link | ||
name: "Steps to Generate Test Data Profile Using Copilot" | ||
url: "#steps-to-generate-test-data-profile-using-copilot" | ||
--- | ||
|
||
--- | ||
|
||
With Testsigma Copilot, you can quickly generate a Test Data Profile. This eliminates the need to manually create multiple test data sets and allows you to focus on more critical aspects while testing. This article discusses generating a Test Data Profile using Testsigma Copilot. | ||
|
||
--- | ||
|
||
> ## **Prerequisites** | ||
> | ||
> Before you begin, enable AI Features from **Settings > Preferences > Generative AI features** and ensure you're familiar with the concepts of [Test Cases](https://testsigma.com/docs/test-cases/manage/add-edit-delete/) and [Test Data Profiles](https://testsigma.com/docs/test-data/create-data-profiles/) in Testsigma. | ||
|
||
--- | ||
|
||
## **Steps to Generate Test Data Profile Using Copilot** | ||
|
||
1. From the left navigation bar, go to **Create Tests > Test Cases**. | ||
|
||
2. Select the **+ icon** next to the **Scenario** where you want to add the test case. | ||
|
||
3. On the dialog that opens, enter the test case name and click **Create**. | ||
|
||
3. In the **Test Case Details** page, click **Record** to open the **Testsigma Test Recorder** in a new window. | ||
|
||
4. Create test steps by performing actions or use **Copilot** to generate steps automatically. *For more information, see [Creating Test Cases Using Copilot](https://testsigma.com/docs/test-cases/create-test-steps/overview/#ai-test-automation-with-testsigma-copilot-).* | ||
5. When you're done, click **Stop** to end the session. You will be redirected to the **Test Case Details** page. | ||
|
||
6. A confirmation dialog will appear. | ||
|
||
- Select **Convert** to generate a **Test Data Profile** and convert the test case to a data-driven one. | ||
![Gen AI TDP](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Copilot_TDP_SneakPeak.png) | ||
- Once you are satisfied with the data, click **Create and Replace**. | ||
|
||
[[info | **NOTE**:]] | ||
| - You can click **Add more rows** to generate additional data. | ||
| - You can also provide prompts to customize the data further. For example, we successfully changed the entire dataset to reflect the Indian context with a simple prompt. | ||
| ![Prompt Update](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/GenAI_TDP_Prompt.png) | ||
|
||
--- |
52 changes: 52 additions & 0 deletions
52
src/pages/docs/genai-capabilities/generate-tests-from-requirements.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
title: "Generate Tests from Requirements (Jira)" | ||
page_title: "Generate Tests from Requirements (Jira)" | ||
metadesc: "In Testsigma, you can create test cases from Jira stories & epics by integrating Jira | Learn how to create test cases from Jira using GenAI capabilities" | ||
noindex: false | ||
order: 31.4 | ||
page_id: "Generate Tests from Requirements (Jira)" | ||
warning: false | ||
contextual_links: | ||
- type: section | ||
name: "Contents" | ||
- type: link | ||
name: "Prerequisites" | ||
url: "#prerequisites" | ||
- type: link | ||
name: "Steps to Generate Test Cases from Requirements" | ||
url: "#steps-to-generate-test-cases-from-requirements" | ||
--- | ||
|
||
--- | ||
|
||
With Testsigma, you can create test cases directly from Jira stories and epics by integrating your Jira account. You just need to tag the relevant epics and stories, write a prompt, and click only once to generate multiple test cases. This article discusses generating test cases from requirements using Testsigma's GenAI capabilities. | ||
|
||
--- | ||
|
||
> ## **Prerequisites** | ||
> | ||
> Before you begin, enable AI Features from **Settings > Preferences > Generative AI features**, integrate [Jira with Testsigma](https://testsigma.com/docs/integrations/bug-reporting/jira/) and ensure you're familiar with the concepts of [Test Cases](https://testsigma.com/docs/test-cases/manage/add-edit-delete/). | ||
--- | ||
|
||
## **Steps to Generate Test Cases from Requirements** | ||
|
||
1. From the left-side navbar, go to **Create Tests > Test Cases**. | ||
|
||
2. Click **Copilot**, and then select **Generate from Requirements** from the dropdown menu. | ||
|
||
3. In **Generate Test Cases from Requirements** overlay, | ||
- Select a **Project** from the dropdown menu. | ||
- Under **Issue Type**, select either **Epic** or **Story**: | ||
- If you select **Epic**, choose the stories for which you want to generate test cases. | ||
- If you select **Story**, choose all the stories for which you want to generate test cases. | ||
|
||
4. In the prompt field, enter the required details, and click the **Play** button. | ||
|
||
5. Wait for Testsigma to generate the test cases with the test steps. | ||
|
||
6. Select the test cases you want to save, and click **Save Test Cases**. | ||
|
||
7. You’ll be redirected to the Test Cases page, where the generated test cases appear under the **AI Generated Feature** Scenario. | ||
|
||
--- |
55 changes: 55 additions & 0 deletions
55
src/pages/docs/genai-capabilities/generate-tests-from-user-actions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
title: "Generate Test Scenarios from User Actions" | ||
page_title: "Generate Tests from User Actions" | ||
metadesc: "With Testsigma, you can generate automated test cases based on user actions using the test recorder to by capturing the UI interactions." | ||
noindex: false | ||
order: 31.3 | ||
page_id: "Generate Tests from User Actions" | ||
warning: false | ||
contextual_links: | ||
- type: section | ||
name: "Contents" | ||
- type: link | ||
name: "Prerequisites" | ||
url: "#prerequisites" | ||
- type: link | ||
name: "Steps to Test Scenarios from User Actions" | ||
url: "#steps-to-test-scenarios-from-user-actions" | ||
--- | ||
|
||
--- | ||
|
||
Testsigma can now generate automated test cases based on user actions. Simply enter the URL and allow the test recorder to capture the interactions to create test cases for each action performed on the page. It's that simple! | ||
|
||
This article discusses generating end to end automated test cases based on user actions. | ||
|
||
--- | ||
|
||
> ## **Prerequisites** | ||
> | ||
> Before you begin, enable AI Features from **Settings > Preferences > Generative AI features** and ensure you're familiar with the concepts of [Test Cases](https://testsigma.com/docs/test-cases/manage/add-edit-delete/). | ||
--- | ||
|
||
## **Steps to Test Scenarios from User Actions** | ||
|
||
1. From the left-side navbar, go to **Create Tests > Test Cases**. | ||
|
||
2. Click **Copilot** and choose **Test Scenarios from User Actions** from the dropdown menu. This will open the **Generate End-to-End Test Cases** dialog box. | ||
|
||
3. Enter the URL in the text box and click **Start Recording**. | ||
|
||
4. The URL opens in a new window. Click **Record**, provide screen sharing access to **Testsigma Recorder** by choosing **Tab/Window/Entire Screen**, and click **Share**. | ||
|
||
5. The Copilot starts recording. | ||
|
||
6. Perform the actions for which you want to create test cases. | ||
|
||
[[info | **NOTE**:]] | ||
| Test case generation is available only for **1 minute & 30 seconds**. | ||
|
||
7. Wait while Copilot generates the test cases. | ||
|
||
8. Select the test cases you want to add to the test case list and select **Save Test Cases**. | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.