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 and host resource shortage.
For this reason, we have developed and optimized Genymotion Cloud PaaS and Genymotion SaaS for this use case.
Please visit our website for more information.