Questions tagged [automated-testing]

Use for questions involving problems with automated tests. Relevant for designing test automation, debugging test automation, automation tooling questions, and questions about when it is appropriate to automate. Questions regarding specific tools should tag those tools as well.

Filter by
Sorted by
Tagged with
78 votes
14 answers
414k views

How to download a file using Selenium's WebDriver?

Basically I want to at least check that a download-able file exists / download link works and preferably get stuff like the file size too. Here's an example: link = self.browser....
user avatar
  • 2,265
59 votes
18 answers
10k views

What are some tools for testing Mobile web apps?

I'm thinking along the lines of a Firebug for the iPhone/iPad/Android/BB that can truly give more insight on the markup/scripts. Even when testing on the simulator/device, it's hard to truly simulate ...
51 votes
12 answers
3k views

Building "slow to break" regression tests

I need to build a lot of regression tests for our product at work and I plan on using Selenium. I am concerned about building tests that will become quickly outdated and broken based on the fast pace ...
user avatar
48 votes
15 answers
15k views

Can a Manual Tester survive in software industry without learning Automation?

I mean to say is that if I dislike coding and don't understand complex code, then will I be able to survive as a QA. Or do I need to learn test automation to grow position and pay in my career, as I ...
user avatar
  • 481
48 votes
18 answers
54k views

Compare screenshots of rendered web pages

In my team, we use Selenium for automation of functional testing. We also do a lot of manual regression testing to make sure the appearance of the rendered web pages is ok. I would like to develop a ...
user avatar
  • 583
47 votes
11 answers
3k views

Should programmers run automated tests written by QA?

Perhaps programmers have their own unit tests, perhaps as the result of doing Test-Driven Development. They run these tests very often; perhaps every few minutes, but at least a few times each day. ...
user avatar
  • 2,433
41 votes
4 answers
10k views

Are Selenium functional tests reliable enough to be worthwhile?

I'm finding that regardless of how solid my tests scripts are, I still have tests that fail (falsely), even though they worked just fine before. I'm not talking about if markup changes (although that ...
user avatar
39 votes
10 answers
4k views

What is meant by "Automated tests don't find new bugs"?

As I understand it, this sentence means that automated tests don't find new bugs in existing code (though they might catch a new bug in new code that breaks old code). Is this correct? Or is this ...
user avatar
  • 5,400
38 votes
11 answers
19k views

Why should a software QA engineer need to learn JavaScript?

I've seen in lot of job advertisements, companies asking for JavaScript knowledge for QA. So my questions are: What is the use of JavaScript for QA? If JavaScript is used for testing, what kind of ...
user avatar
  • 1,133
36 votes
16 answers
45k views

What programming languages are good for novice testers to learn?

I'm looking for a programming language to recommend to a friend considering teaching herself software testing. I have a friend who is interested in learning software testing, and I believe strongly ...
user avatar
  • 5,400
33 votes
16 answers
23k views

Can every test be done by automation?

Can every test be done by automation? Or is there anything that cannot be done by automation?
user avatar
  • 455
33 votes
12 answers
8k views

How to explain the concept of test automation to a team that only knows manual testing?

I have been working as a QA in our 9 developer team for about a year. Had lots of 'firsts' within the year between personal and professional life. I replaced a QA who only did manual testing and ...
user avatar
  • 1,347
32 votes
13 answers
162k views

How to fill CAPTCHA using Test automation?

How can I automate "Enter CAPTCHA" using Selenium WebDriver?
user avatar
32 votes
8 answers
14k views

How can Internet Explorer 5 be emulated in 2020?

Details One of our customers uses a rather old software solution, and this is still based (yes, it's unbelievable!) on Internet Explorer 5, and the customer still uses IE 11 in compatibility mode. ...
user avatar
  • 1,173
32 votes
15 answers
13k views

What's the difference between a good test and a bad test?

Please don't burn me for this simple question. I know, it may be very simple but for me it's complicated. "A Good Test" or "A Bad Test" - every tester comes across these two terms. Sometimes it ...
user avatar
32 votes
11 answers
7k views

Why do many jobs describe automation but then require extensive manual testing?

The question somewhat stems from frustration after seeing recent trends in software testing jobs: In Job Description, automation skills are given utmost priority. All the interview rounds will be ...
user avatar
32 votes
7 answers
21k views

What makes a good selenium locator?

When automating UI tests with Selenium, it is often not absolutely clear what method and what locator to use to locate an element. Some locators are less reliable, less readable than others. And, ...
user avatar
  • 11.4k
29 votes
7 answers
3k views

Has automated UI regression testing helped you in finding critical defects in system?

I have heard a lot of "abuse" about automated testing, especially UI bases automated tests. As UI is very fragile and prone to change (especially in agile shops). Personally my automated tests have ...
user avatar
  • 3,427
29 votes
6 answers
152k views

How do I work with dropdowns in Selenium Webdriver?

This is a canonical question, intended to provide a comprehensive answer to many related questions. I understand the basics of working with Selenium Webdriver; I can navigate to pages, click buttons, ...
user avatar
  • 3,344
29 votes
7 answers
131k views

Selenium: reuse existing browser session, instead of opening new windows?

This has been asked a million times on the web, but there's no clear cut answer. I tried "-browserSessionReuse" today without any luck; my tests keep spawning new browser windows. X:\QA\Automation\...
user avatar
  • 2,265
28 votes
16 answers
44k views

Under what circumstances is Sikuli better for test automation than Selenium or Watir?

The Sikuli website says: Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images (screenshots). Under what circumstances is Sikuli a better technology for ...
user avatar
  • 22.9k
26 votes
6 answers
104k views

How to handle dynamic changing ID's In XPath?

How to Handle Dynamic Changing IDs In XPath? for example : //div[@id='post-body-3647323225296998740']/div[1]/form[1]/input[1] In this xpath id "3647323225296998740" is changing every time when ...
user avatar
  • 6,749
26 votes
5 answers
50k views

Open source tools for automation of Java GUI application testing

The testing tools (or tools that could be used in testing purposes) for testing Java GUI application I know are: Jemmy - jemmy library contains methods to reproduce all user actions which can be ...
user avatar
25 votes
7 answers
9k views

Mobile automation: Boss wants 100% coverage. How feasible is that?

Just started a new mobile automation role using react native for iOS. I'm not new to automation, but I am new to React Native (with detox and jest). The learning curve is slow, but we are getting ...
user avatar
  • 419
25 votes
8 answers
1k views

How to deal with automation naysayers?

In my team, there are a number of experienced QA people. I work mostly on developing tools to make the QA process easier for these guys, such as developing test automation. The uptake has been slow, ...
user avatar
25 votes
4 answers
81k views

How to check a button is disabled using Cypress

<button _ngcontent-c21="" color="primary" mat-button="" class="mat-button mat-primary" ng-reflect-disabled="true" ng-reflect-color="primary" disabled=""><span class="mat-button-wrapper"> ...
user avatar
  • 847
24 votes
3 answers
3k views

What's the recommended practice for separating unit tests from integration tests for automated testing?

On a project I've been working on, we've been steadily increasing the code coverage through tests. Some of these tests were done as integration tests and some as unit tests. The integration tests can ...
user avatar
24 votes
6 answers
5k views

Is software testing different when we are dealing with game development?

I was reading this paper about the differences between software development in general and game development and the authors made some good points regarding software testing, pointing out, for instance,...
user avatar
24 votes
3 answers
2k views

Good resources for building a QA team

Our corporation has, up until this point, largely lacked a 'quality mentality' of any kind. From no testers, they went to two testers - but 5 or 6 product teams still rely on a mix of developer and ...
user avatar
  • 5,400
23 votes
16 answers
6k views

Manual testing is better than Automation testing. Is that true?

With manual testing, you don't need to buy software automation tools or write scripts. Automated tests are robotic and don’t necessarily act as a real would user. On the other hand, manual testing ...
user avatar
23 votes
13 answers
35k views

What is a good website to hack around using Selenium?

I want to learn Selenium, but I don't know what to code. Sure, I can throw Google some queries, I can fill out some forms, press buttons, find divs and links, etc. But I think this stuff is pretty ...
user avatar
23 votes
9 answers
1k views

Can someone be a good automated tester and be terrible programmer?

I'm currently working as an automated tester. Mostly I do GUI testing in SilkTest, which I like and think I'm fairly good at. Recently, I've been assigned a COM-testing project for our application's ...
user avatar
23 votes
9 answers
4k views

Should application and automated test languages match?

If an application is written in a certain language, e.g. Python, Ruby, Clojure, etc. should Quality Engineers use the same language to write the tests? Should this be a decision that we can apply ...
user avatar
23 votes
7 answers
3k views

Does automating your manual tests give you good automated tests?

I notice that the tag wiki for the "automated testing" tag contains the following sentence: "Commonly, test automation involves automating a manual process already in place that uses a formalized ...
user avatar
  • 5,115
23 votes
10 answers
64k views

Chrome driver 2.28: "Chrome is being controlled by automated test software" notification. Can it be removed?

I have just updated my project with the latest chrome driver (2.28). When I run the browser through the driver, a yellow notification pops under the URL bar, saying "Chrome is being controlled by ...
user avatar
  • 231
23 votes
7 answers
4k views

Are your UI automated tests dependent or ordered?

While writing UI automated tests, I've come across situations where test dependency looked like a must. For example, say I have two tests, where the second is dependent on the success of the first. I ...
user avatar
  • 3,427
23 votes
13 answers
7k views

Test Result Management and Reporting tool

I'm looking for a some sort of management/reporting tool that collects the results of tests, stores them for reporting, then lets users generate reports based on those tests. We have numerous test ...
user avatar
22 votes
8 answers
4k views

Is it realistic to try to hire someone who is a developer and a tester?

I've been trying to hire a tester for a few months without success. I really want to find someone who is both a tester and a developer, not because I want them to do two roles, but because the kind of ...
user avatar
  • 323
22 votes
17 answers
4k views

Is it important to know manual testing before learning test automation?

Is it important to know manual testing before starting to learn how to do test automation? Test automation is a part of testing activity, so obviously you need to be aware of testing concepts and ...
user avatar
  • 6,749
22 votes
5 answers
2k views

What additional benefits does an software engineer bring to a QA position

I have noticed in the last few years that employers are now looking for QA/Developers (QA engineers that have been skilled developers). I would like to know what others believe are the actually ...
user avatar
22 votes
7 answers
3k views

Transition from all manual testing to automated testing

Right now my company only does manual testing. We've talked about starting some automated testing for a while but it hasn't taken off at all. It seems like automated testing would be a good way to ...
user avatar
22 votes
6 answers
9k views

How to deal with flaky tests that have intermittent failures?

Having flaky tests that sometimes fail and sometimes pass is very frustrating: there is no single reason each of the flaky tests fail the failures don't seem to happen to real users using the ...
user avatar
  • 11.4k
21 votes
4 answers
5k views

Tools for Python software testing

Similar to Tools for Server application testing, I'm looking for Python-related testing tools/software (as Python is my most frequently-used language).
21 votes
9 answers
59k views

What are some good open source UI Testing tools for testing Windows GUI?

I need a list of some good tools which are open source and meant for automating the UI testing of Windows GUI. Any help will certainly be appreciated.
user avatar
21 votes
4 answers
63k views

How to Implement Page Object and Page Factory Pattern in Selenium Webdriver?

I am a beginner in learning selenium Webdriver. I am not able to understand how page object and factory models works and how it can be beneficial? Kindly help me explain it with detailed explanation....
user avatar
  • 213
20 votes
5 answers
4k views

Is it good practice to write unit tests when features are changed frequently?

Should I write the unit test cases for a frequently changing product? For example: I start the project with Phase 1 (say it's 6 months long) and I know there will be a phase 2 (3-4 months or more) ...
user avatar
  • 301
20 votes
12 answers
12k views

What are good guidelines to determine when to automate a test?

When it comes to test automation, I use a very arbitrary method based on experience that 80% of all tests should be automated. This has worked well in practice, but is based more on "voodo" than ...
user avatar
  • 9,670
20 votes
5 answers
10k views

How does one get started with web test automation using Selenium?

So I've been testing web based analytical software now for the past 4 years or so with mostly manual techniques. But for 2015, I've set myself the goal of getting setup and start writing automated ...
user avatar
  • 365
20 votes
7 answers
2k views

In agile (Scrum) practices, where do I start with making QA (testing) more efficient if the team is transitioning from waterfall to agile?

My team has recently transitioned from the traditional waterfall method to practising Scrum. Being the QA lead, really the only tester on a small team, how can I get the process more aligned with ...
user avatar
  • 535
20 votes
4 answers
10k views

Screen Play vs Page Object pattern

I've recently stumbled upon Senenity/JS framework which advocates the Screen Play pattern, which was proposed as a better alternative to Page Objects. What are the key fundamental differences between ...
user avatar
  • 11.4k

1
2 3 4 5
71