Studio
2024.10
False
Guía de usuario de 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.

Prerrequisitos:
  • 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.

Prerrequisitos:

  • Conectar a Test Manager:
    • En el encabezado de Studio, haz clic en Test Manager.
    • Haz clic en Configuración de Test Manager.
    • Introduce la URL base de tu instancia de Test Manager y haz clic en Conectar.
    • En Proyecto predeterminado, selecciona el proyecto en el que quieres trabajar. Este proyecto debe incluir las pruebas manuales con las que deseas trabajar.

Pasos

  1. Abre el panel Test Explorer.
  2. Haz clic con el botón derecho del ratón en un caso de prueba manual de la lista de casos de prueba de tu proyecto predeterminado.
  3. Haz clic en Crear caso de prueba codificado.

    Resultado: se crea automáticamente un nuevo caso de prueba codificado, que tiene el mismo nombre que la prueba manual. Este caso de prueba codificado muestra los pasos manuales como comentarios.



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.

Pasos

  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?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Logotipo blanco de UiPath
Confianza y seguridad
© 2005-2024 UiPath. All rights reserved.