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

Webdriver automatically clears Text (Autosuggested text)entered in TextBox

WebDriver can identify the Text box. WebDriver can pass the value through SendText to the Correct Textbox. But the entered text get erased once i give the input to next field or perform any action. Selenium Code: …
1
vote
2 answers

Handling UAC prompts when doing UIAutomation

Is there a way to access the UAC prompts via UIAutomation (I'm writing a test for an installation process). From http://msdn.microsoft.com/en-us/library/ms742884.aspx it looks like there is a way to set this up. So the question is how to make this…
Dinis Cruz
  • 4,161
  • 2
  • 31
  • 49
1
vote
1 answer

Get scrolling direction of another window/application

I want to detect the scrolling direction of another application. I am able to do so if the user scrolls through Mouse Wheel or Keyboard (Up/Down/Left/Right keys) through hooks. But I am not able to capture the same when the user uses the scrollbars…
1
vote
0 answers

basic authentication does not work for local testing with cypress

I am developing a web app that requires windows credential. To test it locally during developing, I decide to try cypress.io. However, I cannot make it work. I always got an 401-unauthorized error. Here are some codes that I have used for my…
1
vote
0 answers

Getting data from panel (automation)

I would like to know is possible that getting list/values from the panel.(bec. panel just panel) This panel behavior is like gridview or listview. Have rows and columns but the control type is pane. enter image description here I use automation…
Gergo Papp
  • 19
  • 1
  • 5
1
vote
1 answer

Protractor - unable to get URL title, webdriver just hangs

just start messing around with Protractor for an upcoming project that may require front-end automation on an angular based website. After installing Protractor and running the given examples, tried to do a very simple test, like the following: //…
1
vote
0 answers

How to write an Automation Test before the code is written?

I have a question that I find difficult to answer or to get an example of. I am new to automation testing and have been asked to write out automation tests for tasks where the development code for that particular feature has not even been written…
1
vote
1 answer

Clicking AutomationElement Dialogue Box

I'm automating an installer as it doesn't have a (functional) /silent switch. It works mostly fine except I've come up against what appears to be a road block - a dreaded dialogue box. It looks like this. What I've…
user5947867
1
vote
1 answer

How we test ARCore apps on device farm like AWS or App Center?

I want to write a testing script to test the Android/iOS app which is using Augment Reality so that I can run the tests over AWS or App Center. How can I do this? Any help would be appreciated.
1
vote
1 answer

Check if headless android emulator is running

I am running a headless emulator (Android api 25) on a Ubuntu linux 14 server and I see the below output for the command- $./adb devices List of devices attached emulator-5556 device However, If i try to run any other command I get error $./adb…
Abhishek Madan
  • 165
  • 2
  • 10
1
vote
0 answers

How to avoid false positive during automated testing select option?

I am using Katalon Recorder 3.6.11 to generate automated test scripts. I ran into an issue where selecting an option from a dropdown menu was passed during the automated test, but in testing by hand was failing. When testing by hand, you could…
1
vote
1 answer

Controls missing using UIAutomation, but not with Inspect.exe

I'm retrieving controls (children of a toolstrip), but the list isn't complete throught the code, while Inspect.exe is retrieving the full list. The only useful information is that the "Cancel" and "Validate" ToolStripButtons are instantiated…
1
vote
0 answers

How to run WPF application in background using pywinauto

How to run an application in background ? type_keys and click_input requires active window. Instead of type_keys and click_input(), is there any way to run WPF application in a background ???
1
vote
1 answer

Ranorex 8.3.0, When trying to create new recording it doesn't show option to select web ,desktop or mobile application

I Just installed Ranorex studio trial version 8.3.0. While I was going through tutorial trying to learn it, I encountered a problem. After creating new solution when I try to record test, it's just start recording. It doesn't give option to select…
1
vote
0 answers

How do I use UI Automation with ChromiumWebBrowser?

I'm trying to use UI automation with ChromiumWebBrowser, so I managed to make it work by passing force-renderer-accessibility command line option to settings. It got available on inspect.exe tool but I still couldn't find it by code. Could anyone…
Jack
  • 16,276
  • 55
  • 159
  • 284