Skip to main content
39 votes

Writing test automation in Java, while the company domain uses C#/.NET

One of the biggest mistakes in my career was to pick a different programming language for the test automation than the development team uses. You won't get help from the development team when you ...
Niels van Reijmersdal's user avatar
22 votes
Accepted

Is an inverted test pyramid really an anti-pattern?

Yes and No More often than not, an inverted pyramid (ice cream cone) is an anti-pattern, but there are circumstances where it is not. Your example of needing to rebuild an API in a different language ...
Kate Paulk's user avatar
  • 31.5k
15 votes

No tests in the legacy project - what to start with as tester?

In addition to reading Working Effectively with Legacy Code, I have a few recommendations from experience: Since there is little to no documentation, tour the software. Go through the software using ...
Kate Paulk's user avatar
  • 31.5k
14 votes

Writing test automation in Java, while the company domain uses C#/.NET

You can choose any language irrespective of which language is used in development. But it would be better if you go with same programming language which is used in the development, in your case it ...
JAINAM's user avatar
  • 1,835
13 votes

Test automation | Are we focusing more on automation than testing?

There is definitely a focus on test automation, not automated testing—simply because the latter is hard to do. I think this is related to the testing vs. checking debate (started by James Bach and ...
beatngu13's user avatar
  • 2,132
13 votes

Is an inverted test pyramid really an anti-pattern?

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 ...
João Farias's user avatar
  • 10.9k
11 votes

How do I execute/test a large set of test cases with limited time and resources?

Good question. Here I am going to explain some steps from my experience. 1) We need good teamwork for that. 2) Here I just want to clarify that "Execute All Test Case/Suite" term. We need to ...
Malay Parikh's user avatar
10 votes
Accepted

Order of execution for Tests in TestNg, If Priority set only for few Test Methods

Here you have to consider 2 points : If you are not using any priority in your test method then TestNG assign by default priority=0 to the Test Method If there is same priority assign to test methods ...
NarendraR's user avatar
  • 1,573
9 votes

Writing test automation in Java, while the company domain uses C#/.NET

Definetly learn C#. Why? At Selenium tests level it's basically the same thing as Java 9. With a bit of syntactic sugars. It shouldn't take you more than 2 weeks to get up to speed with C#. CI/CD and ...
Michal Dobrzycki's user avatar
8 votes
Accepted

How to inspect elements on pages with 'loading' spinners?

Chrome provides an inbuilt function for this: Dev Console (F12) Switch to the Sources tab Do action in browser to get to the state you want to inspect Press F8 Chrome will pause the browser and ...
Klynt's user avatar
  • 544
7 votes

How to set up a Testers Guild

For a QA guild I would consider some of the following: Book clubs Brown Bags Lunch and Learns Demos to non-guild members Rewards, awards and presents Internal Testing Conference Day External ...
Michael Durrant's user avatar
7 votes
Accepted

Check if password field displays masked characters (Selenium + Python)

You are not checking if the password is masked, but if it there is an input of type password. Which is good, because you do not want to test browser behaviour, but the implementation by the developers....
Niels van Reijmersdal's user avatar
7 votes

How do I execute/test a large set of test cases with limited time and resources?

Basically you never have enough time and resources to test everything, your test cases are already a subset of this infinite "everything". What should you do then ? prioritize. A common heuristic is ...
Rsf's user avatar
  • 7,089
7 votes
Accepted

Test Plan/Strategy of an application which has API +DB

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 ...
João Farias's user avatar
  • 10.9k
6 votes

How to approach testing of a mature application

The vast majority of automated testing isn't done to uncover new bugs. It's done to provide some assurance that updates don't change the expected behavior of the application. The most common question ...
sphennings's user avatar
6 votes

How to track which stories / functionality in an agile project have automation test coverage?

Don't track and link stories to tests this way. It will lead to a massive mess. Treat your automation itself as the product. Use the Agile principle of working software (automation in this case) over ...
Michael Durrant's user avatar
5 votes

Mathematical / statistical relationship between tests and bugs?

There is no correlation between the number of tests in a codebase and the number of bugs found in production. This makes sense if you think about it. If the tests are created solely to pass some "...
newsn31's user avatar
  • 609
5 votes

How to set up a Testers Guild

Virtual Knowledge Area teams: We have been experimenting with setting up Virtual Knowledge Area teams (e.g. communities/guilds) as actual Scrum teams. The team consists of specialists or people who ...
Niels van Reijmersdal's user avatar
5 votes

How do I execute/test a large set of test cases with limited time and resources?

Feedback also from my side what I learned from projects. 1. Prioritize the test cases In my past projects we prioritized the test cases. We used HP ALM and there we had also couple of test cases and ...
Daniel Boehm's user avatar
  • 1,183
5 votes

How to track which stories / functionality in an agile project have automation test coverage?

The first question to ask yourself is if this level of traceability is necessary. For some people, maybe the answer is yes. For others, perhaps not. If you don't need traceability between story and ...
Thomas Owens's user avatar
  • 1,496
5 votes
Accepted

How to accelerate the release process by rethinking test automation

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." - Antoine de Saint-Exupery In general, strive to make UI tests more horizontal(...
Vishal Aggarwal's user avatar
4 votes

How to test a toaster? (interview question)

Determine the requirements and test for them. I would imagine testing: Different sized bread (area) should be usable in the device Different sized bread (thickness) should be usable in the device ...
Michael Durrant's user avatar
4 votes
Accepted

Version Control for Selenium Itself

This is what you use Maven for. Maven manages and downloads your dependencies. Suggest you try to always use the latest stable version of Maven and you should be set. Example pom.xml: <...
Niels van Reijmersdal's user avatar
4 votes

Pros and cons of complex test scenario / test case / checklist?

Different companies expect different things... so try not to look to your friends projects for comparison. Someone who works in Financial Technology is going to have different requirements to someone ...
dvniel's user avatar
  • 2,548
4 votes
Accepted

How should I handle failing tests caused by external dependencies?

should it represent a defect in the Application under test? No, it might be working, but you cannot verify. You do need to monitor and follow it up somehow. Therefore ignoring/skipping the test-...
Niels van Reijmersdal's user avatar
4 votes

How to Demo Automated Tests

Check this out, Snagit It is a very good idea to record a video as in a live demo, there is a high chance something could go wrong, what I suggest is: Prepare a live demo, maybe a highlighted ...
Yu Zhang's user avatar
  • 9,942
4 votes
Accepted

WebDriverWait ExpectedConditions stopped working after updating Selenium.Support NuGet

The set of expected conditions is being removed from the Selenium C# bindings. Though you can still add them to your library from the source: https://github.com/SeleniumHQ/selenium/blob/master/...
Florent B.'s user avatar
4 votes

Is defect driven test automation an good idea?

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 ...
João Farias's user avatar
  • 10.9k
4 votes

Is an inverted test pyramid really an anti-pattern?

Be careful what you believe. Take all these answers with a grain of salt, including mine. I look at one project and the unit test plugin on Visual Studio is showing me 38 unit tests, 5 complete ...
Joshua's user avatar
  • 141

Only top scored, non community-wiki answers of a minimum length are eligible