Studio
2024.10
False
Studio-Benutzerhandbuch
Last updated 28. Juni 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.

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

Voraussetzungen:

  • Verbindung mit dem Test Manager herstellen:
    • Klicken Sie im Studio-Header auf Test Manager.
    • Klicken Sie auf Test Manager-Einstellungen.
    • Geben Sie die Basis-URL Ihrer Test Manager-Instanz ein und klicken Sie auf Verbinden.
    • Wählen Sie unter Standardprojekt das Projekt aus, in dem Sie arbeiten möchten. Dieses Projekt sollte die manuellen Tests enthalten, mit denen Sie arbeiten möchten.

Schritte

  1. Öffnen Sie den Bereich Test Explorer.
  2. Klicken Sie mit der rechten Maustaste auf einen manuellen Testfall aus der Liste der Testfälle in Ihrem Standardprojekt.
  3. Klicken Sie auf Codierten Testfall erstellen.

    Ergebnis: Ein neuer codierter Testfall wird automatisch erstellt, der den gleichen Namen wie der manuelle Test hat. In diesem codierten Testfall werden die manuellen Schritte als Kommentare angezeigt.



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.

Schritte

  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.



War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
UiPath Logo weiß
Vertrauen und Sicherheit
© 2005-2024 UiPath. All rights reserved.