dzieciou
  • Member for 10 years
  • Last seen this week
Should QA report bugs on features before they are fully implemented?
16 votes

To me this is a perfect example of what happens when effectiveness of testers is assessed based on the wrong KPI, in this case, a number of bugs reported. In the end it will harm testers, developers, ...

View answer
How to deal with flaky tests that have intermittent failures?
Accepted answer
16 votes

Here's the general approach we're currently implementing in our team: Measure flakiness to identify unstable tests. One way is to move suspected tests from the main deployment pipeline into ...

View answer
Is asking about "The most interesting bug in your career" a good interview question?
15 votes

I am terrible at recalling names, places, restaurants, and... bugs I have investigated. I usually ask my girlfriend or my friend to give me a name of a place we have been together or an actress in a ...

View answer
Who is responsible for pinpointing bugs?
14 votes

It depends. As Joe Strazzere explained, it is a matter of discussion between devs and testers. The question is what factors to consider in such a discussion. I think Danny R. Faught explained that ...

View answer
What is common practice for labels of the bug severity?
Accepted answer
12 votes

A label is just a label. It is far more important to understand what stands behind them, so people can easily say when to assign a certain severity to a bug and understand what such severity means ...

View answer
How to test if my application method handles HTTP status 404 of a REST API without actually calling that REST API
Accepted answer
10 votes

Use a mock. Mock 3rd party API using MockServer or WireMock, if you're in the Java world. Your test will call getNumUsers() method which in turn will call mock of your 3rd API and the mock will ...

View answer
Is there any way to continue selenium web driver script after assert fails?
Accepted answer
10 votes

Yes, use soft assertions org.testng.asserts.SoftAssert. Soft assertions are assertions that do not terminate the test when they fail but their results are included in the test execution report. More ...

View answer
How to fill CAPTCHA using Test automation?
9 votes

Here's an example of captcha and a robot to cheat it:

View answer
How to wait for an api request to return a response?
Accepted answer
8 votes

HTTP is a synchronous protocol* so active polling is not an option. You need to wait until client receives response or request times out. There are two ways to constrain synchronous behaviour with ...

View answer
How can I structure Selenium tests in a way that minimizes the maintenance work?
7 votes

In addition to the awesome suggestions others provided, I would like to describe one often neglected area. Unlike in unit tests, in end-to-end tests, you have less control over the data in your system ...

View answer
How to move my company and I from time-intensive manual testing to automated testing?
7 votes

This is not a matter of number of hours only. To me overtime serves for emergency, only when unexpected situation occurs. Unexpected things can happen and I accept it and I am open to help my ...

View answer
How does Bullseye code coverage tool work?
Accepted answer
7 votes

This is a tool-agnostic question. All of them work the same way: they instrument the code of your system. Each time a line or branch of your code is visited at runtime, the tool caches this ...

View answer
Test automation for microservices architecture
6 votes

What to test and how You definitely need to test full flows of the system, to see whether services understand each other, in particular, when one of service responds with error messages. This is a ...

View answer
How do you perform API Testing? I had an interview question
Accepted answer
6 votes

Well, an API is such a loaded term. It can be REST, SOAP, RMI, or native C++ library API, etc., so the tooling will depend on that. Particular test scenarios will depend on that as well. For instance, ...

View answer
Setting up central system to run selenium scripts
6 votes

Yes, the solution is to setup Continues Integration server like Jenkins, Hudson, TeamCity or something else. You may need also a Selenium Hub/Grid to scale better both for the number of tests and ...

View answer
What do devs expect from testers' communication?
Accepted answer
6 votes

Welcome to SQA. I assumed you're a tester :-) In short, do devs like being bothered by testers? Well, that depends on many things. If you find a bug and won't bother a developer to fix it or ...

View answer
Is it necessary to verify databases for functional automation testing?
6 votes

I don't want to repeat great answers other have provided, but I would like to share with one more lesson I learned about using database in tests. Combining feedback you have from both database ...

View answer
How do you test a backend API?
6 votes

Choosing the tool is not the only decision you need to make when testing an API. As for any testing task you need to decide: What aspects of the program are you testing? What application features do ...

View answer
What is really tested in an integration test?
6 votes

The objective is to resolve conflicts between components being integrated. Those kind of conflicts cannot be found during unit tests. The example of dishwasher of @user246 is very illustrative here. ...

View answer
What would be the best roles and assignments for a developer in a QA team?
6 votes

A developer can be also useful to QA team in defect isolation. Having skills to read the code, understand the architecture of the system and debug a running program, you will be able to isolate the ...

View answer
How does system testing differ from System Integration Testing (SIT)?
5 votes

In your comment you asked Lets say we have a system C which is combination of A and B (A + B = C). Now i can check perform Integration tests for A, Integration tests for B. After this i need to ...

View answer
What is the difference between api and web services testing?
5 votes

The difference between testing APIs and testing Web services stems from the difference between APIs and Web services. So, according to Wikipedia: An application programming interface (API) is a set ...

View answer
Why are automation testers interviewed the same way as developers?
5 votes

I once wrote a blog post on why it is hard to find technical testers who can program, and why candidates fail such technical interviews. We needed testers with developers' skills for two reasons: ...

View answer
What is the Best Way to Manage Test Automation?
Accepted answer
5 votes

There's belief that one standard framework will solve problems and that this is the only way to solve them. This is because initially frameworks tend to solve problems: Contextual systems provide ...

View answer
Auto-formatting RestAssured test cases in my IDE
Accepted answer
5 votes

A solution I found so far it to turn off formatting for certain sections, so that IDE does not destroy that. In Intellij Surround the code fragment with // @formatter:off ... // @formatter:on ...

View answer
How can a Software Tester use "Out of the Box" thinking approach to find more bugs?
5 votes

Welcome to SQA, Eddy. I have no experience in testing your software, so I have no real-world scenarios that may suit your application. And scenarios I know are typical for software that I tested, so ...

View answer
What automation tools to use with PHP development?
Accepted answer
5 votes

"How to eat an elephant? One bite at a time." --- The scope of your question is so wide, that it is not possible to shows all subtle differences between different technologies you list. It would be ...

View answer
How to teach test automation engineers to use a debugger
4 votes

Excellent question. Debugging is a basic skill programmers should have. Many testers lack programming skills because companies throw people with no or only little programming experience into test ...

View answer
What are design patterns for REST Assured?
Accepted answer
4 votes

Here's a number of design patterns you can use for testing REST services (with REST-assured, but not necessarily*): Service Object pattern. Just like Page Object encapsulates HTML page, Service ...

View answer
Asking UI developers to adjust markup to improve automated tests
4 votes

I think it's a matter of how good relation in your team betwene devs and QAs in general, and between specific team members, in particular, is. What helped in my team to improve collaboration and ...

View answer
1
2 3 4 5 6