I'm running Win10 with developer mode enabled, and I started WinAppDriver. In VS 2019 I ran the calculator example but every test fails with an exception. I then tried setting a bunch of breakpoints, but when I run the tests, it never breaks at my breakpoints.
Here is a stack trace for the exception:
Test Name: Addition
Test FullName: Test Detail Summary
Test Source: C:\Code\WinAppDriver-1.1.1\Samples\C#\CalculatorTest\ScenarioStandard.cs : line 31
Test Outcome: Failed
Test Duration: 0:00:00
Test Name: Addition
Test Outcome: Failed
Result StackTrace:
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Appium.AppiumDriver`1.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebElement.Click()
at CalculatorTest.ScenarioStandard.Clear() in C:\Code\WinAppDriver-1.1.1\Samples\C#\CalculatorTest\ScenarioStandard.cs:line 131
Result Message: Initialization method CalculatorTest.ScenarioStandard.Clear threw exception. System.InvalidOperationException: An unknown error occurred in the remote end while processing the command..
Any ideas why the tests aren't working, and why it isn't breaking at my breakpoints?