All Questions
3,743 questions
14
votes
2
answers
3k
views
How to avoid redundant tests
We are building an application using a completely test-driven approach. As developers, we are very familiar with unit tests but haven't been exposed to integrated / functional / acceptance tests. ...
14
votes
3
answers
3k
views
Is there a successful approach to automating security testing?
My team uses a security testing tool called Burp Suite. We currently try to manually run it once a release. One of my tasks is to determine if/how we can make that into more of an automated process. ...
14
votes
4
answers
51k
views
Automation and bypassing Google No CAPTCHA reCAPTCHA
My client want to use Google's No CAPTCHA reCAPTCHA (NCRC) to prevent robots completing an application.
QA have automated this process, but if the business introduce NCRC into the form, then this ...
14
votes
1
answer
4k
views
Is Selenium's LoadableComponent a good solution as test design pattern?
I need to refactor my Selenium tests, and come across their LoadableComponent wiki page. I began trying to use it, though I couldn't really understand what is it good for. I took a look at their ...
13
votes
13
answers
1k
views
Should automated tests be efficient?
I've written and edited a bunch of automated GUI tests. In some cases, the tests are inefficient (eg to select an item from a list, instead of a clever search, a dialog is opened and starting fro the ...
13
votes
6
answers
36k
views
How should you interview for QA *Automation* positions?
A variant on the How should you interview for QA positions?
I am interviewing candidates for an Automation position, we don't use commercial automation tools, but rather use a framework using mainly ...
13
votes
9
answers
4k
views
How to test a product without domain knowledge?
We have one product to test but we don't have the resource who have the domain knowledge of the specific field my company don't want to lose the client as it a breakthrough for the company & we ...
13
votes
4
answers
6k
views
How to analyse 'Element not Found' exceptions when working with Selenium
When you are writing Selenium/WebDriver automation scripts you will probably run into the exception NoSuchElementException. You think your selector is working, but somehow the element cannot be found.
...
13
votes
11
answers
2k
views
What is a Test Automation Framework?
Some automation engineers use an underlying automation framework as a jar dependency in their selenium web driver project in eclipse. Then, they use the framework to write functional scripting of the ...
13
votes
5
answers
4k
views
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 ...
13
votes
4
answers
2k
views
How long should a test wait to assume that the result remains fixed
We had a defect where in a situation the state of the application changed into something undesired. It has been fixed, we added a test:
Set up state
Action that triggered the wrong state change
Check ...
13
votes
9
answers
1k
views
Performance testing - a way in?
We have an a browser based application that is built on the Microsoft Stack, specifically .NET 3.5. It also uses Ajax, iframes, jQuery etc.
At the moment we are just guessing at the concurrency ...
13
votes
8
answers
4k
views
Most productive onboarding for a new tester
We've been going through onboarding procedures with multiple people that were becoming a part of our QA team throughout the history of our company. During these times we usually try to meet with a new ...
13
votes
6
answers
718
views
How to know if an existing set of automated tests are effective?
I came to a new project and it was already written 100 autotests. The product is new. How to determine whether the tests are effective? What is the best way?
13
votes
4
answers
28k
views
API Testing tools in C#
I'm looking at writing at automated tests to cover regression testing in respect of Restful API's.
I have familiarity with how to do this in Java using Rest Assured, however the company I currently ...
13
votes
3
answers
2k
views
API test automation: GUI tool vs programmatic approach?
We have a Rest API written in C# and I need to investigate a good approach to automate the tests. There are 2 ways to automate API tests:
GUI tool (e.g. SoapUI)
Programmatic approach, using some test ...
13
votes
4
answers
36k
views
How to disable infobar from Chrome
The option to disable infobar "Chrome is being controlled by automated test software" was removed from Chrome.
Chrome version: 65.0.3325.146
Chrome driver: 2.36
OS: Windows 10
I used the ...
13
votes
3
answers
16k
views
Is it a bad practice to use implicit wait in Selenium Webdriver? Should one use only explicit wait?
I was reading up on implicit and explicit waits and found the following two statements:
Implicit wait is not considered a good practice because different browsers have different loading times and ...
13
votes
3
answers
6k
views
Random test data: How to do it right?
Several months ago I started an experiment in test automation. Each test, before it starts, picks up random test data. For instance, when my test requires a user with administration privileges, I draw ...
13
votes
2
answers
680
views
Maintaining automation framework for different browsers like IE and FF
How to maintain automation framework for different browsers like IE and FF?
In my current set up, I maintain two different configuration properties files, one with xpath locators that FF supports ...
13
votes
3
answers
4k
views
Test Automation for SAP
I'm evaluating a number of test automation framworks to implement on a SAP project.
Right now I'm looking at
Fitnesse, which we believe we can write some fixtures for, to call SAP
Green Hat, which ...
12
votes
9
answers
14k
views
Whether to choose Selenium over Watir or Lightweight Test Automation when testing web applications created using C Sharp?
I am currently researching testing frameworks to test C Sharp developed web applications. I have been leaning more towards the use of Selenium over Watir or Lightweight Test Automation but hesitant ...
12
votes
7
answers
3k
views
How to deal with automated test cases that always fail?
I'm facing a lot of automated GUI tests that fail one or more verifications during their run. All the failings points have been reported in our tracking system and they are known issues but get "...
12
votes
4
answers
92k
views
Free sites for testing POST REST API calls?
My previous company was testing only GET calls. Now I need to practice with other type of calls (POST, PUT, DELETE).
I can not find any site that is free for POST API calls, and that it have up to ...
12
votes
5
answers
3k
views
How can I switch from manual testing to writing automation?
I am working hourly for low wage as a QA intern/tester. I want to learn more about this field. I have already graduated, so everything I have learned is self taught or learned somehow on the job. At ...
12
votes
4
answers
2k
views
How can I report coverage on an n-dimensional test matrix?
I have a test matrix for my product's installation, which is n-dimensional, where n is about 11 or 12 at this point. For instance, the OS is one dimension, and the DB is another, and the Reporting ...
12
votes
5
answers
5k
views
Looking for open source, Java-based tool for performance testing
Goal:
I have an enterprise application written in java to test for performance. I need to do it separately, so I will be basically simulating a user interaction over http/https.
My findings:
...
12
votes
6
answers
76k
views
Webdriver Firefox "Element could not be scrolled into view"
I am facing this problem on Firefox v.59, Selenium 3.11.0. I just click on an element, like this:
webDriver.findElement(By.id("row_0")).click();
and I get exception:
org.openqa.selenium....
12
votes
4
answers
1k
views
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 - ...
12
votes
3
answers
9k
views
To mock or not to mock with 'Automated Acceptance Tests'
I have been reading a lot about automated acceptance testing. However, I have not found any information about how to manage external dependencies.
Let's say you have a web application that acts like a ...
12
votes
1
answer
7k
views
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, ...
12
votes
1
answer
811
views
Tools for tracking automated tests
I have used STAF/STAX in the past, and liked the way that information was tracked in the tests.
I'm currently investigating Technologies to tie together a few tools that use XML-RPC, and am ...
12
votes
1
answer
318
views
How do I tune the probabilities in a Markov chain based load test to produce specific hit rates?
I am writing a load test for a web application. I have a few month's worth of access logs that tell me relative hit rates of various URLs. However, the access logs do not contain enough information ...
12
votes
3
answers
3k
views
Is jQuery faster than CSS/Xpath selectors for IE 8.0 in Selenium1?
I am planning to run my existing Selenium 1.x tests in IE 8.0.
After checking few blogs and reading this, I tried to run my tests using jQuery locators with the method mentioned here. My tests uses ...
11
votes
5
answers
4k
views
Is it necessary to verify databases for functional automation testing?
Currently, after every action that adds or changes data, we verify that that data was successfully added/changed in the database by querying the tables directly. I feel this is redundant because that ...
11
votes
5
answers
2k
views
Can a proportionately scaled down testing environment find performance load issues?
At my company, we are working on ways to improve our testing of database changes, in our testing environment first.
Since there are no resources to have a production like volume of data in servers ...
11
votes
7
answers
2k
views
Should I try the evaluation version of HP Quality Center?
I'm trying to determine if I should spend some time working with a trial version of HP Quality Center. For a number of reasons, my time is very valuable to me right now both at work and in my ...
11
votes
6
answers
914
views
How can testers motivate developers to write unit tests?
Unit-testing, oftentimes, is thought of as a burden and not exciting at all - more code to write, configure and maintain which requires time which results into delays in delivering features or fixes.
...
11
votes
3
answers
4k
views
What is Snapshot Testing?
I've recently stumbled upon this new (at least to me) testing type: Snapshot Testing:
For Facebook's native apps we use a system called “snapshot testing”: a snapshot test system that renders UI ...
11
votes
3
answers
2k
views
Layered Architecture of Test Automation Software
I was introduced to a 5-layer-model for GUI test automation frameworks, that was considered common knowledge. But I would be interested in a source describing this model. The layers are the following:
...
11
votes
2
answers
2k
views
Implementing the Test Pyramid as QA
Recently I have begun building out Unit Testing for my dev team during down time in an attempt to implement the Test Pyramid. My Dev Managers seem rather excited about it and on-board with the idea.
...
11
votes
4
answers
341
views
How do you design your test method/function
This question has been revolving on my mind from quite some time.
Do you develop one method for one test scenario or club similar scenarios in one method and develop automated tests for it. Both ...
11
votes
3
answers
359
views
Testing Unfamiliar Software
One thing I've picked up about testing software is to think about the software from the user perspective, and to sometimes "use" the software the way a "normal" user would. However, what if the ...
11
votes
5
answers
30k
views
How best to test file download links using Selenium
On a website I am testing we have various links that download PDF files to the users computer.
Our selenium suite runs nightly on bamboo, if we were to download the various files overnight it ...
11
votes
1
answer
16k
views
Faking system time/date with Selenium Webdriver?
Is webdriver capable to run a browser with a faked time, date or time zone?
Such ability would be highly useful for my automation purposes.
Yet, I did not find any such ability in the webdriver ...
11
votes
2
answers
3k
views
How to avoid flakey E2E selenium tests?
I'm under the impression that most of the E2E selenium tests are flakey. A major reason seems to be timing issues. Another one is that they often test against servers that are not controlled by the ...
11
votes
4
answers
2k
views
Load testing tools vs. making your own
I've never needed to work with commercial load running tools before, as our test infrastructure is pretty immature here and I've used internal tools in the past. We're working on a .NET technology ...
11
votes
7
answers
3k
views
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-...
11
votes
2
answers
697
views
Data driven testing using csv in Protractor
I am trying to run data-driven testing using csv file in protractor:
I have created a read csv promise module:
let readSync = async function (path1) {
console.log(path1)
const csv = ...
11
votes
5
answers
31k
views
How to start a Selenium2 WebDriver window in background?
I have a series of Selenium2 test cases in C#/NUnit that are run sequentially. Each test case runs in a new instance of the WebDriver (and this is necessary) - which means that each time a new test ...