Some background:
* I use Ranorex DLL's imported into my Visual Studio project. Version 4.1.4.16685
>> Ranorex.Core
>> Ranorex.Plugin.Web
* Specflow version 1.9.1.84
* Unit.Framework reference version 2.6.3.13283
* NUnit GUI version 2.6.3.13283
* In Ranorex Studion when I record and run the launching steps everything works correctly.
So it seems to be specific to NUnit, my versions numbers match, but this has me baffled and it is a major bug in my framework.
My Code Example:
** Feature File
Code: Select all
Scenario Outline: Launch Application
Given I launch application <role>
Examples:
| role |
| ATESTER |
** Step Defintion
Code: Select all
[Given(@"I launch application (.*)")]
public void GivenILaunchApplication(string p0)
{
Host.Local.RunApplication(Config.WpfClientLocation, ExtensionMethods.RunAsRole(p0), "", false);
}
** Extension Methods
Code: Select all
public static string RunAsRole(string user)
{
return String.Format("/runas:{0}", user);
}
Are there any know issues with Ranorex and NUnit that would help me debug this issue?
Or any thoughts in general?
I don't want to remove Nunit from my framework and replace it with MSTest for example as the work load would be huge and MSTest does not have the benefit of a standalone GUI.
Cheers in advance.