Hello ppl
i have my test cases able to run from the command line receveiving 1 argument( txt file with the path of the application to be tested) and i need to receive one more argument, a path like : d:\folder1\fold2\ and i need to receive that and change the Program.cs file to generate the report on that specific folder. I create an extern Library to support Ranorex
I'm using this code on my UserCode(it works very good while launching application to be tested)
private static Dictionary<string, string> config;
public static void Setup(string[] args)
{
if (args.Length > 0)
{
try
{
config = TestUtils.LoadConfiguration(args[0]);
System.Diagnostics.Process.Start(config["exe"]);
}
catch (Exception e)
{
Report.Error("Unexpected exception occured:" + e.ToString());
}
}
Can you help me?