# Automated GUI testing in VM

**URL:** https://forum.robotframework.org/t/automated-gui-testing-in-vm/8396
**Category:** Development
**Created:** [4 February 2025 14:42 UTC](https://forum.robotframework.org/t/automated-gui-testing-in-vm/8396 "2025-02-04T14:42:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Leo](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@Leo](https://forum.robotframework.org/u/Leo)
#### Post date: [4 February 2025 14:42 UTC](https://forum.robotframework.org/t/automated-gui-testing-in-vm/8396/1 "2025-02-04T14:42:16Z")

</div>

I currently have a robot file running on a Windows VM that opens a Windows application using pyautogui and compares images with DocTest.VisualTest.  
What I need to know is: how do I access it by running a robot file from a remote PC and get the report.html ?

---

<div class="post-metadata">

### Author: ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)
#### Post date: [4 February 2025 17:40 UTC](https://forum.robotframework.org/t/automated-gui-testing-in-vm/8396/2 "2025-02-04T17:40:55Z")

</div>

You can create another robot test/task to `scp` or using SSHLibrary to send the files to your machine. You can also have a very basic HTTP server on the Windows machine to serve the location of the reports. You can do this with `python`.  
Maybe that Windows machine is also a Jenkins node, and this way you can have the job and get the report with it.

---

<div class="post-metadata">

### Author: ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)
#### Post date: [4 February 2025 17:44 UTC](https://forum.robotframework.org/t/automated-gui-testing-in-vm/8396/3 "2025-02-04T17:44:55Z")

</div>

Also if your VM is running on a host you have access, there are some ways to access the files. For example by ssh/sftp to the VM.  
I do this frequently in a Oracle’s Virtual Box host, with the client VM configured with a network card as “Host Only Network”.

---

<div class="post-metadata">

### Author: ![Leo](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@Leo](https://forum.robotframework.org/u/Leo)
#### Post date: [5 February 2025 12:29 UTC](https://forum.robotframework.org/t/automated-gui-testing-in-vm/8396/4 "2025-02-05T12:29:49Z")

</div>

Thanks Helio!
