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 ...
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 ...
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 ...
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 ...
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 ...
12
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 ...
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 ...
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 ...
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 ...
8
votes
Components of a Test Plan document?
What are the most important components/parts of a well-written test plan document for a testing project. Consider you are testing a Financial web app.
As per IEEE 829 standards, the components of a ...
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 ...
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 ...
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....
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 ...
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 ...
6
votes
Prevent testing email in production
The best and easiest way to do this kind of testing and to get rid of this issue is to have a test email ID like 'DemoTest@domain.com', and use this email ID for your and developer's testing purposes, ...
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 ...
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 ...
5
votes
Components of a Test Plan document?
Below are the components of a test plan, which should be included.
1. Summary
1.1. Introduction - Provide an overview of this document in this section
1.2. Scope of testing - The scope of testing ...
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 "...
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 ...
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 ...
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 ...
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(...
4
votes
Website with complex functionalities?
We have had a very hard time automating the Google Maps API.
Test case:
Surf to Google maps: https://www.google.nl/maps
Find an area with known location
Click the known location (without the use of ...
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
...
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:
<...
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 ...
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-...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
test-strategy × 198automated-testing × 82
selenium-webdriver × 60
test-design × 44
manual-testing × 31
java × 18
test-management × 18
tools × 13
test-planning × 12
jmeter × 11
python × 11
test-automation-framework × 11
c# × 9
load-testing × 9
testcase × 8
web-application × 8
browser-automation × 7
unit-tests × 7
agile-testing × 6
debugging × 6
testng × 5
appium × 5
api-testing × 5
learning × 5
interview × 4