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

Karate UI Automation - Assertion fails with message "actual value is not JSON-like" for driver.title comparison

I am trying to use karate for UI automation but I am stuck with one basic scenario where I am trying to validate the page title Below are my scenario steps: Scenario: Validate page title Given driver 'https://google.com' And…
QualityMatters
  • 895
  • 11
  • 31
1
vote
1 answer

How to run a Rspec scenario with multiple tags?

I am using ruby client for web automation with selenium. I am running them parallel using parallel_rspec. I want to run the tests which has smoke and ae tags set. My scenarios looks like: scenario 'Test1', :smoke, :regression, :ae do "do…
1
vote
1 answer

Clicking on hidden div elements using selenium webdriver

I am testing an application where I have to click a menu button, which displays a set of menu settings. I have to click on one of the menu options to navigate a page. The sample HTML code is as follows.
Sai Krishna
  • 593
  • 1
  • 8
  • 25
1
vote
1 answer

UIAutomation API shows menu bar when called from one app, but not another?

I have an application I'm trying to write an automated UI test for. The is a native C++ ATL application, which has a couple of controls, and a MenuBar. An automation client application written in C# can see the menu bar, but for no apparent reason,…
Orion Edwards
  • 121,657
  • 64
  • 239
  • 328
1
vote
2 answers

How can i detect a button in taiko js

I'm trying to detect a button on my simple angular page. On checking that the button exists, it always returns false whilst the text search always return true. console.log(await button('New Page').exists()); - false console.log(await…
1
vote
2 answers

How do I create a variable from a fixture file in a before statement in Cypress?

I am storing user mocked user creds in a fixture file, and i want to access that data in a before statement, so that each test in that file can have access to a username and password variable. I Know that I can pull in the fixture file and then…
1
vote
2 answers

Click functionality is not working good all the time on CRM application

Sources: Selenium WebDriver, Chrome 73V, ChromeDriver, Java , testNG, CRM application , Eclipse I am working on web application which is kind of CRM, loaded with tons of UI elements. One test case works today and fail tomorrow. FYI, I used fluent…
Mike ASP
  • 2,013
  • 2
  • 17
  • 24
1
vote
1 answer

How to bypass an error dialog when calling a C++ executable from MATLAB?

I need to run a C++ executable from a for loop in MATLAB. I have written the following piece of code for the purpose, EqNumbers = [17 18 20 21 22 23]; for i = 1:length(EqNumbers) EqNumber = EqNumbers(i); WriteRunE_File(EqNumber); …
The_Learner
  • 589
  • 1
  • 6
  • 16
1
vote
1 answer

How to switch off/on network in xamarin android/iOS app from xamarin uitest in C#

I am writing xamarin uitest in c# to automate xamarin mobile app.I have apk and ipa file with me.I want to toggle network connection after launching the app.How to switch on/off the network using uitest. In appium we can use togglewifi() to change…
1
vote
0 answers

UI Automation GetFocusedElement returning root element

I am trying to determine if the focused element can accept input. I'm using GetFocusedElement of UI Automation API. However when I make the call it is returning the root element and not the actual element with the focus. If I try the same thing with…
Michael T
  • 619
  • 6
  • 19
1
vote
2 answers

WinAppDriver doesn't find element Inspect can find

I am trying to assert a certain Text element is present on a GUI I am testing. I can see the element using Inspect, yet when running my code, the element is not found. Interestingly, I cant use the "watch cursor" to select the element, I can only…
dshimano
  • 11
  • 3
1
vote
2 answers

Is there a way to automate inspection of profiler output to use with integration testing an ASP.NET application?

My original question was to how to get method call counts. From the answers here, I gather that what I should be asking is what profiler output allows you to extract its information to get method call counts, and use that information in my…
1
vote
0 answers

Pywinauto: How do I open a menu then open a file?

I am trying to do some ui automation for my research and it has been proving to be tricky. I am trying to launch a program, open a file, click on a few things, and then open another file. I have run into a few issues along the way. First, whenever…
1
vote
1 answer

How to use tag value using Selenium Webdriver

I newly started writing automation scripts for Electron-based desktop application. In the application, we have a set of icons with tags. Below is HTML code from them.
1
vote
1 answer

Couldn't open uiautomatorviewer after setting PATH

Today I followed the Youtube for setting my laptop(linux-Debian) to install the android SDK tool , I have set PATH in environment variables via command line [terminal line]: hauying@hauying-yoga-linux:~$ echo…
Howard
  • 109
  • 2
  • 11