Unable to start the Process

Ask general questions here.
hans.dominic
Posts: 12
Joined: Fri Mar 18, 2016 3:06 pm
Location: Norway

Unable to start the Process

Post by hans.dominic » Wed Apr 26, 2017 1:47 pm

Hi Support Team,

I am trying to start a process but it seems Ranorex has skipped or unable to run it. Let me describe what I was doing:

* Project 1 (I called it RunMasterscripts) -- runs in command line with the test id of the masterscript as parameter
* Project 2 (I called it Masterscript) -- calls and runs a number of scripts/testcases and this project is called by Project 1

Here is the code for calling/running the scripts both in Project 1 and Project 2:

Code: Select all

Process procRunMaster = new Process();
procRunMaster.StartInfo.FileName = scriptName;
procRunMaster.StartInfo.UseShellExecute = true;
procRunMaster.Start();
procRunMaster.WaitForExit();
procRunMaster.Close();
When Project 1 is calling Project 2, everything is fine. But when Project 2 is calling the number of scripts, it fails or as if nothing happens.

Let me know if you need further information. Looking forward for your support.

Thanks,
Hans

hans.dominic
Posts: 12
Joined: Fri Mar 18, 2016 3:06 pm
Location: Norway

Re: Unable to start the Process

Post by hans.dominic » Thu Apr 27, 2017 6:34 am

Hi Support Team,

Please ignore this post.

After having my own investigation, this issue is due to the number of users connecting to the licenses we currently have.


Thanks,
Hans