Page 1 of 1

Unable to start the Process

Posted: Wed Apr 26, 2017 1:47 pm
by hans.dominic
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

Re: Unable to start the Process

Posted: Thu Apr 27, 2017 6:34 am
by hans.dominic
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