Question 1: I run tests on a virtual machine. In order for the tests to take place they need to be looked at - i. connect via virtual and maximize the window. How can I cheat the system and make sure that the virtual is constantly thinking that they are looking at it?
Question 2: I poured tests on Jenkins, they also run and work if you look at them. But then the question arose whether java.awt.Robot does not work - can it be made to work, or how to replace its actions? Robot is needed - to press Enter, and to drive / click with the mouse.