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

Send Right Arrow key press using selenium - Chrome(MacOS)

I am using RobotFramework in Python to automate an application on macOS Chrome browser. I need to send multiple keypresses to scroll my grid to right but with no luck. I tried using .sendKeys(): from selenium.webdriver.common.keys import Keys from…
1
vote
1 answer

Using UI Automation to read Internet Explorer DOM from a pane(Window)

I am using UISpy.exe (Windows tool) to select UI Elements that also works with IE. However, for some IE Elements, all properties are not loaded in the automation framework or they have weird values with which they can not be uniquely and efficiently…
Taha Rehman Siddiqui
  • 2,441
  • 5
  • 32
  • 58
1
vote
1 answer

Find Elements issue on the pywinauto

I recently tried to automate a windows application using a pywinauto since it enables automation with using python. I just started it and encountered a problem which hinders me to continue. I get this error whenever I try to find the relevant…
DevforTest
  • 15
  • 1
  • 5
1
vote
1 answer

Running chrome as a different domain user in Mac

The application I am testing behaves differently for different users based on the Active Directory roles assigned to them. So I used to launch applications as a different user in windows by holding down shift key and right clicking the application…
Venkat Rao
  • 121
  • 2
  • 13
1
vote
1 answer

How to setup Mock Server to Test iOS and Android app

I have a mobile application running on iOS and Android, I need to create my functional Automated test cases, however for some scenarios I need specific data , so I think a mock server can help on this. I'm not sure how to start with that as I never…
Sandra
  • 105
  • 1
  • 11
1
vote
0 answers

VBA IE download on lock screen

Hi I am using VBA macro to dl files from one intranet website...its working great but not when windows is locked (win + L). To download the file I am using UIAutomationCore.dll, so No send keys. I am using IE11. example of use of…
Filip Ondo
  • 165
  • 1
  • 2
  • 12
1
vote
1 answer

How do I automate UI reports in Selenium that are in iframe. These reports can be downloaded to excel and pdf

Report comes in tabular format.So,what are the options that I can use to automate the reports and validate each cell shown in the report?
1
vote
1 answer

TestStack White: Cannot find MenuItem object within a ContextMenu using AutomationID

I am using TestStack White for UI automation of a Windows WPF chat application. I can get the Add button searching by AutomationID which pops a ContextMenu with two MenuItems to select to add contact or to create a group. When I try to get the…
Suhaib Ahmad
  • 487
  • 6
  • 25
1
vote
1 answer

Getting the LegacyIAccessible.Description property using UI Automation and/or FlaUI

I want to get the value from the LegacyIAccessible description property of a list item using either UI Automation or preferably FlaUI. I have the below working but it is not consistent. I am unsure why but it seems to only work if the target window…
bradkt
  • 111
  • 1
  • 7
1
vote
1 answer

Appium android. Set custom timeout between click/tap

I'm on appium 1.7.2 with python-client and trying to click on same element 3 times within 2 seconds. To do it I have tried to change "actionAcknowledgmentTimeout" to 400 milliseconds (found in docs). I guess default backend is UIAutomator2. So is it…
3a4oT
  • 45
  • 8
1
vote
2 answers

Unable to select option from dropdown using nightwatch js

I have seen some other posts using below format but it did not work at all, even the select is not opening: .click(".selectpicker option[value='somevalue']") But when I wrote like this: .click("select[id='chooseone']") it did open the…
xploreraj
  • 3,792
  • 12
  • 33
  • 51
1
vote
1 answer

How to access inner elements of a WPF custom control that doesn't implement the AutomationPeer class?

Recently I came to know from this article - http://blogs.msdn.com/b/patrickdanino/archive/2009/11/11/custom-controls-and-ui-automation.aspx -that controls in WPF are responsible for exposing their UIA items themselves, and any newly added…
atiyar
  • 7,762
  • 6
  • 34
  • 75
1
vote
2 answers

Can't make Actions.class methods work unless driver instance declared in @Test

I'm new to Selenium & new to Java as well. So maybe I'm missing something obvious, but I’m spinning on this for a while now, can't move forward & totally desperate. Please help! Here is my set-up: My custom Driver class implements WebDriver & sets…
1
vote
0 answers

How to send key combinations(control+shift+T) using Selenium with Ruby on Mac?

I need to send the following key combination (control+shift+T) using selenium on a Mac machine with Ruby. Someone suggest me a solution for this.
1
vote
0 answers

Is there anything in pc or registry that i need to activate to use uiautomation accessibility api

I developed an application that uses uiautomation api for accessibilty. I did initialize the element hr = CoCreateInstance(__uuidof(CUIAutomation), NULL, CLSCTX_INPROC_SERVER, __uuidof(IUIAutomation), (void**)&g_pAutomation7); …