Run a test suite name different fromthe assembly name
Posted: Tue Nov 18, 2014 12:04 pm
Hi all,
In my solution I have different projects
for a given project, I want to have a testsuite which have a name different from the project assembly name.
For example, I have a solution with
From Ranorex studio, if I want to execute the suite or a given testcase, I have the following exception:
Is there a way to get the name of the current rxtst file before calling the TestSuiteRunner.Run method?
By this option, I will be able to have many testsuite in my project, and be able to execute, develop them thru Ranorex studio and not only by command line.
In my solution I have different projects
for a given project, I want to have a testsuite which have a name different from the project assembly name.
For example, I have a solution with
- a test suite testproject1 with an assembly name called: testproject1
- a test suite NewTestproject2 with an assembly name called: testproject2
- 2 exe file: testproject1.exe and testproject2.exe
- 2 rxtst file: testproject1.rxtst and NewTestproject2.rxtst
From Ranorex studio, if I want to execute the suite or a given testcase, I have the following exception:
Code: Select all
Unexpected exception occurred: Ranorex.RanorexException: There are multiple test suite files in the assembly directory. Please specify the test suite by using command line parameters or rename the test suite file to the current assembly name.
à Ranorex.Core.Testing.TestSuiteRunner.GetTestSuiteXml(Type containerType, String fileName)
à Ranorex.Core.Testing.TestSuiteRunner.Run(Type containerType, String cmdLineArgs, String testSuiteXml)
à Ranorex.Core.Testing.TestSuiteRunner.Run(Type containerType, String cmdLineArgs)
By this option, I will be able to have many testsuite in my project, and be able to execute, develop them thru Ranorex studio and not only by command line.