Hi Guys,
I am starting ranorex through TFS via a Build server. Here is the code block I am using:
Ranorex.Keyboard.AbortKey = System.Windows.Forms.Keys.Pause;
Process pr = new Process();
ProcessStartInfo prs = new ProcessStartInfo();
prs.WorkingDirectory = @"C:\Builds\UI\bin\Debug\";
prs.Arguments = "/zr /zrf:report_"+tc+".rxzlog /testcase:" + tc;
prs.FileName = @"Banking.UI.Features.exe";
pr.StartInfo = prs;
pr.EnableRaisingEvents = true;
pr.Start();
pr.Exited += p_ExitedFeatures;
pr.WaitForExit();
var ReportName = File.ReadAllLines(@"C:\Builds\UI\bin\Debug\Report.txt").Last();
ReportName = ReportName + ".rxlog";
testContextInstance.AddResultFile(ReportName);
When I run on my local machine the report is generated as expected. When I run via the build server, I see the tmp file being generated, but the process stops there. I can't rename the file with an rxlog extension and open it unfortunately. Please explain to me how I can get past this problem. It is very urgent.
Starting Ranorex as a Process on build server Report error
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Starting Ranorex as a Process on build server Report error
Hi niteshr,
Unfortunately it is hard to analyze this issue. Therefore, may I ask you to provide additional information about your different systems?
Please also let me know which version of Ranorex you are currently using and if it is possible for you to send us your complete solution.
This helps us analyzing the issue directly on our machines.
Thank you in advance.
Regards,
Markus (S)
Unfortunately it is hard to analyze this issue. Therefore, may I ask you to provide additional information about your different systems?
Please also let me know which version of Ranorex you are currently using and if it is possible for you to send us your complete solution.
This helps us analyzing the issue directly on our machines.
Thank you in advance.
Regards,
Markus (S)