- Studio installation
- Robot installation
- Orchestrator installation
- Test Manager installation
![](https://docs.uipath.com/_next/static/media/grid.05ebd128.png?w=3840&q=100)
Local Azure Resource Manager Deployment
In this topic, you will learn how to deploy Test Manager locally as an Azure Resource Manager (ARM) template using the local deployment script.
- Azure CLI installed.
- You need to be logged in and have the subscription context in Azure set up correctly.
- Download the following packages
next to the local deployment script (TestManagerLocalDeploymentWrapper.ps1):
- Deployment
Script: package containing the MSDeploy package with
the
Deploy-TestManager.ps1
script. - Test Manager
Provisioning Tool: package containing Test Manager
CLI files stored inside the
TestManagerProvisioner
folder. For more information, see Test Manager Provisioning Tool. - Test Manager Local
Deployment Script: MSDeploy package containing
Test Manager Web App
. - mainTemplate.json
Note:TheTestManagerLocalDeploymentWrapper.ps1
script is located in the Zip file generated after downloading the Test Manager Local Deployment Script.A potential path for this location inside the Zip file is:..\Content\D_C\home\site\wwwroot\DeployScript
. - Deployment
Script: package containing the MSDeploy package with
the
arm
and place it next to all the artifacts downloaded under
Requirements. Inside the arm
folder, you need two files:
- an empty
params.json
file mainTemplate.json
file
The folder location for your packages will look like in the screenshot below.
- UiPath Orchestrator set up in your environment.
- Access to Orchestrator Identity Management.
TestManagerLocalDeploymentWrapper.ps1
script. You can use this procedure if you don't have the Test Manager resources
already provisioned.
TestManagerLocalDeploymentWrapper.ps1
script with the
-Provision
flag and then supply the following parameters.
Parameter |
Description |
---|---|
resourceGroupName |
The name of the Azure Resource Group where UiPath Test Manager resources will be provisioned. |
SQLServerAdminPassword |
The password for the admin credentials for the Azure SQL Server. |
SQLServerAdminLogin |
The username for the admin credentials for the Azure SQL Server. |
TMDBSize |
The database size for the Azure SQL Database resource which will be created. Available options: "Small", "Medium", "Large". |
TMDatabaseName |
The name for the Azure SQL Database resource which will be created. |
TMAppName |
The name for the Azure Web App resource which will be created. |
storageAccountName |
The name for the Azure Storage Account resource which will be created. |
SQLServerName |
The name for the Azure SQL Server resource which will be created. |
location |
The name of the Azure Region where the resource
will be created. For example,
west_europe .
|
TMPAppServicePlan |
The name of the Azure App Service Plan resource which will be created. |
storageAccountType |
The type of the Azure Storage Resource which will be created. |
TMAppInsights |
The name of the App Insights resource which will be created. |
In the following example, the local deployment script is executed to provision resources to Test Manager.
- Use the
az login
to log in to your Azure environment. - Set the Azure context to the
subscription where you are about to deploy Test Manager (e.g., to set it to
Dev-Test-SL-EA subscription
run the following:az account set --subscription "DevTest-SL-EA"
. -
Run the
TestManagerLocalDeploymentWrapper.ps1
script with the-Provision
flag and then supply the following parameters..\TestManagerLocalDeploymentWrapper.ps1 -resourceGroupName "tmh-testing" -SQLServerAdminPassword: "password" -SQLServerAdminLogin: "sqladmin" -TMDBSize: "Small" -TMAppName: "tmh-test" -TMDatabaseName: "tmhtestsqldb" -SQLServerName: "tmhtestsql" -storageAccountName: "tmhtestst" -location: "northeurope" -TMAppServicePlan: "tmhtestasp" -storageAccountType: "Standard_LRS" -TMAppInsights: "tmhtestinsights" -provision
.\TestManagerLocalDeploymentWrapper.ps1 -resourceGroupName "tmh-testing" -SQLServerAdminPassword: "password" -SQLServerAdminLogin: "sqladmin" -TMDBSize: "Small" -TMAppName: "tmh-test" -TMDatabaseName: "tmhtestsqldb" -SQLServerName: "tmhtestsql" -storageAccountName: "tmhtestst" -location: "northeurope" -TMAppServicePlan: "tmhtestasp" -storageAccountType: "Standard_LRS" -TMAppInsights: "tmhtestinsights" -provision