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

Test Automation code reuse across multiple component git repos?

Considering I have an existing test automation framework for a product and the plan is to do a product rewrite but seperate it into multiple components, each living within their own git repositories, what is the best approach in order to have code…
symon
  • 670
  • 1
  • 7
  • 20
1
vote
1 answer

Automating .net month calendar window

How to set a random date in the .net app's month calendar object using QTP? The window does not have any input box to insert the date directly. The class name of that calendar UIAObject is WindowsForms10.SysMonthCal32.
koder
  • 35
  • 9
1
vote
1 answer

Why does ListBoxItem.OnCreateAutomationPeer() return a ListBoxItemWrapperAutomationPeer?

In .NET Framework 4.7.1, ListBoxItem.OnCreateAutomationPeer() returns a ListBoxItemWrapperAutomationPeer. Does anybody know why it does not return a ListBoxItemAutomationPeer? It would be much more usefull since ListBoxItemWrapperAutomationPeer does…
jchristin
  • 7,352
  • 2
  • 15
  • 18
1
vote
0 answers

Geb/Spock - Login failures after first feature test runs during automation

We have recently started using Geb/Spock for our automation and I've run into an issue that doesn't make any sort of sense to me at all. This will be a bit complicated to explain but I will try my best. My company uses an in-house custom built…
jcattau
  • 53
  • 6
1
vote
1 answer

How do I wait for third part application to finish updating. GUI

I'm using the unmanaged windows automation api from C# to automate a third party application. I use this to select a list item in list A in the third part application. This causes the third party application to change the list items in list B. List…
Tim Galvin
  • 25
  • 7
1
vote
0 answers

How to make an rest API call using Espresso framework?

I am using Espresso framework for my android UI automation. I need to make an REST API call and get the response and use it for my assertions. Should I add any dependencies in gradle file / how to use ? Thanks
1
vote
1 answer

How to identify 'mat-calendar-body-cell' in selenium java?

Basically the UI code is written in Angular and I am automating using selenium java. I am facing difficulties in identifying the elements of a calendar. Below is the sample code. Plz let me know how to access the dates.
Raa
  • 121
  • 2
  • 13
1
vote
0 answers

How to check with pywinauto if TreeView item disabled

I'm trying to automate software installer (NSIS) with pywinauto. There is the TreeView as follow Some items a disabled (gray out). I discovered that I can find if item disabled/enabled by analysing pattern of the state code returned. app =…
shurkam
  • 81
  • 1
  • 5
1
vote
1 answer

How to verify specific text from text view in calabash android

How do i verify specific text from text view in calabash android i enter some number in text field, and there is some specific scenario in which it should be multiplied with some another number which is returned by the service. this multiplication…
zzz
  • 497
  • 3
  • 14
  • 32
1
vote
0 answers

How to parse android log in realtime while running unittest with Appium?

I am running UI automation test with Appium. But it is does not recognize my elements on the screen. I added Debug messages to the source code and built new apk with those messages. What i need to do next is start UI test and at same time grab…
B.Kleo
  • 31
  • 1
  • 6
1
vote
0 answers

Implementing IGridProvider, IValueProvider in AutomationPeer class

I have written AutomationPeer class for my custom control: // Automation Peer for the CustomControl private class CustommControlAutomationPeer : FrameworkElementAutomationPeer, IValueProvider, IGridProvider { public…
Yauhen
  • 1,145
  • 12
  • 19
1
vote
1 answer

How to test text with sikuli that has the same letters but different color in robot framework?

When using robot frame work with Sikuli library the comparison of images is black and white based. How can the script fail if the text is correct but its color is wrong ? Screen Should Contain ${Stop_red_screenshot} PS : the test pass even if…
1
vote
1 answer

Send text to ace editor with selenium and python

I'm trying to automate the filling out of an AWS lambda function with selenium and python with the chrome driver; however, I'm unable to enter text into the ace editor. The html for the editor looks like this:
dbryan
  • 153
  • 1
  • 2
  • 5
1
vote
1 answer

How to select ComboBoxItem in WPF (DevExpress framework) using UIAutomation?

I've tried to get the patterns of all automation elements in that I can use ExpandCollapsePattern but i can't use the SelectionItemPattern to invoke SelectItemPattern. Exception: Exception: "Unsupported Pattern" Here is my code: foreach…
KJay
  • 23
  • 6
1
vote
2 answers

How to automate autocomplete textbox

I am trying to automate a testcase where textbox provides intelligence to autocomplete the field. Please find the link below for autocomplete text box : http://demoqa.com/autocomplete/ Please find the code written by me …
user7520525