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 Nov 15, 2024

Automate manual tests

This page lists guidelines to effectively use AutopilotTM for automating manual tests in Studio Desktop.

After you link Studio to Test Manager, the Test Explorer from Studio Desktop offers you a view of all test cases within your Test Manager project. The panel displays both automated and manual tests. Autopilot allows you to convert the manual tests into automated tests.

Visit Creating a coded test case from a manual test case and Creating a low-code test case from a manual test case to learn how to convert manual tests into low-code and coded test cases.

Note: To automate manual tests, install Studio Desktop version 2024.10.1 or higher.

1. Prepare a consistent object repository

Autopilot uses UI Automation capabilities to convert manual test steps into automated ones. In order to reference the UI elements that you want to test, Autopilot needs object repository references to each of them. It's crucial to maintain a consistent naming convention, ensuring that you use identical control names within your manual test steps as those within your object repository.

For instance, consider the following manual test step: "Click on 'Submit loan application'". In this case, Autopilot will generate a Click activity, and attempt to locate an object repository element named Submit loan application. Consistency for control names within your manual steps facilitates a smooth automation conversion process.

2. Use common activity names

A typical manual test step might have the following structure: "Type 'john.doe@gmail.com' into the 'Email' field". This step includes the following information used for automating it:

  • Action: Type, which is recognized as the Type Into activity.
  • Data: 'john.doe@gmail.com'.
  • Target: 'Email', which is recognized as the corresponding object repository element.

Check the table for the verbs you should use in your manual steps. These verbs are then converted in the appropriate activity/API within Studio Desktop.

Manual test stepUiPath activityUipath API
"'Click' on 'My button'"ClickClick
"'Type' 'hello world' into 'My textfield'"Type IntoTypeInto
"'Get Text' from 'My label'"Get TextGetText
"'Check' 'My checkbox'"CheckCheck
"'Select item' '3 years' from 'Loan term'"Select ItemSelectItem

3. Automating form filling

If a form that required data input is displayed on your screen, you can use the 'Fill Form' keyword to tell Autopilot to automate it.

Note: This functionality is available only when generating a coded test case.

Consider the following manual test step as an example: "Fill the form on the screen named 'myFormScreen' with the following values: Email: 'john@doe.com', Loan Amount: '10000', Loan Term: '3'". Autopilot will execute the 'Fill form' command within your coded automation, populating the values across all identified user controls within your specified form.

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.