Re: Using Ranorex With VS & TFS 2010
Posted: Thu May 05, 2011 6:53 pm
Hello Danie,
for the typeof() parameter you can use any type, not necessarily a repository. This type is used to identify the assembly. Then modules are searched in that assembly and in all referenced assemblies.
In your case if the EXE references all other DLLs then use a type of that EXE. You could make the Program class in Program.cs public and use that one.
There are local copies in the output folder of the Ranorex EXE and then there are local copies in the output folder of your VS test project.
Regards,
Roland
Ranorex Support Team
for the typeof() parameter you can use any type, not necessarily a repository. This type is used to identify the assembly. Then modules are searched in that assembly and in all referenced assemblies.
In your case if the EXE references all other DLLs then use a type of that EXE. You could make the Program class in Program.cs public and use that one.
int res = Ranorex.Core.Testing.TestSuiteRunner.Run(typeof(testCaseExecution.Program), "/testcase:TestCase", Resources.testSuiteResource); Assert.AreEqual(res, 0);When you make changes in a DLL, care must be taken that the local copies get update.
There are local copies in the output folder of the Ranorex EXE and then there are local copies in the output folder of your VS test project.
Regards,
Roland
Ranorex Support Team