Studio
2024.10
falso
Guia do usuário do Studio
Last updated 28 de jun de 2024

Working with manual test cases

Once you've established a connection with a Test Manager instance and Studio project, you can navigate to the Test Explorer panel. First, you can transform manual tests within the associated project into low-code or coded test cases. Second, you can create coded test cases using our AI features powered by AutopilotTM. If needed, you can review these manual tests in Test Manager by double-clicking on the test case in the Test Explorer panel before automating them.

Generating test cases using AI

You can generate fully automated test cases using Generative AI powered by Autopilot.

Generating coded test cases using AI

Before you begin, visit AI-powered test automation best practices to ensure you effectively generate the coded test cases.

Pré-requisitos:
  • Connect Studio to a Test Manager project.
  • Create elements in the Object repository that mirror the UI elements from the manual tests.
    Note: Autopilot uses object repository elements to automate UI elements in test steps. The elements are employed in the APIs as Strings.

To generate the coded test case:

  1. In the Test Explorer panel, select 1 Manual Test Cases to display the manual test cases that you can convert into automations.
  2. Right-click a manual test case and select Generate coded test case with Generative AI.

    The result will be a coded test case that uses UiPath APIs to generate the code for automating the entire manual test. The manual steps are displayed as comments at the beginning of the test case.



Creating a coded test case from a manual test case

You can create a coded test case from a manual test, resulting in Studio generating a coded test case named after the manual test.

Pré-requisitos:

  • Conectar ao Test Manager:
    • No cabeçalho do Studio, clique em Test Manager.
    • Clique em Configurações do Test Manager.
    • Insira o URL base de sua instância do Test Manager e clique em Conectar.
    • Em Projeto padrão, selecione o projeto no qual você deseja trabalhar. Esse projeto deve incluir os testes manuais com os quais você deseja trabalhar.

Etapas

  1. Abra o painel do Test Explorer.
  2. Clique com o botão direito em um caso de teste manual na lista de casos de teste em seu projeto padrão.
  3. Clique em Criar caso de teste codificado.

    Resultado: um novo caso de teste codificado é criado automaticamente, com o mesmo nome do teste manual. Esse caso de teste codificado exibe as etapas manuais como comentários.



Creating a low-code test case from a manual test case

You can generate a low-code test case from a manual test with the manual steps displayed as Comment activities.

Etapas

  1. Connect Studio to a Test Manager project.
  2. In the Test Explorer panel, select 1 Manual Test Cases to show the manual test cases that you can convert into low-code test cases.
  3. Right-click a manual test case and select Create low-code test case.

    The result is a low-code test case that places the manual steps as Comment activities within the XAML file.



Was this page helpful?

Obtenha a ajuda que você precisa
Aprendendo RPA - Cursos de automação
Fórum da comunidade da Uipath
Logotipo branco da Uipath
Confiança e segurança
© 2005-2024 UiPath. All rights reserved.