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.
Instead, we recommend using Genymotion SaaS cloud virtual devices.
For more information please refer to the following: