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:
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.
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.