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

Spring Boot - Automate Web Form Filling on Client side

I'm developing a web app (in Spring Boot) that would need to simplify the user interaction with other websites (third party, not developed by me). The idea is that my app pre-fill a form so the user won't have to do it. As I began to read about this…
sebasira
  • 1,739
  • 1
  • 22
  • 41
1
vote
1 answer

WinAppDriver continuously throws an error as 'Unknown error, Operation timed out'

I'm trying to automate UI's of an extension installed in Visual Studio 2019 Enterprise using WinAppDriver and after all the successful completion of configurations and test scenarios, the WinAppDriver server keeps throwing an error as below. Accept:…
1
vote
1 answer

Throw Error: Describe is not a function. Getting this error while running Mocha Test

I have installed the mocha but while running this test using command then getting describe is not a function error.
1
vote
1 answer

how to make page wait till the navigation is not completed in puppeteer

Here is my scenario: My app uses Azure authentication, so it's setup such a way that when i say await page.goto(url,{waitUntil:'condition'}) - it opens the app in a new tab and then it opens a new window which gets the authentication token and…
1
vote
1 answer

appium TouchAction press and moveTo scrolling method not working on Android 8.1

i'm using appium 1.13.0 to try to scroll through a native android app on a samsung galaxy note 9 on android 8.1 with this method here new TouchAction(driver).press(PointOption.point(943, 1090)).moveTo(PointOption.point(70,…
dam1ne
  • 181
  • 1
  • 2
  • 17
1
vote
1 answer

UI support by UIAutomationClient

I am looking for some details about UIAutomationClient. I want to know which type of element\application it supports like WPF, Win 32, JAVA, Sliverlight. If anyone has a link where all the supported control complete list I can find then it will be…
1
vote
2 answers

WPF, White Automation, drag and drop hanging

I'm currently trying to automate a test case using the White UI-Automation framework. In doing this I'm having some trouble with drag and drop. I'm trying to drag from a button to a point on the screen, which I calculate based on the location of…
Klee
  • 2,022
  • 3
  • 23
  • 32
1
vote
1 answer

Handling staleelement reference exception Coverfox website using Python pytest selenium

content of test_homepage.py def test_insurance_pages_open_successfully_using_fixtures(page_object, load_home_page, insurance_data): page_object.open_insurance(insurance_data) assert page_object.ui.contains_text('Buying…
1
vote
0 answers

What is the most perfect way to record a workflow into AppleScript so I can program it?

I tried to write an AppleScript code to control a music sheet application iReal Pro to create sheets automatically, but I tried so many ways and I still can't get the application UI elements exactly,so then I try to record my hand operations in…
BrotherYao
  • 79
  • 4
1
vote
2 answers

After clicking a button Page is loaded but displaying white blank screen (refused to display in a frame) - Cypress

I am in a situation where the page is loaded after clicking a button, but displaying a white blank screen. Console Log error i am getting an error Refused to display '' in a frame because an ancestor violates the following Content Security Policy…
user10251019
1
vote
1 answer

Creating a cypress custom command for getting text in typescript

i am working on a cypress project and I am trying to create a custom command which resolves promise and returns text on the passed locator. export default class QuickRegisterPage { emailAddressText() { return cy.get('#emailAddress'); …
user10251019
1
vote
2 answers

How do you design Page Object Model without duplicates?

I'm working on UI automating testing, using POM with Python and Selenium. I want to know how to handle duplicate test cases. For example, you have two webpages: Login page and Homepage. I want to test three test cases. Homepage functions without…
Heather Koo
  • 27
  • 1
  • 5
1
vote
0 answers

How to switch focus of WebDriver from Native App to Web authorization Page

Was not able to come up with right wording for title, but will explain here: So im testing native iOS app and at some point user need to connect fitBit Account. So When user tap on Connect => He redirected to fitBit auth page which is…
1
vote
2 answers

How to enter the text in search bar using UIAutomation?

Could you please help me out in entering the text in search bar using UIAutomation scripts for IPhone Application. Thanks in advance, Madhu.
Madhu
  • 11
  • 1
  • 3
1
vote
1 answer

Text from UIAutomation property value truncated to 4k

I'm using UIAutomation from a 32-bit C++ application on Windows 7 to get the text content of windows of other processes. I noticed that the API always returns strings truncated to exactly 4096 characters if the text in the windows is longer than…