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
0 votes
1 answer
34 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" ...
user avatar
0 votes
0 answers
133 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. ...
user avatar
0 votes
0 answers
26 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, ...
user avatar
-1 votes
1 answer
23 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" ...
user avatar
0 votes
0 answers
26 views

Unable to determine element locating strategy for -android uiautomator

I have a method which works perfectly locally, but when I launch it on server I’ve got an error: org.openqa.selenium.InvalidArgumentException: Unable to determine element locating strategy for -...
user avatar
0 votes
0 answers
26 views

How to pass Selenium By in UIselector

I wrote script which is scrolling mobile app view and selects element by resourceId and text. Simple text select doesn't work for me. public void tapOnElementById(String resourceId, String visibleText)...
user avatar
-1 votes
1 answer
41 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 ...
user avatar
0 votes
1 answer
60 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 ...
user avatar
0 votes
0 answers
53 views

How do I validate font size on native app?

I have to validate font size on my android and iOS app. Is there a way to do it? like third party app or something?
user avatar
  • 1
1 vote
1 answer
89 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 ...
user avatar
0 votes
1 answer
113 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 ...
user avatar
0 votes
0 answers
57 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 ...
user avatar
2 votes
2 answers
273 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 ...
user avatar
1 vote
2 answers
82 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 ...
user avatar
0 votes
2 answers
410 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.
user avatar
  • 11
0 votes
2 answers
219 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(),'{...
user avatar
0 votes
1 answer
123 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?
user avatar
1 vote
1 answer
1k 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. ...
user avatar
1 vote
2 answers
640 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': { ...
user avatar
4 votes
1 answer
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....
user avatar
  • 41
2 votes
1 answer
104 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 ...
user avatar
  • 21
0 votes
1 answer
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....
user avatar
0 votes
3 answers
108 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 ...
user avatar
  • 101
2 votes
1 answer
221 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 ...
user avatar
1 vote
1 answer
753 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 ...
user avatar
-1 votes
1 answer
43 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. ...
user avatar
  • 99
-1 votes
1 answer
38 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.
user avatar
5 votes
3 answers
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, ...
user avatar
0 votes
1 answer
113 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 ...
user avatar
1 vote
1 answer
165 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 ...
user avatar
  • 121
1 vote
0 answers
265 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. ...
user avatar
-2 votes
1 answer
61 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 (...
user avatar
1 vote
3 answers
988 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, ...
user avatar
0 votes
1 answer
104 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 ...
user avatar
  • 463
1 vote
0 answers
283 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 ...
user avatar
1 vote
1 answer
57 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 ...
user avatar
  • 13
1 vote
1 answer
270 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 ...
user avatar
  • 365
1 vote
1 answer
151 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 ...
user avatar
4 votes
3 answers
124 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 ...
user avatar
2 votes
1 answer
25 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? ......
user avatar
  • 487
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 ...
user avatar
  • 21
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....
user avatar
1 vote
2 answers
82 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 ...
user avatar
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 ...
user avatar
0 votes
1 answer
157 views

Tableau UI automation

Selenium does not recognize webelements of Tableau. Is there any tool which is successful for UI automation of Tableau ?
user avatar
  • 175
1 vote
3 answers
8k 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(...
user avatar
  • 11
4 votes
3 answers
150 views

How to provide more value from test automation to Dev/entire team?

Working primarily as UI test automation engineer, what further steps one should take to be more valuable & useful to the Dev team. How one take automation to a level where it becomes an handy ...
user avatar
0 votes
2 answers
212 views

How should I design test automation project by including UI testing, DB testing and API testing components?

We are planning on revamp for an old system. Also previously we haven't done any test automation tasks too. So my plan is to start the automation project earlier for the existing system and give a ...
user avatar
  • 1,133
2 votes
3 answers
130 views

Which approach should be applied when automating stories? What are the approaches or methodologies for it?

Here is what approach means to me while automating any story Normal approach should we automate only functional flow not caring about the UI things like font of text, font type of text, color of ...
user avatar
  • 123
3 votes
1 answer
973 views

UI automation to automate logging in to remote machine

I am trying to automate typing Win + R, and entering mstsc. This should open a Remote Desktop Protocol (RDP) window. In the RDP window, I have to enter a host name. All these should be done using UI ...
user avatar
  • 51