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

Not able to switch window and shift control to new window in UI automation using WebdriverIO

I am trying to automation of a UI page where, on click of a button opens up another window. I want to switch control to the new window and perform some operation on the new window. I tried using browser.windowHandles , browser.switchTab(), and…
1
vote
1 answer

Xcode XCUITest XCUICoordinate not working with press and/or drag

I am running Xcode 9.4.1 and trying to do long press and press & drag functions using XCUICoordinates. I have both methods working fine on XCUIElements but both failing when run against XCUICoordinates. For example, take the following code let…
Charlie S
  • 4,366
  • 6
  • 59
  • 97
1
vote
2 answers

Cant select elements on Webpage

I'm having major issue trying to select menu two elements on a dropdown.I've tried xpaths, link texts and css selector but it wont select either the password button or logout button. Xpaths used for Password button:…
user9686029
  • 252
  • 1
  • 2
  • 11
1
vote
1 answer

Multi Module maven project: How to trigger all feature files across modules?

I am writing a multi-module test automation framework where i have a parent project known as framework and 2 child modules/projects - core and customer. customer module is dependent on core module I am using cucumber-junit to write feature files.…
silver_noodles
  • 361
  • 2
  • 4
  • 12
1
vote
2 answers

Unable to open Edge in InPrivate mode using selenium web driver

From the C# object model, it looks like this should do the trick, but the UseInPrivateBrowsing property has no effect at my end. Just opens a regular browser session in the edge. var options = new EdgeOptions(); options.UseInPrivateBrowsing =…
Oddleif
  • 751
  • 3
  • 9
  • 35
1
vote
1 answer

automationElement.RootElement.FindFirst always returns null

I have a requirement that may need to use something like UI Automation so i'm trying to learn the basics but I'm not having much luck. I found this line of code in a couple of examples from different articles: var calcWindow =…
Thierry
  • 6,142
  • 13
  • 66
  • 117
1
vote
1 answer

Using pywinauto for uninstalling a program (Windows)

Code snippet and resulting uninstaller window on execution I am attempting to use Pywinauto to automate the uninstallation of 'Microsoft NET Framework' using a template provided by Vasily Ryabov. I am able to get to the point where I hit…
1
vote
1 answer

C# / ATATA / Selenium: Using ControlList to store multiple tables

I am authoring a Page Object for my company that represents a HTML page which contains many tables (and is badly structured). I am only interested in certain tables on this page, and would like to have a single table to reference on my Page Object…
1
vote
1 answer

How to store Browser Console errors log in reports file?

I want to fetch browser(Chrome) console errors in my test reports. I am using Selenium with Ruby and for reports, I have used Report Builder. I want to get the reports in json format
1
vote
1 answer

Coded UI and UI Automation Are not going hand in hand

I'm trying to automate a windows based application Using Coded UI. In this application some control are not accesible so i have used UI automatin element to identify the control. First Screen Contains List of Employees in the form Grid. When user…
pasupati
  • 57
  • 9
1
vote
1 answer

pywinauto send key down to application

I want to send key down events to game applications using pywinauto. I get the application like this: from pywinauto.application import Application app = Application() app.connect(title='Adobe Flash Player 29') win = app.window_(title_re = "Adobe…
Max Heslop
  • 51
  • 1
  • 1
  • 9
1
vote
1 answer

How can I resolve 'Metadata foo.dll not found!' errors when compiling C# code on the command line?

On my Windows 7 workstation, I have a variety of compilers installed - including MSVC9 and MSVC10. I recently noticed the following strange problem which only occurs in my MSVC10 environment. In my MSVC9 shell (I use the one from the start menu),…
Frerich Raabe
  • 90,689
  • 19
  • 115
  • 207
1
vote
0 answers

Need to Autoamate a control using coded UI which is not visible in Coded UI Test Builder

I'm trying to automate a Winform application in which one control is detectable as WinClient which stores the Employee Information in the form of a grid. When I can double-click on any of the rows it opens another window with employee information.…
1
vote
0 answers

Creating a custom UIAutomation property in c#

I'm currently adding UIA support to a pane control and child control by implementing IRawElementProviderFragmentRoot and IRawElementProviderFragment respectively. UIA fragments use the method public object GetPropertyValue(int propertyId) to return…
1
vote
0 answers

Visual UI Automation Verify shows DisconnectedItem in ContextMenu (WPF)

Stackoverflow. I've looked through a good amount of questions\answers, and still not found the clue to the issue I'm facing in Visual UI Automation Verify (2.0). I have a ContextMenu in TreeList (DevExpress…