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
16
votes
4answers
13k 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 ...
13
votes
9answers
798 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 ...
13
votes
3answers
1k 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 ...
8
votes
0answers
315 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 block with the error of unable to find window X ,while window X is ...
7
votes
5answers
231 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 ...
6
votes
6answers
170 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
7k 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
5answers
20k 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
137 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
2answers
856 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 ...
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
84 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
4answers
999 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
1answer
367 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 ...
4
votes
3answers
266 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
1k 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
2answers
12k 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 ...
4
votes
6answers
10k 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("...
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
134 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
2k 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
3answers
257 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
152 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
1answer
170 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
204 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
0answers
125 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 ...
3
votes
2answers
436 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 ...
2
votes
3answers
108 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
792 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
2answers
887 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:/...
2
votes
4answers
1k 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
2answers
82 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
517 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
43 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
73 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
139 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 ...
2
votes
1answer
656 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
468 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
6k 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
127 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
1answer
145 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 ...
2
votes
2answers
746 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
158 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
3answers
390 views

How to apply POM to single window application using CodedUI

How can one apply Window Object Model to a WPF application (or POM for web application) that actually doesn't contain different windows? Actually, I'm working on automating WPF application using ...
1
vote
4answers
57 views

How do you initially script/debug the long automated end to end UI tests?

Background: In the long end to end UI automated tests, one needs to execute multiple times during initial scripting/debugging and later for maintenance/fixing which takes a lot of time as a test might ...
1
vote
1answer
1k views

CodedUI vs. UI Automation

Does CodedUI uses the Microsoft UI Automation for finding WPF controls and taking any action (like click or adding value to text box)? If not what is the difference between both. The reason why I ...
1
vote
1answer
692 views

Alternative to Ranorex that integrates in Visual Studio

Ranorex has its own IDE, Ranorex Studio. It seems that Ranorex does not integrate into Visual Studio very well. The only available Ranorex blog entry describes the bare minimum of compiling a Ranorex ...
1
vote
1answer
109 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 ...
1
vote
2answers
60 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 ...