Hi,
Do you have some documentation how to run WPF application and use Specflow?
class dTrackingTTF :BaseWpfTest
{
[Given(@"I run the application UK Risk Analyzer")]
public void GivenIRunTheApplicationUKRiskAnalyzer()
{
Manager.LaunchNewApplication(@"C:\Desktop.exe");
Manager.ActiveApplication.Manager.ActiveApplication.MainWindow.Find.ByTextContent("Daily monitoring").User.Click();
}
I get an error:
System.NullReferenceException: Object reference not set to an instance of an object.
Regards,
Peter