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();
Let me know if you need further information. Looking forward for your support.
Thanks,
Hans