Questions tagged [ui-automation]

UI Automation is programmatic/scripted interaction with a graphical user interface, typically for the purpose of testing or accessibility assistance.

UI Automation is programmatic/scripted interaction with a graphical user interface, typically for the purpose of testing or accessibility assistance.

Examples of Stand-Alone UI Test Tools

Examples of UI Test Frameworks/Libraries

  • Microsoft UI Automation Framework (Win32/WinForms/WPF)
  • Scirocco (Android)
  • Maveryx (Swing)
3757 questions
1
vote
0 answers

Write active window to json file

I want to write my active window to a json file (this json file needs to be in dropbox or onedrive). So if a have a word document open called "what to do" i want the current time and name of the window. When I have that I can use Microsoft flow to…
Arno
  • 11
  • 2
1
vote
0 answers

Unable to connect to gmail store javax mail api

I am trying since few days to retrieve email being sent using javax mail api. Dependency used - javax.mail I am getting error messages like cannot connect to store or connection time out when it tries to connect to store.…
Ricky
  • 73
  • 1
  • 12
1
vote
1 answer

Notepad click OK does not work in pywinauto

While trying to automate notepad GUI, I cannot make click function to work in a single try. When I execute line 4 twice, the click ok button works and the "About Notepad" menu is closed. I tried doing the same with other buttons in other menus and…
1
vote
2 answers

Protractor: Failure during waitForPromise: asynchronous script timeout: result was not received in 11 seconds

Protractor regression test specs were working fine till last week, then out of nowhere when I run the same specs now protractor takes a lot of time to interact with the webelements like (getText() from dropDown,context menu so on) in the application…
1
vote
1 answer

Downloading csv file with tag "Download Error" while clicking on Download button from application in UI Automation with Protractor

While I execute automated testcase(Protractor Version 5.4.2) related to download functionality on my local machine, it is downloading .csv file with "Download error". I am sure it is not an issue with my application because when I manually perform…
1
vote
2 answers

Xcode UI Testing plan

I would like to implement UI Testing for my app, but I couldn't find anywhere some guides on how to structure the tests, group them or which is the best way to proceed writing the tests - a big flow in a test, or multiple tests for smaller flows. If…
Carmichael
  • 467
  • 1
  • 8
  • 21
1
vote
0 answers

Using Java, how can I implement an UI cucumber scenario that gives entry data to the Webdriver while maintaing ability to run locally and remotely?

I have a .properties file that gives input data for instantiating the WebDriver inside the ServiceHooks class. How can I change this logic to use a cucumber .feature file to drive the parameters that I provide to the WebDriver and implement such a…
1
vote
2 answers

Need to verify text inside a table (Python, Selenium)

New to automation, I have a couple of months under my belt and learning when I have free time. I'm trying to confirm that a user name appears inside a table and the name will appear on several rows. I'm using something like this: @step('Users…
1
vote
0 answers

UIAutomation unable to scroll my UI-element. But why?

I want to vertically scroll a WPF UI-element (a datagrid) by using Microsofts UIAutomation. inspect.exe shows me that the property VerticallyScrollable is true and HorizontallyScrollable is false, which is correct: Further, if I use the…
marc wellman
  • 5,808
  • 5
  • 32
  • 59
1
vote
1 answer

Unnecessary .feature.cs files created based on test json files in the directory in Specflow

SpecFlow Version: 2.2.1 Used Test Runner MSTest .feature.cs files are generated using SpecFlowSingleFileGenerator custom tool Visual Studio Version VS 2017 Enable SpecFlowSingleFileGenerator Custom Tool option in Visual Studio extension…
KBNanda
  • 595
  • 1
  • 8
  • 25
1
vote
1 answer

How to avoid some flakky test fails in espresso android Testing?

In my test suite, out of 10, atleast 2 test failing every time but on running that method alone is not failing.how to handle this type of issue As of now , I am doing with Thread.sleep to avoid more failures. How to do explicit wait
Arjun Govind
  • 41
  • 1
  • 6
1
vote
2 answers

I am not getting proper script on puppeteer where in UI waits until the data is loaded in a dropdown

I am using a long await page delay(8000) just to ensure all the data in the dropdown box is loaded. I assume there must be a way to wait until all the data in dropdown box is loaded and then automation goes to the next step after that. I tried using…
Denish
  • 73
  • 1
  • 8
1
vote
0 answers

Appium doesn't work with Android debug build

I have a problem with running Appium on my Android app. On release build, everything works fine. I'm able to run some basic test cases etc. The problem is when I switch from release to debug build. For debug, Appium is not able to open the app,…
Kacper Opyrchał
  • 349
  • 3
  • 13
1
vote
1 answer

Right left swipe in appium

How to do Right and left in latest version of appium beacuse as we dont have swipe(driver.swipe) method in new appium version public DailyPicksPage swipeDailyPicksCard() throws Exception { Dimension size =…
1
vote
1 answer

UI Automator viewer error : Error taking device screenshot: EOF Error taking device screenshot: EOF

I am getting error while taking device screenshot from UI Automator viewer. "Error taking device screenshot: EOF" error is getting display enter image description here