Category : appium-desktop

I’m writing a test for a WPF desktop application using Appium. I need to wait for an element to appear. I have the following code: WebDriverWait testWait = new WebDriverWait(driver, TimeSpan.FromSeconds(7)); var userName = driver.FindElementByName("userNameBox"); testWait.Until(pred => userName.Displayed); This code fails due to the userName variable not being set (second line) – ‘An element could ..

Read more