test-suite
latest
false
UiPath logo, featuring letters U and I in white

Test Suite User Guide

Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated Dec 4, 2024

Requirements

It is very common to use specialized requirements management tools to manage requirements like user stories, epics, or other artifacts. Test Manager supports the synchronization of requirements from external tools as well as the creation of requirements from within Test Manager. In a Test Manager project, there can be requirements that are synced from external tools as well as requirements that were created in Test Manager.

Creating requirements

To create requirements in a Test Manager project:

  1. In the Test Design menu, navigate to the Requirements page.


  2. Click Create Requirement. The Create Requirement window is displayed.
  3. Fill in the fields accordingly:
    • Name - The name for your requirement.
    • Description - (Optional) Add any description to the requirement. In order to add formatted text, use Markdown syntax.
    • Optionally, add any number object labels.
  4. Click Create. Your new requirement is displayed in the Requirements page.
    Tip: Upload documents

Synchronizing Requirements from External Tools

In order to keep requirements from external ALM tools in sync with requirements from Test Manager, configure a connection first. Refer to About ALM Tool Connectors to learn how to configure a project to be synchronized with an external ALM tool.

Once a connection is configured properly, any requirement which is created in the external tool is also created in Test Manager. The name and description of those requirements are also kept in sync when changed in the external tool. In Test Manager, these attributes are read-only.

Note: After a connection to an external ALM system has been configured, no initial synchronization of existing artifacts is performed. This should avoid creating huge amounts of data in Test Manager without any prediction on how long this would take. However, whenever an object in the external tool is updated, it will be created in Test Manager in case it does not exist.

Quality-check requirements

Important:

This feature is currently part of an audit process and is not to be considered part of the FedRAMP Authorization until the review is finalized. See here the full list of features currently under review.

AutopilotTM assists you in evaluating requirements for quality aspects such as clarity, completeness, and consistency.

Prerequisites

To evaluate requirements with AutopilotTM, your Test Manager role must have the following permissions: Requirement - Create, Edit.

Steps

  1. Open a project, and navigate to Requirements.
  2. Select More Options for a requirement and choose Evaluate quality.
    Note: Alternatively, open the requirement, and then choose Evaluate quality.

    The Provide Supporting Documents window opens, prompting you for attachments or other documents necessary for evaluating the requirement.

  3. In the Provide Supporting Documents window, select additional attachments. These are used when evaluating the requirement. You can also upload other files yourself.
  4. Select Next and provide additional instructions that AutopilotTM should use when evaluating the requirement. Choose from a prompt from the Prompt library or type these instructions in the Provide Additional Guidance window.
  5. Select Evaluate quality to initiate the process.

    When the evaluation finishes, you will receive a Quality check completed notification. Depending on your notification preferences, you can receive the notification both in-app and via email.

  6. Select the Quality check completed notification to view the generated suggestions.
    1. Expand each suggestion and update its status based on your progress: To do, In work, or Done.
    2. If you want to implement a suggestion, select Add to Requirement.

      This changes the suggestion status to In Work. You can either leave it as it is or mark it as Done.

    3. If desired, you can Remove the suggestion from the list.
    4. To generate more suggestions for a requirement, select Suggest More.
      Note: Alternatively, use Regenerate to recreate suggestions using different supporting documents or additional guidance.
    5. To save the suggestions, select Export to Word.


Supported file types

You can only upload the following file extensions, from which Autopilot processes only the text content:

  • DOCX
  • XLSX
  • TXT
  • CSV
  • PNG
  • JPG
  • PDF
  • BPMN
Note: Autopilot processes only the text content in the files. Images within the files are not processed.

Best practices

Visit Best practices for quality-checking requirements for a comprehensive list of guidelines and examples to help you write effective instructions.

User access management with Autopilot for Testers

The AI Trust Layer governance policy allows you to manage the use of AI-powered features within your organization. Although all members have default access to these features, you can use this policy to restrict access as needed. The AI Trust Layer governance policy empowers you to limit a user's access to certain AI-powered features or all of them, at a user, group, or tenant level. Additionally, it gives you the ability to decide which AI products users can access. You can create, modify, and implement this governance policy in AutomationOps.

If you want to deploy an AI Trust Layer governance policy and still use the AI-powered testing capabilities, ensure that, within the policy's Features Toggle, you select Yes for Enabling Test Manager features.

Check the following resources to learn how to create, configure, and deploy a governance policy for your organization.

Cloning requirements

You can only clone one requirement at a time.
  1. Select More Options docs image for the requirement that you want to duplicate and then Clone.
    The Clone panel appears.
  2. Select the information that you want to clone:
    1. Test case assignments
    2. Documents
    3. Labels

      Custom field definitions, and custom field values are also cloned if they exist.

  3. Select Confirm to clone the requirement.
    The Requirement will be cloned in the background message appears.


A clone of the requirement is created, with a different Id.

Exporting requirements

You can export your requirements, separately from your testing project, to import them back into a different project. The requirements export process is similar to the overall project export process. Visit Export project to check how exporting projects works.

Note: If a requirement is linked to a test case, the relationship is maintained in the exported file. When you import the requirement into a different project, the association is restored.

Remember that the export doesn't include custom field definitions.

Follow these steps to export requirements:

  1. Open your project and navigate to Requirements.
  2. Depending on how many requirements you want to export, execute one of the following steps:
    • To export a single requirement, select More Options for the specific requirement and then select Export.
    • To export multiple requirements, select all the requirements you want to export, and then select Export.
  3. When the export is ready, you will receive a Project export completed notification. Select the notification to download the TMH file containing the exported requirements.

You can then import the downloaded TMH file into a different project to re-create all exported objects. Visit Import project to learn how to perform the import process.

Jira Requirements

Synchronizing Objects from Jira to Test Manager

Test Manager comes with a Jira connector pre-installed. On your Jira instance, the UiPath® Test Manager for Jira apps needs to be installed from the Atlassian marketplace. See Connecting a Jira Project to learn how to configure Jira and Test Manager to enable synchronization.

Objects are synchronized from Jira to Test Manager under the following circumstances:

  • An object is created in Jira and Jira is configured to synchronize this type of object.
  • An object is updated in Jira and Jira is configured to synchronize this type of object.

    Note:

    If an object is updated in Jira which does not exist in Test Manager, a new requirement will be created in Test Manager.

    If an object is deleted in Jira, the synchronized object in the Test Manager will remain. Test Manager never propagates deletions across systems.

Enforcing Synchronization

For a particular object, synchronization can be enforced immediately. This can be helpful under the following circumstances:

  • Objects are out-of-sync for any reason - for example, Test Manager was not available while the Jira object was updated.
  • A new Jira connection has been set up in Test Manager and objects which already existed in Jira need to be synced.

To enforce synchronization of an object:

  1. Open the object in Jira.
  2. Click Push to Test Manager from the More menu. Synchronization is invoked immediately.

    Note: Please note that Test Manager does not perform a sync-all operation after a Jira connection has been set up.

Applying filters and views

You can apply filters and store them in views for your test objects. Depending on the scope of a view (personal or public), you can persist the view containing the filters for a user or for all users within the project.

The available filters that you can apply are similar to the ones that appear in the Columns type of that section, consisting of:
  • Properties native to a test object (such as Labels, Updated by, Source, and others)
  • Custom labels

Follow these steps to customize your filters and view:

  1. Go to the desired test object section (i.e. Requirements) and select Filters.
  2. Select Add filter to choose the filters that you want to apply.

    When you select the filter, also select the value that you want it to have.

  3. Select Apply to include the filters in your view.


  4. To save these filters as a view, select Views, and then Save view.
  5. In the Save view window, choose to create a New view or Update an existing view with the filters.

    Decide whether to keep the new view private or set it to Public for other users to access.

  6. Select Save to confirm changes.
  7. To apply a view that you created, select Views, and then Open views.
    1. Choose a personal view (My views) or a Public view.

      You can also change the visibility of your created views between private and public, according to your needs.

    2. Select the desired view and select Open to apply.


Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.