Questions tagged [uiautomation]
Tag for general questions about automation related to testing performed by interacting with the software via the graphical user interface.
129
questions
0
votes
2
answers
3k
views
How to load chrome profile with Selenium correctly?
So I am trying to write a test in which the first step is logging in, but it is denying me access as it detected automation tools because the javascript has not been enabled and there is no profile. ...
1
vote
1
answer
251
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
2
answers
479
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
1
answer
90
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 ...
1
vote
1
answer
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 ...
4
votes
1
answer
3k
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....
0
votes
2
answers
1k
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 for creating UI automation for our project. And I would like to know how to assign defined keyword as a variable value and how to run variable as keyword?
0
votes
1
answer
56
views
Does Test Complete (SmartBear) allows to write unnitest classes in script steps?
My query is if I can write scripts inside TestComplete using unittest? (Don`t get me wrong. Not import unittest/pytest test suite. WRITE tests in Scripts 'directory')
As per TC (TestComplete) ...
9
votes
2
answers
464
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 ...
0
votes
2
answers
1k
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....
0
votes
0
answers
18
views
Seeking Suggestions for Automating a Smart TV App in a CI/CD Pipeline with Broad Device Coverage
We have a client who wishes to automate their Smart TV app within a CI/CD pipeline and aims to cover as many devices as possible. Currently, I am the sole QA on this project and am exploring setup ...
1
vote
2
answers
1k
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 ...
-1
votes
2
answers
33
views
What tool to use for ui testing for teamcenter like windows apps?
I was trying to conduct ui testing on teamcenter and similar windows apps. I found selenium but it only works in the browser. What is the best way to test the UI for an app which we do not have the ...
1
vote
2
answers
356
views
Is it recommended to use Page object model for cypress E2E test? if not what is the suggested method to adopt
I am new for writing e2e UI test using cypress. But I am uncertain if it's good practice to use page object model, when I repeatedly need to use same elements in different test cases. Does "Aap ...
0
votes
5
answers
103
views
Choosing Testing tools against multiple programming languages
I have a few questions in regards to setting up/deciding automation frameworks against microservice architecture OR codebases that span various programming languages.
Specifically in this "...
1
vote
4
answers
173
views
Selenium Test cases for UI look
I have a test case, where I need to verify:
a user selects any of the options.
the text is not going out of the layout and displays complete
readability to the user.
As a result, the UI look and ...
1
vote
2
answers
126
views
Test users password- static or dynamic
During our e2e testing, 100+ test users are created on our application. Workflow goes like this:
1. Generating a random password with faker library
2. Storing it in a variable
3. Using the variable to ...
-1
votes
2
answers
52
views
Suitable free/open-source automated tests framework(s) (UI / API / mobile)
Context
Again, the 1 million dollar question... I have programming background skills, and about 6 months ago accepted a new role as the main responsible for QA testing at my company's development team....
3
votes
2
answers
5k
views
Testing the Downloading/Uploading of files with Selenium IDE/WebDriver/Other?
In a series of applications my team is building we would like to test our import and export functionality, which requires the respective upload and download to be automated.
Export functionality is ...
2
votes
2
answers
114
views
Automated testing framework that can switch to an open desktop application
I have a desktop app I am testing that is launched through an API (using JavaScript). I am able to launch the app by making a few API calls, but I need something that can shift the context to the open ...
0
votes
1
answer
64
views
How to assert whether the file has been uploaded or not?
<div class="form-fill-file">
<input data-val="true" data-val-requiredif="Please upload invoice file." id="Upload_File" name="Upload.File" ...
-1
votes
1
answer
50
views
Is it must to learn RPA tools apart from web automation tools like Selenium?
I see many testers learning RPA tools like UI Path etc apart from Selenium, UFT etc.
Is it necessary for a Test Automation engineer to learn about process Automation tools? Or is just Automation of ...
0
votes
0
answers
50
views
Not able to see web element when I navigate to page using Automation
I have a web page which displays a new contact creation button. When I try to navigate to a page through automation, I can not see that button. When I login to site manually and navigate to same page, ...
-1
votes
1
answer
122
views
How to return more than one isDisplayed results inside a single method?
I am trying to create a single method to return some boolean values that check whether some of the elements are visible on a webpage.
In that case, I am getting an "unreachable statement" ...
7
votes
6
answers
30k
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 ...
0
votes
1
answer
3k
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....
2
votes
2
answers
1k
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
2
answers
1k
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.
5
votes
3
answers
6k
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:/...
1
vote
2
answers
111
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
2
answers
498
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(),'{...
1
vote
1
answer
2k
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
2
answers
1k
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
2
answers
907
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
3
answers
2k
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, ...
2
votes
9
answers
507
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
1
answer
159
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
0
answers
208
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 ...
3
votes
0
answers
186
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
3
answers
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
3
answers
129
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
1
answer
1k
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
3
answers
1k
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
4
answers
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
4
answers
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
1
answer
344
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
2
answers
118
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
2
answers
619
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
1
answer
47
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
1
answer
45
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.