Hello,
winappdriver tries to find my wpf app products xml file in default winapp directory - C:\Program Files\Windows Application Driver\
My code below:
public static void Setup()
{
AppiumOptions appCapabilities = new AppiumOptions();
appCapabilities.AddAdditionalCapability("platformName", "Windows");
appCapabilities.AddAdditionalCapability("deviceName", "WindowsPC");
appCapabilities.AddAdditionalCapability("app", @"**C:\Users\xxx\Desktop\POS\emulator\_NCREmulator\ECR.exe**");
appiumDriver = new WindowsDriver<WindowsElement>(new Uri(windowsApplicationUrl), appCapabilities);
appiumDriver.Manage().Window.Maximize();
}
In my app logs i found error message - System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Program Files\Windows Application Driver\Data\products.xml’.
Why appium tries to search products.xml file in this directory?
How to set up driver, that he search products.xml file in application directory C:\Users\xxx\Desktop\POS\emulator_NCREmulator?