Forum Discussion
Surya2012
Nov 18, 2020Copper Contributor
Automating WPF application using WinAppDriver
I am automating WPF application using Win App Driver, When I am trying to launch the WPF application I am getting error "Failed to locate opened application window with appId". My WPF application is 'Click Once Application'. My code is like:
private string wpfAppid = @"https://ptyqa.testleginoint.bis/Main/Tenance.Shell.Application";
protected static OpenQA.Selenium.Appium.Windows.WindowsDriver<WindowsElement> driver;
AppiumOptions opt = new AppiumOptions();
opt.AddAdditionalCapability("app", wpfAppid);
opt.AddAdditionalCapability("deviceName", "WindowsPC");
driver = new WindowsDriver<WindowsElement>(new Uri("http://127.0.0.1:4723"), opt,TimeSpan.FromMinutes (20));
"driver" is null.
is there any other way to launch the 'Click once' applications.
No RepliesBe the first to reply