Creating projects from the command line

Ask general questions here.
Ribbl
Posts: 5
Joined: Fri Sep 10, 2021 8:57 am

Creating projects from the command line

Post by Ribbl » Mon Jan 30, 2023 2:57 pm

We are using Ranorex mainly for creating RPA scripts for 4-5 different target applications.
When getting a new RPA request, we previously always started with a new project in Ranorex Studio completely from scratch, whitelisting the application, tracking relevant items etc.

To save setup time we've now created a base repo for each of the applications we currently support (including a .cs with some helper functions specific to each application) that we then manually import/link to newly created projects.

To streamline the process for new projects even further I was curious whether it's possible to create a project from the command line directly somehow?
Our idea is that in the future when we get a new RPA request we could have a custom script where we just have to pass the target application and it completely sets up a ranorex project with the matching repo and cs files.

IvanF
Posts: 151
Joined: Thu Aug 11, 2022 8:55 pm

Re: Creating projects from the command line

Post by IvanF » Wed Feb 01, 2023 6:57 pm

Creating directly from the command line may not be an option based on the details here - https://www.ranorex.com/help/latest/ran ... execution/

Some workarounds to consider:
- have a script/automated solution that does the cloning of the template project through Visual Studio or similar
- have a Ranorex "builder solution" that automates the workflow within Studio and creates the template project, then trigger the "builder solution" through the command line before other actions