Questions tagged [uiautomation]

Tag for general questions about automation related to testing performed by interacting with the software via the graphical user interface.

Filter by
Sorted by
Tagged with
1
vote
1answer
2k views

How do I switch reporting from allure reports to extent reports in an existing automation framework?

I have been handed an existing framework that uses allure reports for reporting purposes. I am not really liking allure reports for primarily a couple of reasons: It displays the results only after ...
2
votes
1answer
2k views

uiautomatorviewer not running on Mac Big Sur

I'm trying to run uiautomatorviewer on Big Sur and I'm getting this error java.lang.NullPointerException at org.eclipse.swt.widgets.Control.internal_new_GC(Unknown Source) at org.eclipse.swt....
1
vote
1answer
44 views

Best practice for UI testing an app in kiosk mode

I have a Windows 10 UWP app that runs in kiosk mode in production, and I'm wondering what the best practice would be if I want to create automated UI tests for it. Like, how necessary would it be to ...
0
votes
1answer
24 views

How to Switch from selenium WebDriver to Windows Driver (WinappDriver)

I'm working on end to end test case automation. First 5 test step need to check on web. [Selenium Web driver] Next 3 steps need to validate in windows desktop apps.[Winapp driver] Again need to do ...
0
votes
2answers
961 views

How to scroll horizontally knowing that the required tab has no unique ID (Appium using Java)

What I want to do is scrolling horizontally in a tab that doesn't have a unique ID. I have code how to scroll using id and textmatches like this example: driver.findElement (MobileBy....
1
vote
2answers
954 views

Click getting to lower item (under dropdown) instead of dropdown in Selenium

I m trying to click on the dropdown menu item and i am able to select the dropdown and the menu item but instead of clicking on item the click is going to the element right under it. Before the ...
2
votes
2answers
104 views

Passing the UI data from one test to another

I work with Playwright, Mocha and Chai. In the application that I am currently testing I need to automate the following scenario. When a user logs into the application a dashboard with assigned list ...
0
votes
0answers
21 views

UIAutomator giving different UI Components for the same app activity

I am trying to programmatically analyse the various UI components present in any Android app after some duration of time, (the moment the app gets launched on the device) using the built-in tool ...
0
votes
1answer
73 views

Is it possible to use Microsoft UIA to automate sites designed in Angular?

I am trying to automate UI for a site designed in Angular and when I inspect the browser (Chrome) with UISpy.exe, I find that certain controls do not exist in the tree at all, even though I can see ...
0
votes
2answers
128 views

The relative xpath for the 2nd button of two identical buttons - selenium

i need to identify the relative xpath for the 2nd button highlighted in the image Can someone help me //*contains(@class,'fa fa-clock-o') I used this. It identifies the first button again.
4
votes
3answers
5k views

Unable to launch uiautomatorviewer in mac os high sierra

While clicking on UI-automatorviewer I'm getting below error: /Users/XXXX/Library/Android/sdk/tools/bin/uiautomatorviewer ; exit; -Djava.ext.dirs=/Users/bigdaddy/Library/Android/sdk/tools/lib/x86_64:/...
8
votes
0answers
406 views

Error: Unable to find window while the window is already displayed in LDTP

I'm using LDTP to write a GUI test case script in python. I'm running the script in a virtual machine by nosetests. And I get a block with the error of unable to find window X, while window X is ...
1
vote
2answers
73 views

What is the best way/tool to share automated tests with non-technical stakeholders?

I've been tasked with finding a tool/solution to present our automated python test cases to other stakeholders in the business (I won't write actual python for time-saving purposes). Our tests are ...
0
votes
2answers
87 views

I have a dynamic xpath which is based on 4 values, if I am using OR condition the xpath looks huge, any other way to handle this?

_OPTION_1 = "Average" _OPTION_2 = "M" _OPTION_3 = "Casual" _OPTION_4 = "D" _WIDTH_VALUE_XPATH = f"//mat-option/span[contains(text(),'{...
0
votes
0answers
39 views

How to assign defined keyword as value of variable in Robot Framework? How to run a Variable as Keyword?

I'm currently using Robot Framework in creating ui automation for out project. And I woud like to know how to assign defined keyword as variable value and how to run variable as keyword?
1
vote
1answer
282 views

How to verify the page load opened in a new tab with a redirection?

I am testing a website that redirects the user to another website for buying stuff. Once I click on the Buy Now button a new browser tab opens and another website is launched displaying the product. ...
8
votes
2answers
917 views

How to interact with the radio button if isDisplayed, isEnables are false

Scenario: I am automating a feature where I need to click on the radio button but after many attempts, it didn't work. So I checked with isDisplayed, isEnabled and isSelected. Upon execution it was ...
1
vote
2answers
416 views

How to download files in folder other then the download folder using Protractor?

Using the following configuration, files are always saved in the download folder instead of the folder set for default_directory. 'capabilities': { 'browserName': 'chrome', 'chromeOptions': { ...
5
votes
3answers
1k views

Automating Developer Tools?

How can we automate developer tools particularly the networks section using Selenium? I need the preview section data of a service call to be logged while using automation. Is it possible? If so, ...
0
votes
0answers
45 views

How can I identify each text box without any label using Sikuli GUI automation?

Anyone please help me to solve this, i using the latest Sikuli. I have read the documentation but yet I still stuck with this. I want to automate this screen (Oracle Form), I capture the image but ...
2
votes
9answers
486 views

Tools for automating UI testing for web

Recently I got a task to find a tool that can be used to test web UI. I found Selenium IDE and also used to it. But the problem is that I have to test on Chrome and IE as well. I tried Selenium ...
2
votes
1answer
83 views

App Elements not rendering/inspect in IOS using appium and Xcui Automation testing

Currently working in a automation project. Element tag was not rendered. though i check some random element, I'm getting the message of element is not intractable. But in Ipad I can see the input text ...
3
votes
0answers
188 views

When and where does Intern.js opens browser and how to open a new browser by using intern script

I'm trying my hands at intern.js to automate my UI test. And I want to some test to run on a separate browser, i.e open new browser run test run test close browser and so on but I'm unable to figure ...
0
votes
1answer
2k views

Unable to fill the card details for Payments using Selenium at the merchant's checkout page

I have just started learning Selenium web automation tool and wanted to auto-fill the card details on the merchant's Payment Page but unable to do so using Selenium. Below are the things which I tried....
3
votes
0answers
183 views

Issue with multiple tabs on WPF application using CodedUI

I am working on creating automated test cases for a WPF application using CodedUI. This application contains multiple modules like M1, M2, M3 etc. and I can open these modules from the menu item links....
8
votes
3answers
2k views

What to look for in code reviews / pull requests?

Are there any standard set of things that one should look for during Code Reviews / Pull Requests ? Are there also particular ones for automation vs application code and/or for UI automation (using ...
0
votes
3answers
101 views

Assertion on static value or calculated one

This may be more of a theoretical question than a practical one, but I'd like to know the community's opinion. Some context: On some integration UI test, in which we are testing that a field ...
1
vote
1answer
530 views

Sikuli verification/assertion text image

It is possible to verify the text in image using sikuil plugin with java running on eclipse? I'm testing a scenario where i double click on a saved notepad, i should able to verify that the notepad ...
1
vote
3answers
847 views

Reusing test code and test files organization in Testcafe

I'm having a hard time figuring out how to organize my test code, i.e. test cases, into suites and runs. On the one hand, tests should, by definition, be independent of each other, that's why I, ...
5
votes
4answers
2k views

What to ask programmers before automating with Selenium

What points should I discuss with frontend programmers when preparing a product on which, as a tester, I will use Selenium to automate? I am referring to things like no dynamic ids for elements etc. ...
19
votes
4answers
22k views

Moving from Selenium to Protractor

I have been using Selenium/Java/Maven for functional automation testing in my project. But since angular is getting a lot of popularity, the development team has started using it for the development ...
2
votes
1answer
186 views

How to make selenium to interact with Microstrategy?

I have to launch the MSTR page on the new tab, by clicking on the Report Details Web Element. I could not find the Inspect option on the right click menu that I want to click on the mstr page when I ...
0
votes
2answers
111 views

Need Some Help in implementing a logic for automating a web element using Selenium

Here is the html I am working on, the concept is to loop through the table and fetch all the td values. And based on the first td value, fetch the second td with tag strong inside the td tag e.g: I ...
4
votes
2answers
559 views

Is it possible to automate tests on an embedded WebKit browser on Mac OS X?

Is it possible to automate the tests on a WebKit/WebView browser that is embedded in a Mac OS X desktop application, preferably using Selenium or some Mac-based tool like AppleScript or ...
-1
votes
1answer
41 views

Is there any course available online on designing ui automation framework using Selenium and Java?

Is there any good course available online that explains designing UI automation framework using Selenium and Java, integrating logging, reporting, etc. ? Maybe also talk about some best practices. ...
-1
votes
1answer
34 views

We are using HCL OneTest UI to do the Web Automation. Trying to read and write data through MS Excel, but not sure how to do this

Is there a way to integrate HCL OneTest UI to read from and write to MS Excel. I know apache poi libs provide the ability to do so though I am not sure how it will work with HCL OneTest UI.
1
vote
0answers
400 views

Specflow CodedUI Generator Plugin not generating feature files

Okay. So here is where I am at. I am using Specflow 2.2.0 to pair automated unit testing with our CodedUI testing effort. I am developing a plugin to add the CodedUI Test attribute to the Specflow ...
0
votes
1answer
81 views

Using both espresso and uiautomator and test is failing on Firebase, but not on AS emulator

I have the following piece of code which is: click a toggle from Firefox app the toggle opens the Default apps menu from System settings I open the browser list, pick my browser and return to the ...
15
votes
4answers
2k views

Test strategy to bring automated tests from UI to lower(API/Unit) layers?

Background/Problem Statement: Recently I came across a project team, which is having thousands of UI automated tests covering all kind of manual tests including positive, negative etc., and obviously ...
1
vote
1answer
141 views

Installation automation

I would like to test software installation(on windows) after each release. Since installer doesn't support silent mode i wonder if there is one good aproach that can minimize list of used tools and ...
7
votes
6answers
27k views

Appium: How to find installed app's package name and its main Activity in Appium?

For mobile application automation I am using appium and in that following things are mandatory: WebDriver wd; File app=new File("Path\\to\\WhatsApp.apk"); DesiredCapabilities dc=new ...
8
votes
5answers
265 views

What are the tools that we can use to automate, before completion of the development?

I'm kind of new to software automation and I'm doing UI automation by using selenium webdriver. I have heard that there are some tools, that can automate a system before we get the UI of the system ...
0
votes
1answer
125 views

Tableau UI automation

Selenium does not recognize webelements of Tableau. Is there any tool which is successful for UI automation of Tableau ?
1
vote
3answers
6k views

Type mismatch: cannot convert from ChromeDriver to WebDriver

I am getting the following Exception: Exception in thread "main" java.lang.Error: Unresolved compilation problems: Type mismatch: cannot convert from ChromeDriver to WebDriver The method get(...
1
vote
0answers
233 views

How to automate Handsontable using Selenium WebDriver (Java)

I want to automate the Handontable using Selenium WebDriver using Java. Basically, I want to enter data in the handontable using selenium(Java). Is there any way available to enter data in the table. ...
-2
votes
1answer
59 views

Automation Testing using selenium webDriver on a javaScript based application

I am having a JavaScript-based application to automate using Selenium WebDriver. Can I automate a Javascript based application using Java with Selenium WebDriver OR do I have to use protractor (...
0
votes
1answer
97 views

Odd behavior noticed during UI tests with Selenium

I want to ask you about the odd behavior I noticed when running multiple tests, using Visual studio, Selenium web-driver and Chrome browser. I have all the tests written as follows: sign in to the ...
0
votes
0answers
240 views

Looking for a java library automate third party Java-Swing application without access to the source code

I'm looking to automate a third party java swing application that my company uses. I don't have access to it's source code so a lot of the swing testing libraries like Assert-J won't work. I'd like to ...
1
vote
1answer
51 views

Having trouble automating Android testing with Appium

I'm trying to automate Android testing using Appium. What I want to do is like: My Test Suite: Test case 1: Starting from Activity A Do something Test case 2: Starting from Activity A Do something ...
1
vote
1answer
228 views

Trying to highlight elements on a page one by one using Selenium

I'm trying to highlight all the elements of a page, using Selenium to inject some JavaScript and CSS. However when I run my test i'm only getting back errors complaining that it can't find the ...