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
0
answers
16
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
votes
2
answers
30
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
209
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
100
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
votes
2
answers
48
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....
1
vote
4
answers
165
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
119
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 ...
0
votes
1
answer
45
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) ...
0
votes
1
answer
52
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" ...
0
votes
2
answers
3k
views
how to load chrome profile with Selenium
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. ...
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
113
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" ...
-1
votes
1
answer
49
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 ...
2
votes
2
answers
112
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 ...
1
vote
1
answer
228
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
1
answer
439
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 ...
2
votes
2
answers
958
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 ...
1
vote
2
answers
108
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
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.
0
votes
2
answers
471
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
2
answers
963
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?
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.
...
1
vote
2
answers
899
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': {
...
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....
2
votes
1
answer
158
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 ...
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....
0
votes
3
answers
126
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 ...
2
votes
1
answer
335
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 ...
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
votes
1
answer
46
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.
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, ...
0
votes
1
answer
162
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 ...
1
vote
1
answer
187
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 ...
1
vote
0
answers
353
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
1
answer
66
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 (...
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, ...
0
votes
1
answer
129
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 ...
1
vote
0
answers
362
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
1
answer
61
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
1
answer
451
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 ...
1
vote
1
answer
164
views
Tool to track the testing pyramid state
Is there any tool for tracking testing pyramid state which visualises each stage of pyramid and where I can track disproportions of that?
p.s. I did a quick search and as I can see there are a plenty ...
4
votes
3
answers
144
views
How to best prepare for automating e2e tests?
I've started a new career at a company which has not used test automation before and whole and manual QA level is very basic.
Before making any e2e tests I'd like to know:
What exactly should I have ...
2
votes
1
answer
30
views
How to choose AWS instance type
We have desktop application written in Delphi and database SQLServer.
We use testcomplete to test each release.
now we are going to move those to AWS cloud.
How do I select proper instance type?
......
1
vote
1
answer
1k
views
How to split a variable in Selenium IDE?
I am quite new to Selenium IDE. I want to split an error message and extract the first word of the error message. I have used the following commands as in the image.
Following are the results of the ...
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....
1
vote
2
answers
91
views
In a Webdriver UI test, do you have to check for the existence of every element you use?
I'm working on my first Selenium/Webdriver tests, and I have a rather basic question.
I was thinking of adding a login helper method, since it's going to be a rather basic feature of every test. I ...
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 ...
0
votes
1
answer
210
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
3
answers
10k
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(...