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

Winium driver only identifies the WPF control inner elements only if inspect.exe is opened otherwise it throws "Element not found" exception

My WPF custom control has inner elements. In my case, my custom control is grid and inner elements are cells. You can find the AutomationPeer implementation in below, public class GridAutomationPeer : FrameworkElementAutomationPeer, IGridProvider { …
Neelakandan K
  • 141
  • 2
  • 14
1
vote
1 answer

WiPFlash, UIAutomation right click

I am using WiPFlash to automate some testing in a WPF application. I need the automation to be able to right click on a button and select one of the options from the context menu. Has any one been able to overcome this problem? I'd be happy to…
Klee
  • 2,022
  • 3
  • 23
  • 32
1
vote
2 answers

Failed to return promise in protractor framework from javascript function called from another file

I am new to protractor and javascript. I am building a test framework where each test suit has corresponding module file and locator file. In test cases of test suit file , test modules are being called by passing parameter. When i am trying…
Pankaj Kumar
  • 61
  • 2
  • 9
1
vote
1 answer

TestStack.White Get all Tabs

is there a way to get all elements of a specific type of a window? In my case, I want to get all tabs of the page to filter it afterwards by which has the greater Y-coord. This…
Jan021981
  • 521
  • 3
  • 28
1
vote
1 answer

Get Caret position with TestStack.White

I am using White to get a Microsoft Word Window and the Document as a TextBox like this: Application a = Application.Attach(0x0000AC34); Window w = a.GetWindow("Document1 - Word", InitializeOption.WithCache); TextBox doc =…
Leo
  • 5,013
  • 1
  • 28
  • 65
1
vote
1 answer

How to automate loading a ".txt" file from local to MFC application using pywinauto?

I'm trying to load a ".txt" file from local to MFC application using pywinauto or at-least I need to able to type the text in the "File name:" section and then able to click Open button (as shown in the below screenshot). Following is the code…
Sairamz V
  • 29
  • 5
1
vote
0 answers

How I can deal with captcha images manually or through automation using selenium?

Hi Can anyone guide me how to deal with Captcha images in selenium. The solution mostly people recommended is to enter captcha manually but by validating captcha images manually after consuming a lot of time it displays error message that "please…
Muneeb Akhtar
  • 87
  • 3
  • 11
1
vote
1 answer

Getting RangeError: Maximum call stack size exceeded on Protractor Typescript Automation Framework

Here's the structure of my UI automation framework. It is Typescript compiling to Protractor. 3 Specs: Each Import from page objects, application helpers and framework helpers Page objects: Import functions from helper. Import functions from…
williamtell
  • 301
  • 5
  • 17
1
vote
0 answers

ui automation viewer -adb -error obtaining device screenshot -no android devices were detected by adb

I'm trying to work with uiautomation viewer. When I connect to it and press "device screenshot" button, I get: no android devices were detected by adb error obtaining devices screenshot Resources: Windows 10 (host) running adb server "adb -a…
ohadshay
  • 225
  • 1
  • 3
  • 16
1
vote
4 answers

Dragon Naturally Speaking fails on WPF sub menus

My WPF application menus fail to work with Dragon Natually Speaking, and hence I assume other screen readers and accessibility software. I want my software to work well for my blind and disabled customers. In order to figure out my mistake I also…
Jeff
  • 402
  • 1
  • 6
  • 14
1
vote
2 answers

Automated tests throwing error from code listed in setup despite it having already executed correctly in other tests

I am receiving a error from a group of tests where it seems to be looking for an element listed in the Setup Method despite the method already being executed, the error being thrown is: Message: OpenQA.Selenium.NoSuchElementException : no such…
Jimmy
  • 85
  • 1
  • 11
1
vote
0 answers

Error When Building Automation Test: app:transformDexArchiveWithDexMergerForQaDebugAndroidTest

One - Application Module followed by 4-Feature Modules: A - B - C - D For Automation Testing - I am using Espresso for which I created Module "AutomationUI" which have all Espresso and Junit dependencies. dependencies { api fileTree(include:…
1
vote
0 answers

Performant UI automation based on image recognition

To automate software based on image recognition I started to learn Python using OpenCV's template matching and PyAutoGUI (AutoHotkey or AutoIt might work but I wanted Python). I want to match images to the screen and click when they are found. The…
dtrinh
  • 163
  • 1
  • 11
1
vote
1 answer

Issue in handling dropdown in protractor using typescript

I am having issues in selecting dropdown in protractor My Dom looks like this This is the XPath to select the dropdown with value Yes //label[contains(text(),"is your family…
user10251019
1
vote
2 answers

How to specify custom user agent for firefox and chrome using selenium2 driver in behat.yml

My web application renders PC & Smartphone pages depending on the device type used while accessing it. Browser configuration in my behat.yml is as follows: ......... Behat\MinkExtension: base_url: https://example.com/ selenium2: # =====…
Sudheesh.M.S
  • 498
  • 1
  • 7
  • 13