If you have a license, it is possible to use gmtool to run automated tests. See GMTool userguide.
However, Genymotion Desktop is not optimal to perform automation tests: such usage may cause instability issues due to the host hardware limitations.
For this reason, we have developed Genymotion Cloud PaaS and Genymotion SaaS for such usage.
Please visit https://www.genymotion.com/cloud/ for more information.