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.

Introduction

Test Automation is the process of writing software act on the application in test. The classic use of test automation is to use a software framework to execute a defined set of automated tests, usually in the form of a regression test suite.

Other common uses of test automation include performance tests, security scans, automation-assisted penetration testing, automated data generation, fuzz testing, and unit testing.

Use on SQA Stack Exchange

The automated-testing tag is relevant to questions about the design, creation, debugging, execution, and analysis of any test automation. Tools and frameworks used, such as Selenium, HPQC, TestComplete, AutoIT, etc. should be tagged as well.

3666 questions
34
votes
16 answers

Can every test be done by automation?

Can every test be done by automation? Or is there anything that cannot be done by automation?
YOU
  • 465
  • 1
  • 5
  • 8
23
votes
7 answers

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 can add dependency (using TestNG) on the first…
Tarun
  • 3,437
  • 2
  • 30
  • 43
20
votes
12 answers

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 science. Should I instead be performing a mini return…
Bruce McLeod
  • 9,750
  • 5
  • 33
  • 73
20
votes
9 answers

How do I convince someone who's bought the Record-Playback line that object oriented framework is essential?

Here's the basic setup - over a number of years the testing team at my workplace has developed a sophisticated (probably rather more complex than strictly necessary) object-oriented, data-driven framework for our company's software product (a suite…
Kate Paulk
  • 31,513
  • 8
  • 54
  • 108
19
votes
5 answers

How to push people to use automatic tests?

I am a test automation engineer. My main work is to automate UI tests for projects. My tests are suppose to be launch after every release in "qualification", "pre production" and "production". Then, the person in charge (usually the "Product…
BelovedFool
  • 652
  • 2
  • 8
  • 24
17
votes
5 answers

Can knowing too much about the tested code be a disadvantage?

Shift left testing is an approach in software testing to involve testers into software lifecycle as early as possible. I always understood this as helping in finding conflicting requirements, but also reviewing developer's tests and implementing…
dzieciou
  • 10,512
  • 9
  • 47
  • 100
17
votes
5 answers

What is best practice for test failures that have a low priority fix?

If I have a test that fails due to a known bug, but that bug is deemed lower priority to fix than other work, what should be done with the test? I can think of 2 options: Leave the test in the test set. However now every time the test set is run…
danio
  • 273
  • 1
  • 3
16
votes
8 answers

Testing of automated scripts

How much testing of your automated scripts do people generally do? Is it best to treat the automated test suite as a separate project or part of the Agile development cycle of the product your are testing? Being the sole QA person writing and…
Alastair
  • 849
  • 3
  • 8
  • 12
16
votes
7 answers

Should QA be able to code tests?

Having a development background, I am convinced that record and replay testing tools have their drawbacks, especially by making tests brittle. See Automated Testing != Record-Playback Tool for a good summary: Record-playback scripts are more…
Robert Munteanu
  • 617
  • 5
  • 13
15
votes
7 answers

What are anti-patterns in test automation?

anti-pattern: There must be at least two key elements present to formally distinguish an actual anti-pattern from a simple bad habit, bad practice, or bad idea: A commonly used process, structure or pattern of action that despite initially…
dzieciou
  • 10,512
  • 9
  • 47
  • 100
15
votes
4 answers

Testing interactions with external systems

I'm trying to find a way to test the interactions of our platform with external servers, like Twitter, for example. On our online photo sharing application, we have, for example features which let the user publish a content on his/her Twitter feed.…
Alexis Dufrenoy
  • 488
  • 5
  • 13
13
votes
5 answers

Is retrying failed tests good strategy to handle flaky tests?

Like many companies we have flaky tests in our test suites. Google has this problem as well: Unfortunately, across our entire corpus of tests, we see a continual rate of about 1.5% of all test runs reporting a "flaky" result. We define a "flaky"…
dzieciou
  • 10,512
  • 9
  • 47
  • 100
12
votes
1 answer

Testing Distributed Systems

I understand and practice most normal testing methodologies, however for systems with several distinct interacting processes testing obviously becomes a lot harder. Unit testing is often not possible, or preventively difficult. I am interested in…
12
votes
4 answers

Test Automation for different Locale?

I have begun with automation for a product which is in one language and soon to be ported in another. The only good thing is - Test Automation is just begun. So there are two things which worry me - hard coded Strings (app title, alert messages etc)…
Tarun
  • 3,437
  • 2
  • 30
  • 43
11
votes
7 answers

Testing email generation

Some applications generate emails. There may be multiple email formats based on the purpose of the message. The email may be destined for a single individual or a group. It may also be locale-dependent. How do I automate testing that (1) an…
user246
1
2 3
16 17