I have my project inside a try catch. When an exception is throw I would like my bot to take a screen shot and then email that screen shot to my email address. I currently have the screen shot being saved to the projects relative path. When I run locally though studio my results are as expected and everything works. When I run my project on a VM through orchestrator or the robot tray I get the following error:
“Save image : Object reference not set to an instance of an object.”
Using Studio version 2018.1.2 stable and orchestrator version 2017.1.6547
Steps to reproduce:
- Take a screen shot
- Save image to relative path
- run the following on a VM through orchestrator or robot tray
So my question is the following: Can I save an image to a relative path when running on a VM through orchestrator and if so, how?