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
18
votes
4answers
20k 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 ...
14
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 ...
13
votes
9answers
837 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 ...
8
votes
5answers
255 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 ...
8
votes
0answers
360 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 ...
7
votes
3answers
1k 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 ...
7
votes
6answers
22k 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 ...
6
votes
6answers
195 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 ...
6
votes
7answers
9k 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?
6
votes
6answers
242 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 ...
5
votes
4answers
2k 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 ...
5
votes
3answers
448 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, ...
5
votes
4answers
1k 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. ...
5
votes
2answers
17k 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 ...
5
votes
3answers
86 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, ...
5
votes
1answer
410 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 ...
5
votes
6answers
15k 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("...
4
votes
3answers
277 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 ...
4
votes
2answers
2k 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 ...
4
votes
3answers
104 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 ...
4
votes
2answers
497 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 ...
3
votes
7answers
3k 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 ...
3
votes
4answers
1k 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.
3
votes
3answers
138 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 ...
3
votes
2answers
3k 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 ...
3
votes
2answers
2k 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:/...
3
votes
3answers
371 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 ...
3
votes
1answer
396 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 ...
3
votes
2answers
184 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 ...
3
votes
1answer
254 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 ...
3
votes
8answers
255 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 ...
3
votes
2answers
446 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 radiio button but after many attempts it didn't work. So I checked with isDisplayed, isEnabled and isSelected.Upon execution it was ...
3
votes
0answers
156 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 separate browser ,i.e open new browser run test run test close browser and so on but I'm unable to ...
2
votes
3answers
115 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 ...
2
votes
3answers
915 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 ...
2
votes
4answers
2k 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 ...
2
votes
1answer
24 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? ......
2
votes
2answers
89 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 ...
2
votes
2answers
969 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 ...
2
votes
2answers
46 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 ...
2
votes
1answer
87 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 ...
2
votes
1answer
30 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 ...
2
votes
1answer
905 views

Is it possible to Automate web application inside Remote Desktop?

We are having a scenario like below: Login to the application from local machine Create scenarios inside remote desktop and the url to open RDP will be available in browser which is opened in local. ...
2
votes
1answer
481 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.
2
votes
1answer
7k views

Appium: How to tap or click at a X/Y co-ordinates

My screen size is (800, 1280) I have determained the screen size using: Dimension size = driver.manage().window().getSize(); Now I want to tab at a given coordinates of the screen so can anyone ...
2
votes
2answers
138 views

What solutions/tools are available to build a WiFi Test lab and allows to remotely control devices (that have the apps under test) connected via WiFi

Test Requirement: Perform Testing of Apps on Mobile devices (Platforms: iOS, Android, Windows), IETVs, Set Top Boxes connected via Home Wi-Fi networks (multi vendor cable modem hardwares). Problem ...
2
votes
2answers
1k 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 ...
2
votes
0answers
177 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....
1
vote
8answers
441 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 ...
1
vote
3answers
92 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, ...