João Farias
  • Member for 6 years, 6 months
  • Last seen this week
Test all elements in a single test or 18 separate tests
Accepted answer
5 votes

Three things should be considered, all equally important: Performance: Will creating several tests increase the suite execution time? It highly depends on your framework. Even if the time to ...

View answer
Should I be using WebDriverFacade or WebDriver or PageObject?
Accepted answer
4 votes

They are two different design patterns. A Facade is meant to make the interface to a library or set of objects simpler. It wraps in simpler methods complex behavior or "outdated" style of ...

View answer
Automated tools fot testing Software Architecture
Accepted answer
4 votes

NDepend is the .NET equivalent of JDepend. You can find more info about the metrics here.

View answer
How many tests to include when using Page object model
4 votes

I cannot go directly to the last step The whole situation is caused by the fact you can't manipulate your application state. It may be an indication that the tools you choose do not match the ...

View answer
Divide Test Cases across multiple Testers
4 votes

What about the three of you sit down and... work together? You can simply plug one computer in a screen and you all test it together. (No sarcasm, seriously) Two of the tags you posted are "HP-...

View answer
How to deal with too many test cases?
Accepted answer
4 votes

"The value of any practice depends on its context" N-wise testing is a technique, not a silver bullet to solve any problem. It's your responsibility as a professional to analyze how to best ...

View answer
Can we replace everything with automation or do we need manual testing?
4 votes

In summary, computers can only do test execution, and only a subset of it. Since testing encompasses more than execution, the answer is: No. For more details and other factors, see my blog post on it:...

View answer
Can you explain the "Level of Risk" for each features in the context of writing 'Test Plan: Features to be tested'? Note: test plan format- IEEE 829
Accepted answer
4 votes

Risk is the possibility of a bad experience for someone who matters. "who matters" may include users, sponsors, developers, testers, managers, regulatory agents, etc, etc, etc. "bad experience" may ...

View answer
Why are Fibonacci numbers used for estimating effort?
4 votes

Spoiler: No scientific reason. Fibonacci grows very fast, so people will have fewer options before reaching enormous values; thus it incentivizes breaking work down in smaller pieces. If the ...

View answer
To test or not to test something before release to a production?
4 votes

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

View answer
How do I select a random checkbox on the web page?
4 votes

You can use findElements to have a list of checkboxes then you simply have to pick a random element: List<WebElement> checkboxes = driver.findElements(By.cssSelector(".myCheckboxClass")); ...

View answer
Strategy and resources for training Quality Assurance engineers
4 votes

First, it's good to have some vocabulary: The ISTQB Guide can help you with that. I recommend reading the Chapter 1. If you are not familiar with the agile approach, a fast reading for the is also ...

View answer
How I can calculate the sum of items that are stored in main Id and then sub_id in that main Id
4 votes

Comments explain the flow WebElement baseCard = driver.findElement(By.id("00automation")); // Finding the base of the DOM tree where the price tag will be List<WebElement> priceTags = baseCard....

View answer
Retest whole system or just changes with regression tests
4 votes

Speaking only about the testing aspects: Obviously, you should only re-test of the part where there were bug fixes. The problem is to identify such area. One can do it: Backwards: E.g., frontend ...

View answer
Unit Test - Testing API Methods
4 votes

So If I implement the method 'GetById', I would want to test the functionality of that function. Sure, and these tests would go in a ShoppingCartServiceTest class. However the Article shows ...

View answer
Does selenium search elements from bottom or top of the DOM
Accepted answer
4 votes

Selenium implements a breadth-first search, meaning it starts from the root of the DOM and walks through all immediate children. Afterwards, it goes through the children of each children. Therefore, ...

View answer
How to parameterize @findBy in pageFactory
Accepted answer
4 votes

Unfortunately, it's not possible to send arguments to annotation (reference) One possible solution would be to create a Page Object class for link and pass a WebElement based on its li node. Class ...

View answer
Can Jasmine tests be executed in a specific order?
4 votes

On Jasmine 3.x, random order is the default behavior. To run in order file written order, you can specify --random=false or use a seed. Docs: https://jasmine.github.io/api/3.3/Configuration.html

View answer
Is defect driven test automation an good idea?
4 votes

As most things in life: It depends. A bug can be seen as a failure in planning, where the proper verifications for that behavior were not placed. And since it happened in the past, it is likely to ...

View answer
Unit testing for a non-atomic function if all atomic components have been tested
Accepted answer
3 votes

Unit tests are about checking the public API of a function. In the function below, what matters is input and output. The rest are details that should be mostly hidden in your tests. def non-atomic(...

View answer
Selenium closing the brower alone after finishing all the function
Accepted answer
3 votes

You are creating the Browser object inside the login function. When it ends, it is eligible for garbage collection. You can pass a pointer to an object outside the function, so it will still have a ...

View answer
Standards for Test Scenario
3 votes

so that every QA will cover all the defects Short answer: No, because testing is an open-ended investigation process. Long answer: Exploratory Testing 3.0

View answer
How to measure productivity of the test team or of testing in general?
3 votes

Since you have Session-Based Test Management, you can use your test sessions data to show your team's testing capacity. For example: You can plot the number of sessions your team did throughout time. ...

View answer
How many test steps are allowed in a single manual test case?
3 votes

Test cases are a documentation - a way of communicating an idea. Textual limits in communication only occur in specific situations, such as the physical limit of a newspaper or the arbirtrary number ...

View answer
What is the meaning of test runner? What is the meaning of test runner in layman terms?
Accepted answer
3 votes

For starters, it's interesting to understand the difference between a framework and a library: In a nutshell, a library is a piece of code that your application code calls: Here you are calling the ...

View answer
How can I measure the coverage of my E2E tests?
Accepted answer
3 votes

Michael Bolton proposes testing coverage as: “X coverage is how thoroughly we have examined the product with respect to some model of X”. And he completes: "Test coverage, like quality, is not ...

View answer
What is it called when several bugs cancel each other out?
3 votes

If you are dealing with the case @jonsharpe described above, you can create examples with the components in isolation. If they are not decoupled, you probably have a testability problem that is ...

View answer
Best way to architect test development in Python so that tests can be run either with a mock or without a mock?
Accepted answer
3 votes

You can create have multiple implementations of your client object. import abc class MyServiceClient(abc.ABC): @abc.abstractmethod def get_item(self, id): pass class ...

View answer
How can we test technical architecture for any product?
3 votes

In essence, it doesn't change much, after all... “Testing is the process of evaluating a product by learning about it through exploration and experimentation, which includes: questioning, ...

View answer
Is it important to know manual testing before learning test automation?
3 votes

"Manual testing" is better phrased as simply "testing"; and "test automation" actually means "use of certain tools for testing". So, by definition, to use certain tools to test you must know how to ...

View answer
1
2
3 4 5
16