What is the best way to deploy a VM, Install Desktop software and run automated desktop testing

Rince Antony 1 Reputation point
2023-06-12T12:57:53.3033333+00:00

The requirement I have is as below.

Deploy a VM
Install desktop software(50+)
Run automated desktop testing and capture the results.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,261 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Luke Murray 11,246 Reputation points MVP
    2023-06-13T20:45:09.1566667+00:00

    Hi, Rince.

    I would take a look at Azure Image Builder, it now has a portal experience, allowing you to install applications - and verification checks (ie check that the registry key exists etc. for applications).

    0 comments No comments

  2. Prrudram-MSFT 27,586 Reputation points
    2023-06-23T19:22:57.14+00:00

    @Rince Antony

    To deploy a VM, you can use Azure DevTest Labs. DevTest Labs is a service that helps developers and testers quickly create environments in Azure while minimizing waste and controlling costs. You can use DevTest Labs to create and manage virtual machines (VMs) and environments in Azure.

    Once you have created a VM, you can install the desktop software on it. You can use cloud-init to run a bash script in a Linux VM on Azure. Cloud-init is a package that is available on most Linux distributions that are available in Azure. You can use cloud-init to configure a VM when it is first created or when it is restarted.

    To run automated desktop testing, you can use a tool like Selenium. Selenium is an open-source tool that automates web browsers. You can use Selenium to write scripts that simulate user interactions with a web application. You can also use Selenium to capture the results of the tests**.**

    To summarize, you can use Azure DevTest Labs to deploy a VM, cloud-init to install desktop software, and Selenium to run automated desktop testing and capture the results.

    --please don't forget to "[Accept the answer]" if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.