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
18
votes
2 answers

Is there any open source tools for RPA (Robotic Process Automation)

We want to build a RPA software. The definition of RPA: A software 'robot' is a software application that replicates the actions of a human being interacting with the user interface of a computer system. I searched RPA open-source software several…
Willis.Hu
  • 265
  • 1
  • 2
  • 14
18
votes
2 answers

Test execution inside Backgroundworker apruptly ends on elements with many childelements

my general setup: we've written a little excel importer with a small gui, that allows non programmers to write and execute gui-tests with commands like "Button.Click". The underlying framework is TestStack.White. After importing the excel file and…
CAA
  • 968
  • 10
  • 27
17
votes
7 answers

Attempts to tap a UIButton in a UITableViewCell using UI Automation fail with "could not be tapped"

I have an iPhone app that I'm testing using UI Automation. I have a button in a UITableViewCell but when I try to tap on it using UI Automation I get the following error. Script threw an uncaught JavaScript error:…
kodie
  • 429
  • 6
  • 13
17
votes
1 answer

AutomationProperties.Name VS x:Name

There is no difference for the "CodedUI test builder" between the AutomationProperties.Name and x:Name. But the first one can override the second one. Also the AtomationProperties.Name supports data binding, x:Name of course doesn't. As we know if…
CoffeeCode
  • 4,296
  • 9
  • 40
  • 55
16
votes
3 answers

Experiences with UI Automation and WPF

We are developing a rather large WPF based application and would like to include some automated UI testing in our test suite (which already contains a number of unit tests). The UI Automation Framework from Microsoft partly sounds like a perfect…
soren.enemaerke
  • 4,770
  • 5
  • 53
  • 80
16
votes
2 answers

Check if element exists python selenium

I'm trying to locate element by element=driver.find_element_by_partial_link_text("text") in Python selenium and the element does not always exist. Is there a quick line to check if it exists and get NULL or FALSE in place of the error…
16
votes
1 answer

How to return errors from UI Automation pattern provider?

Suppose I'm implementing some UIA pattern in my custom control. Say, TablePattern. Existing implementations return null if anything went wrong. But it is not very convenient to debug. I might have more of a context in the automation peer. For…
Ivan Danilov
  • 14,287
  • 6
  • 48
  • 66
15
votes
2 answers

Strategy for Automated UI testing on remote virtual machines

I'm using TeamCity for my CI builds, and I'd like to set up a second build for running automated UI tests on Windows XP and Windows 7 virtual machines. I imagine the build working as follows: Compile, run unit tests, etc. Prepare MSI using…
Paul Stovell
  • 32,377
  • 16
  • 80
  • 108
15
votes
2 answers

run UI Tests xcode 7 on a device

Can I execute UI Tests on a physical device? I have tried a few approaches/combinations with target/scheme but I am not able to run it on a device and I am getting no errors either.
Joao Duarte
  • 321
  • 2
  • 10
15
votes
1 answer

Android Espresso Ui Test verify label text of ActionPage

I am trying to test the text of an ActionPage using Espresso. However, when I run the Ui Automation Viewer I can see that the ActionPage is being shown as a View instead of an ActionView and it does not have a TextView. I have tried checking for the…
AlexIIP
  • 2,461
  • 5
  • 29
  • 44
15
votes
1 answer

UIATarget.setLocationWithOptions course not applying

I'm attempting to automate the path of a user via UI Automation. Ideally, the user location in an MKMapView would update according to the list of waypoints I've explicated in the automation script: var target = UIATarget.localTarget(); var…
Patrick Perini
  • 22,555
  • 12
  • 59
  • 88
15
votes
3 answers

How to do UI Automation of Metro-Style Apps?

I've downloaded and installed the windows 8 consumer preview, and I'd like to figure out how to use the UI Automation API's to get data from metro style applications. Background: I have a lot of automated tests which use the Microsoft UI Automation…
Orion Edwards
  • 121,657
  • 64
  • 239
  • 328
14
votes
1 answer

How to achieve browser resizing in run time using playwright? in a e2e test run

We have in protractor like: browser.driver.manage().window().setSize( width - 30, height ); How to achieve this in playwright?
14
votes
3 answers

Tool for automated UI testing for Mac OS X (Cocoa) apps

Is there any open-source free tool for automated UI testing for Mac OS X (Cocoa) apps? So far I've seen commercial tools such as [Squish] and [EggPlant]. The only free tools I've read about are using UIAutomation or Automator. Does anyone have any…
soguy
  • 265
  • 1
  • 3
  • 10
14
votes
3 answers

How do I wait for an element to be clickable in WebDriverJS?

Does anybody know how to wait for a WebElement to be clickable in WebDriverJS? I already know how to wait for the element to be "visible", but I would need it to be "clickable".. Something similar to expectable conditions in Python binding. I…
cSn
  • 2,796
  • 3
  • 23
  • 29