João Farias
  • Member for 6 years, 6 months
  • Last seen this week
Found a minor bug, affecting 1% of users. What should QA do?
30 votes

This is called Risk Analysis. By the book, the over-simplified step is to analyze Impact x Frequency. Things that happen rarely but with huge impact can be prioritized, as well as things with little ...

View answer
How to deal with or prevent idle in the test team?
Accepted answer
19 votes

"there is nothing to test" That is a strong statement. I like to use James Bach's definition of testing: Testing is the process of evaluating a product by learning about it through exploration ...

View answer
Can Agile make a tester more Dis-empowered
Accepted answer
17 votes

For starters, Agile is not an actor. One doesn't "work with Agile", "uses Agile", or things of this sort. Also, Agile doesn't act, it "doesn't do/make things". Agile is a mindset described in the ...

View answer
What are valid bugs
Accepted answer
14 votes

One of the Context-Driven Testing principles is: The product is a solution. If the problem isn’t solved, the product doesn’t work. Another way to say this is that software should work for its ...

View answer
How bug prioritization works in agile projects vs non agile
Accepted answer
14 votes

A generic answer is: It's contextual; the team and stakeholders (which is who understand better the context) should work towards finding a good way - and periodically analysis its efficacy and improve ...

View answer
Is an inverted test pyramid really an anti-pattern?
11 votes

Indeed your observation is correct. Every level of checking aims to give you confidence on what is being checked: Code unit, service contracts, systems, etc.... Two generic observations that we can ...

View answer
Feature branch testing before code is merged?
10 votes

From the Context-Driven Testing Principles: "The value of any practice depends on its context." There is no "industry standard" for this, and even if there was a 99.9% consensus ...

View answer
What type of tests you should do first?
10 votes

Naturally, it depends. What types of testing you will do first? If you will be working with this product for a long time, you probably will want to focus on understanding its functions. The goal ...

View answer
How can I run one spec 100 times using the command line?
Accepted answer
10 votes

If you are using zsh shell: repeat 10 { command } On basic shell: for _ in {1..10} do command; done If you can run the tests in parallel, you can use the GNU Parallel: parallel command ::: {1.....

View answer
Is there any way to click on 6th item of this list
Accepted answer
9 votes

You can use a CSS Selector looking for a substring at the onclick attribute: div[onclick*='2005256'] This will look for the client regardless of the position. If you want by position: #searchpanel-...

View answer
Selenium PageFactory vs Page Object Model
Accepted answer
8 votes

Page Object and Selenium's PageFactory are distinct things in nature, usually the latter complement the former. Page Object is a design pattern aimed at solving the problem of separating the ...

View answer
Test Plan/Strategy of an application which has API +DB
Accepted answer
7 votes

Given a simple application diagram how would you test it or what will be your test plan or test strategy. The only answer to a question like this is: "There is no such thing as 'go there and ...

View answer
Is there a way to automate multiple tabs using cypress?
7 votes

From the Cypress site: Because Cypress runs in the browser, it will never have multi-tabs support. We do have access to the browser automation APIs to actually switch tabs, but there is no ...

View answer
Area of responsibility of a test manager within the agile process?
Accepted answer
7 votes

One of the foundation principles of the Agile Manifesto is self-organizing teams: The best architectures, requirements, and designs emerge from self-organizing teams. PS: It includes processes ...

View answer
Measuring integration test efficiency
6 votes

We thought of some sort of limited coverage measurement - checking if collaboration points like app to database, app to external service are covered by tests. Most code coverage tools allow filtering ...

View answer
Should I push my changes for testing and then work on unit tests?
6 votes

Oh, that's a long one. Let's take two points of view: Pragmatic POV: they insist on faster delivery Saying that TDD would decrease delivery speed is not necessarily true. If you search for studies ...

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

You don't need to add any additional dependency. Start doing some preparatory refactoring in order to: Program to an interface instead of a concrete object; Break the getNumUsers() into two ...

View answer
Writing test cases for a test with repetitive test steps
6 votes

Data: Use each of the following payment methods: X, Y, Z, ... Procedure: .... .... .... I don't see how any professional tester won't understand that you want to validate with each payment method....

View answer
Make an if/then statement utilizing a non present element
Accepted answer
6 votes

You can either: Look for all element that match certain search criteria: if driver.find_elements_by_css_selector(my_locator): # No element found here Catch an exception when searching for a ...

View answer
Why does element.displayed? throws exception instead of boolean false?
Accepted answer
6 votes

$driver.find_element(:xpath,element2) Above, you are trying to find an element. .displayed? Now you are trying to check the state in a element. The exception is thrown by the first computation; ...

View answer
Should integration tests test business logic?
5 votes

I think you fell on the Integrated Tests scam. Integration tests are about "determining if independently developed units of software work correctly when they are connected to each other". ...

View answer
Types of metrics used in QA management
5 votes

First of all, you need to define better what you want to measure. Imagine a sports team. One could say that "improving" means "winning more games" - and one could say that a ...

View answer
Test case preparation and execution time
5 votes

Firstly, I would be careful when communicating this type of relationship between test cases and your testing, because, test cases are not testing. Promoting otherwise may cause issues both for the ...

View answer
How to write this test case?
5 votes

unlimited conversations and unlimited messages something works for an unlimited amount of data, in this case, infinite messages These two statements may mean different things. There is no such thing ...

View answer
Automation Testing 2nd Interviews: How technical should you be?
5 votes

In addition to the other answers, one good way to practice the articulation of ideas is to join communities and discuss different points of view. Online, Ministry of Testing is a great place to start. ...

View answer
Working just on branch or line coverage could prevent us from finding which defect?
Accepted answer
5 votes

Achieving branch coverage is possible but it doesn't mean complete testing. Indeed, no amount of fact-checking can achieve complete testing, because fact-checking is only one of the activities of ...

View answer
Page Object Model how much abstraction?
Accepted answer
5 votes

As with any piece of software, you can consider a few heuristics when deciding abstractions: 1 - On a higher-level abstraction, Single Responsibility Principle: A component (method, class, module) ...

View answer
BDD / Cucumber - what level of testing can I use it with?
5 votes

Although the main purpose of BDD is to enhance conversation between people involved in a project is can be used to described any level of test. Besides UAT, one can describe an object behavior (unit ...

View answer
How to respond to requests to retest, in hope that the bug is gone?
5 votes

James Bach says, "Testing is the process of evaluating a product by learning about it through exploration and experimentation, which includes some degree: questioning, study, modeling, ...

View answer
Why can't we write "ChromeDriver driver = new ChromeDriver();" in Selenium?
5 votes

Actually, you can. ChromeDriver x = new ChromeDriver(); is a perfect valid Java statement. The point of using the interface WebDriver on the fact that all the API (methods) that you will be using ...

View answer
1
2 3 4 5
16