Studio
2024.10
False
Guide de l’utilisateur de Studio
Last updated 28 juin 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érequis :
  • 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érequis :

  • Connectez-vous à Test Manager :
    • Dans l'en-tête de Studio, cliquez sur Test Manager.
    • Cliquez sur Paramètres de Test Manager.
    • Saisissez l'URL de base de votre instance Test Manager et cliquez sur Connecter (Connect).
    • Dans Projet par défaut, sélectionnez le projet sur lequel vous souhaitez travailler. Ce projet doit inclure les tests manuels avec lesquels vous souhaitez travailler.

Étapes

  1. Ouvrez le panneau Explorateur de tests.
  2. Dans la liste des cas de test de votre projet par défaut, cliquez droit sur un cas de test manuel.
  3. Cliquez sur Créer un cas de test codé (Create Coded Test Case).

    Résultat : un nouveau cas de test codé est automatiquement créé avec le même nom que le test manuel. Ce cas de test codé affiche les étapes manuelles sous forme de commentaires.



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.

Étapes

  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.



Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Logo Uipath blanc
Confiance et sécurité
© 2005-2024 UiPath. All rights reserved.