Category : appium

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

i’m new in uiautomator2, i need to make it run in windows with minimal files and configuration cause i need to make it portable. i can’t install huge android sdk. I just install command line android sdk that contains only. bin and lib platform-tools i got from seperate download. so inside android sdk folder, there’re ..

Read more

We have an win32 windows application which creates windows and (mainly) handles its own UI. It does this by registering a windows class with windows using RegisterClass and creates windows using CreateWindowEx. We then handle the windows messages and control all interaction in the WndProc method e.g.drawing things onto screens using WM_PAINT and handling WM_MBUTTONDOWN ..

Read more

I’m working in test automation using Appium. This will run on a Windows machine, and we’re using python to drive Appium. I’m able to find the main window for the application that I’m automating using: ApplicationWindow = self.driver.find_element_by_xpath("//Pane[@ClassName=’wcl_manager1′]") Then I need to search that ApplicationWindow for the button I need to press. I only know ..

Read more