I am working on a project to automate .NET based application from an open source tool called Winium. While running my script, Winium is taking more then 5 minutes to identify 1 UI element which is not the case when I manually use UI SPY for object identification. I don't know what's the problem is. Any suggestions ?
winiumexe=new File("J:\\Winium.Desktop.Driver.exe");
options=new DesktopOptions();
options.setApplicationPath("J:\\fsim-develop\\bin\\x64\\Debug\\FSim.exe");
service=new WiniumDriverService.Builder().usingDriverExecutable(winiumexe). usingPort(9999).withVerbose(true).withSilent(false).
buildDesktopService();
driver=new WiniumDriver(service,options);
driver.findElementById("FX_combo").click();
driver.findElementByName("GBP").click();
Above FX_combo element is taking more then 3 minutes to identify and click on this button.