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

Can't click a button due to a sticky button presence

Due to presence of a sticky chat button, I can not click a button on screen on my Appium test. Can anyone help? Code public static void TapViewBookingButton() throws InterruptedException { Setup.startTimer(); MobileElement btnViewBooking =…
Mohsin Awan
  • 1,176
  • 2
  • 12
  • 29
1
vote
2 answers

Do While with Multiple Conditions

Simple Question, I must just be missing something obvious. I am trying to create a subroutine that polls for a window to be open and I am aiming to accomplish this by a loop that will run while two conditions are met. I keep getting an error: Run…
JustinCoplin
  • 169
  • 3
  • 16
1
vote
1 answer

How to hold Alphanumeric keys from keyboard using TestStack.White Framework

I'm familiar with the command Keyboard.Instance.HoldKey(KeyboardInput.SpecialKeys.CONTROL); as well as Keyboard.Instance.Enter("Z");, but I don't seem to be able to find a way to hold down alphanumeric keys using this. Am I missing something?…
Dumpcats
  • 453
  • 5
  • 21
1
vote
0 answers

JAVA GUI automation tool for eclipse RCP application

I need a better suggestion from u all. I have an application where eclipse RCP (JAVA) is used for the GUI. Now i want to automate the GUI testing in java. I have created a project where i have used "sikuli" to create test for image comparison …
Eric Ipsum
  • 723
  • 3
  • 10
  • 24
1
vote
2 answers

How to Set DesiredCapabilities for a WPF App

I have developed a simple WPF applicaiton. I want to do some UI automation testing on my app. I started following this tutorial on how to do automation using Appium and Windows Application Driver. As a part of setting up the test environment for…
Amir
  • 53
  • 5
1
vote
0 answers

Unable to determine reason I get exception with uiacomwrapper but not system.windows.automation using same code?

I am doing some experimentation with Windows Automation. It is recommended not to use the System.Windows.Automation managed code anymore due to updated patterns in windows 7 & 8 and to use the new COM library. I have found a wrapper called…
JMIII
  • 320
  • 2
  • 16
1
vote
4 answers

How to find xpath without firepath into firefox version 57.0

Facing difficulty to find xpath without firepath in new Firefox version 57.0. In the new Firefox version, firepath is not supported. Can anyone please suggest a new way for using xpath?
PARTH MODI
  • 55
  • 3
  • 8
1
vote
1 answer

UI Automation Provider in C#

We have some projects which use an open source ribbon component for Winforms. This component was formerly on CodePlex, but is also available on CodeProject. Our test group - who use Ranorex - have found this component does not support UI-Automation.…
Phil Jollans
  • 3,605
  • 2
  • 37
  • 50
1
vote
1 answer

Sourcetree (windows) : Auto close feedback window

Can sourcetree be configured to auto-close the feedback window if there were no errors after an operation?
Fortmann
  • 433
  • 6
  • 20
1
vote
1 answer

UI Automation: How to trigger a tree item's double click event?

I like to test an application with the Microsoft UI Automation and I got stuck in triggering a tree item's double click event. Dim parent As AutomationElement Dim child As AutomationElement parent = 'expand the…
Nostromo
  • 1,177
  • 10
  • 28
1
vote
1 answer

id of xpath is getting changed every time in selenium python 2.7 chrome

one more problem i hv,i asked similar question earlier and i tried that method but not able use that methon in this problem so pls help me. it's element html code is - Filters  So basically, question is that there is one button its kind of toggle…
1
vote
1 answer

Clicking UI element with JXA doesn't work

I'm trying to interact with the default Mail app using Javascript for Automation (JXA). I want to click on the first email in the list so that it opens in its own window. but clicking does nothing. The solution suggested here is what I tried and it…
1
vote
2 answers

How to verify if the right activity is open using Assertion appium

How to verify if the android app is launched correctly when click app icon(pass or fail)? How to verify if splash screen is display after app is launched? How to verify if the right activity is open(pass or fail)?
1
vote
0 answers

UIAutomationClient elementFromPoint With VBA error "User-Defined type may not be passed ByVal"

Is there a way to use ElementfromPoint from UIAutomationClient with VBA (EXCEL) I have always an compilation error : "User-Defined type may not be passed ByVal" Sub Test_ElementFromPoint() Dim uiAuto As New UIAutomationClient.CUIAutomation8 Dim…
Oliv
  • 11
  • 3
1
vote
1 answer

C# UIA Get Microsoft Edge URL

I am currently using UIA to get the URL from Chrome, Firefox and IE11 using the following method: string processName = ""; if (browser.Equals(BrowserType.GOOGLE_CHROME)) processName = "chrome"; else if (browser.Equals(BrowserType.FIREFOX)) …
BoyUnderTheMoon
  • 741
  • 1
  • 11
  • 27
1 2 3
99
100