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
1 answer

JNLP File App Automation using marathon java driver

I am automating a forms application using java driver marathon. I can launch the application from the automation code and navigate to following the blocked screen. There is a table where I want to read the data, I have the decompiled java code with…
1
vote
1 answer

How to identify UI elements when multiple UI elements have same UI elements

I am trying UI automation using PywinAuto Lib. When I am trying, Multiple UI elements are having same UI Attributes . Is there any way , we can alias and identify what we need. ControlType: RadioButtonControl ClassName: RadioButton …
Sreevathsabr
  • 649
  • 7
  • 23
1
vote
1 answer

How do you get the NamePropertyId of a UIAutomationElement by hovering the cursor?

I am trying to build my own screen reader using UIAutomation. I want my program to return the NameProperty of the element that is pointed by my cursor This is what I have done so far; this is just sample code anyway: #include #include…
1
vote
1 answer

UiPath terminal connection - internal vs EHLLAPI?

I'm trying to automate in an AS400 terminal using UiPath. I experience stability problems where the screen "blinks", which can cause errors. This outputs a trace log: "XMLScreen:Render BUGBUG XMLScreen.Field is blank". I am connecting with UiPath…
DirtyDeffy
  • 497
  • 7
  • 18
1
vote
1 answer

How to identify if an application is using Win32/UIA backed to start the same in pywinauto with right backend settings.?

I am using pywinauto to test one of the application which in turn uses multiple application. Is there a mechanism where in i can query and check what the specific backend application is developed with, win32/UIA so that backend=XX can be passed on…
kbk
  • 555
  • 2
  • 8
  • 20
1
vote
1 answer

Appium : not able to set saved capability sets

I am trying to do automation testing using Appium desktop for my iOS app. I have generated an ipa of my application. Appium Desktop software contains 2 sections for every app. You have to defined some key value pairs in desired capabilities section…
Kirti Parghi
  • 1,142
  • 3
  • 14
  • 31
1
vote
1 answer

How to make Pywinauto in Python click a button in a different language?

I just can't get Pywinauto to work. Basically I want it to open the system settings ( figured that out already) and then click "Change Settings" but in my language (German) which would be "Einstellungen ändern". I've tried this: from pywinauto…
ETVator
  • 43
  • 2
  • 7
1
vote
1 answer

C# Exclude tooltip popups from SetWinEventHook with EVENT_OBJECT_NAMECHANGE

I'm trying to detect window title changes of AIMP music player using the SetWinEventHook and it works, the problem is that it also detects Tooltip popups when I hover over buttons with mouse (stop, play, minimize, etc). I would like to exclude these…
Lakyn
  • 11
  • 4
1
vote
0 answers

Appium AndroidDriver.getCurrentPackage() equivalent in IOSDriver

I'm doing an UI automation on mobile using Appium and need a API to check what app is running on top. For android I have found that the driver.getCurrentPackage() return the package name of the app. But couldn't find a similar one for the IOS…
Kaushik Vijayakumar
  • 755
  • 3
  • 10
  • 19
1
vote
2 answers

How to get text of each cell from 1st 2 rows of ag-grid in protractor

I have an angular grid with 3 rows. All three rows come under same class A. but ever row has it xpath webelement B (//div). How to iterate through each cell of 1st two rows and get the values in an array? Please help me in this. There is no…
1
vote
0 answers

Selenium finding sibling class in a FindsBy result

I have the following CSS (Note the element that tells me it's an active element.):
1
vote
0 answers

How to generate AndroidTestCoverageReport when Test Fails?

I am able to generate AndroidTestCoverageReport when all my test pass. But when any of the test fails, AndroidTestCoverageReport is not generated. Is there any way I can bypass the failed scenario and still generate AndroidTestCoverageReport.
zzz
  • 497
  • 3
  • 14
  • 32
1
vote
1 answer

Reduce UI Automation Test Time in Android

I wrote a UI Automation test using UI Automator. Here are the test steps. Open My App Open Settings Click Advance Features(Samsung Only) Enable Finger Sensor Gesture Open Recent Apps Open My App This whole automation test takes 8-7 seconds. Is…
user10689702
1
vote
1 answer

How to refresh WPF AutomationElement with DataTemplate - Windows UI Automation

I am trying to automate the testing of a WPF application using Windows UI Automation. The application has a ContentControl with a data template that changes based on user interaction. On initial load, I am able to get and click a button inside of…
Jared Beach
  • 2,635
  • 34
  • 38
1
vote
0 answers

Select value in combo box on internet explorer Using excel vba

See this screenshot, is this the one to click on drop down HTML Code after selecting Metrics-1 from Drop down menu I am trying to select value from combo box on internet explorer using vba. When website gets opened, combo box has default value. I…
Singh
  • 11
  • 4