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
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 ...
Aalok's user avatar
  • 1,732
15 votes
4 answers
3k 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 ...
Vishal Aggarwal's user avatar
14 votes
9 answers
1k views

Bugs keep reappearing in our GUI software during development. How should this be addressed?

We have a software product has a lot of usability features, and we're constantly changing it. We have issues with things like persisting scroll position which seem to get fixed, but then are broken ...
Brandon Montgomery's user avatar
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 ...
Ziyuan Ma's user avatar
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 ...
Michael Durrant's user avatar
8 votes
5 answers
300 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 ...
ShadowTK's user avatar
  • 587
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 ...
shreya_bhatngr's user avatar
7 votes
6 answers
261 views

Why should we test Web service when web test automation is done?

I'm new to testing. So let me know if I'm asking the question in a wrong way. I'm just curious about Web service and web automation testing. Example : If there is a web service for calculating ...
Syrus's user avatar
  • 1,197
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 ...
pritesh's user avatar
  • 157
6 votes
4 answers
5k views

Is it a good/industry practice to create both UI and API testing projects in one project?

I'm planning on creating a project to begin test automation for software. For this task, I'm considering the following things: UI level testing (with Page Object Model) API testing ...
Syrus's user avatar
  • 1,197
6 votes
2 answers
3k views

How to implement wait using UI Automation

I'm currently creating automated test cases for a WPF application using Microsoft UIAutomation (UIA) framework. I'm able to locate objects/elements using AutomationElement class but sometimes ...
Dhiman's user avatar
  • 4,580
6 votes
2 answers
23k views

how do perform menu list selection in web application using selenium?

I am trying to select/navigate to a menu item in the provided URL. I tried Actions but It was not working. https://enterprise-demo.orangehrmlive.com/auth/login uid/pwd : admin/admin I wanted to ...
SQA_LEARN's user avatar
  • 435
6 votes
7 answers
17k views

How we can verify whether webpage is refreshed or not?

Suppose a webpage has a functionality, it refreshes the whole webpage after a fixed time interval and nothing changes on the webpage. How we can test this with automation?
Jatin khurana's user avatar
6 votes
6 answers
265 views

What are the common ways of testing the UI of a project while being Agile

I'm working at a startup company and feel like they get into a deadlock by testing UI in wrong ways. They are creating a brand new project from scratch with a new UI and this is how they perform ...
Daniel's user avatar
  • 69
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, ...
Vaishnavi's user avatar
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. ...
Pixie's user avatar
  • 234
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:/...
Ankit Kumar's user avatar
5 votes
3 answers
97 views

How to automate tests where the initial conditions vary?

I'm maintaining and testing a web-based timekeeping system written in Java. (It's a small IT shop, so I'm the only person working on it.) Employees use the system to enter the hours they've worked, ...
Wally Hartshorn's user avatar
5 votes
1 answer
497 views

Coded UI not able to recognize menu items

I am using Coded UI for creating functional tests of a WPF application. That application is having a main menu which user needs to click in order to navigate to different screens. Issue is: If I ...
Dhiman's user avatar
  • 4,580
5 votes
6 answers
25k views

How to locate an element which is inside the iframe?

I'm new to automation testing (I'm using TestNG framework and Java language) I'm having trouble in locating an element which is inside iframe. WebElement iframeSwitch= driver.findElement(By.id("...
Gooner4Life's user avatar
4 votes
7 answers
4k views

How should I set up a test environment before automated tests are run?

Most of our apps work against a set of files (files that have to be analyzed, backed up, converted etc.), so before running an automated test, the system running the application needs to be in a state ...
Grezzo's user avatar
  • 141
4 votes
3 answers
157 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 ...
Vishal Aggarwal's user avatar
4 votes
2 answers
4k views

Selenium for angular - How to install and run Selenium for Angular E2E testing?

The question seems to be asked in some other Postings here, but I'am relative new to testing with selenium. I would like to use it for testing an angular app - E2E. I have been reading few postings ...
k.vincent's user avatar
  • 395
4 votes
3 answers
297 views

How can I successfully introduce automated user interface testing to my organization?

Our development teams are good on writing unit tests and also for using the same framework (rspec in our case) for writing integrated tests. There is a strong desire to increase automated UI ...
Michael Durrant's user avatar
4 votes
3 answers
153 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 ...
Orkhan M.'s user avatar
4 votes
1 answer
354 views

AngularJS - automate testing of user interaction with front end

I am working on an application that has been written in AngularJS. I only recently joined this company, so was not involved in the design or writing of the application as it currently stands. The ...
Noble-Surfer's user avatar
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 ...
maxx777's user avatar
  • 141
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....
Noldy's user avatar
  • 41
3 votes
4 answers
2k views

How much SQL knowledge do I need to learn Selenium Testing

I have just started learning Selenium. I'd like to know how much knowledge of SQL I should have in order to be able to learn Selenium.
Sneha 's user avatar
  • 41
3 votes
3 answers
606 views

Windows automation testing to check whether the scores are matching or not

Currently, I'm working in windows based application. I want to do automation testing for my windows application. I start with sikuli tool, but it is just comparing the images. My application is a ...
user avatar
3 votes
2 answers
2k views

Automation Testing Tool Options for Desktop Applications

I'm in the process of researching solutions for desk application testing for a product my company developed. There's no API, so I'm looking for other software solutions. I didn't see any recent ...
rwbyrd's user avatar
  • 133
3 votes
1 answer
1k 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 ...
shruthi's user avatar
  • 51
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 ...
Chris K.'s user avatar
3 votes
8 answers
454 views

Video / Screen Capture based testing tool?

Does anyone know a good piece of software which software engineers / testers / etc can use to do either (1) manual testing or (2) automated testing? It should have the ability to do a screen capture ...
bobmarksie's user avatar
3 votes
2 answers
2k views

Should you add explicit waits for all elements in RobotFramework/Selenium tests or only the ones that fail?

I am learning test automation with Robot framework, using this site for practice: http://automationpractice.com/index.php I know that it is considered a good practice to add waits to make sure the ...
Arthur M.'s user avatar
  • 163
3 votes
1 answer
501 views

Where can I find good resources for learning Robotic Process Automation (RPA)? [closed]

I'm looking for tutorials for learning RPA. I did a lot of google search but couldn't find anything thats useful. Please suggest me some useful tutorials or certifications from where I can learn RPA.
Rajeev Khullar's user avatar
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....
Dhiman's user avatar
  • 4,580
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 ...
CodeBlooded's user avatar
2 votes
3 answers
136 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 ...
Dev's user avatar
  • 133
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 ...
Faisal Mukhtar's user avatar
2 votes
3 answers
2k views

Make code to wait before executing click() command

I have a Java code that populates all the text fields automatically. Before executing click() command for Submit button, I need to enter the Captcha manually. So I would like to make the code to wait ...
Tom J Muthirenthi's user avatar
2 votes
2 answers
998 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 ...
Automation_Padawan's user avatar
2 votes
4 answers
5k views

How to fetch the text values from the dd tag using selenium

I am automating one Project in my organization and came across one issue. I am very new to automation and selenium. Issue that i am facing: not able to capture the text inside the dd tag in the html ...
shreya_bhatngr's user avatar
2 votes
2 answers
227 views

Is there a dancing pony on the screen? (Visual testing)

Motivated by this talk about the accidental unexpected pony dancing on the screen. We currently have a rather rich subset of end-to-end tests for our AngularJS applications. And, we do get a lot of ...
alecxe's user avatar
  • 11.4k
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 ...
slack_overflow's user avatar
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? ......
1234's user avatar
  • 487
2 votes
2 answers
122 views

How can we automate the fields if there are multiple data components are present on UI and we need find inside elements

I am new to selenium. following are some info. Can someone guide me to create xpath and this is the approach we are using to maintain the UI elements unique, so for this code, will selenium help to ...
Nilam Nikam's user avatar
2 votes
2 answers
93 views

Manage UI Tests with each branch

Well, we are currently working on three branches: dev, staging, and master My UI tests are running on continued integration pointing only to the dev branch and to the dev application as well. The ...
Rafael C.'s user avatar
  • 231
2 votes
1 answer
115 views

How can I diagnose and fix set-top box keypress unreliability with stb-tester?

We're using the stb-tester ONE to test our set-top box (STB). We have noticed that sometimes the STB misses some of the IR signals sent from the transmitter (e.g. after several iterations of the same ...
Will Manley's user avatar
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 ...
dhivya N's user avatar