Category : appium-desktop

Unable to connect with appium inspector for android emulator: Desire Capabilities { "platformName": "Android", "appium:platformVersion": "11.0", "appium:deviceName": "Pixel4", "appium:app": "C:Usersprasad.sangpalDesktopApiDemos.apk", "appium:appPackage": "io.appium.android.apis", "appium:appActivity": ".view.TextFields", "appium:automationName": "UiAutomator2" } Remote Port: 4723 | Remote Host: 0.0.0.0 Error: Could not connect to server; are you sure it’s running? If you are using the browser version, also ensure your ..

Read more

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