Hi KP,
Sorry I’m not familiar with Azure VM’s, from the website there appears to be Windows and Linux VM’s but it doesn’t say which Linux distro so I won’t be able to give you exact instructions.
As an overview if you’re using Linux you’ll need to:
- install XVFB with your package manager (On Debian based distro’s use
apt install xvfb
- configure XVFB’s display number and run XVFB
- Set the operating system variable
$DISPLAY
for the XVFB display number - run your robot test as the user where you configured the
$DISPLAY
variable
Windows VM’s already should have a GUI so if you’re using a Windows VM you have a different issue.
Hope that helps,
Dave.