(Q) How to deal with defects that are NOT reproducible?
Ans: Firstly we need to know "What is reproducible defect ?" While first time you got defect and you posted it. But dev team want to know how to occur that defect then you need to reproduce that defect with same steps & data. It means second time creating same scenario for that defect. If you can't reproduce a bug you can never fix it.
Secondly we need to know "What are Non-Reproducible defects?" Observing an issue whole day and at the end of the day when you reported that defect, you find it is no more reproducible.
For example, suppose a user is unable to add products to its cart. This happens 6 out of 10 times. Issue observed only when we restart the application.
In all these cases, it is hard to determine the exact condition and report it right. Such defects take a lot of time in the investigation of. We can't ignore these kind of defect.
So, how we can deal with that:
- Clear all cache and cookies while reproducible defect
- Proper documentation needed
- Noting down each and every step and other details (like test data, environment, system settings, screenshots, server logs etc) will be a good practice to easily replicate the scenario.
- Sometimes looking for similar defect or patterns can be helpful in reproducing a bug. It will be easier to identify the scenario if the pattern is understood
- Verify a few more times to determine the occurrence of defect. Do not trust and report further on the basis of one single time occurrence of the issue
- Testing with patience is the key factor as this might and will take a lot of time
(Q) What is difference between use case and test case?
Use Case: Use case is a representation of actions which describes the behaviour of system to do a particular task. Use cases are prepared based on requirements. Business users executes use cases.
Test Case: Test case contains the test data, set of instructions to follow and a result of following the instructions. Test cases are prepared based on Use cases. Testers executes test cases.
(Q) Common challenges faced in software testing?
- Lack of requirements documentation
- Writing test scenario with less documentation.
- Lack of communication
- Unstable test environment
- Impossibility of complete testing
- Regression and integration testing
(Q) How to resolve inconsistent defect?
Inconsistent means which is not stable. The inconsistent bug is a bug which is not appearing during the retesting process. That means it may appear or may not appear. This is very difficult to reproduce.
To handle these kind of defects, better to attach screenshots and clear steps to reproduce with test data while logging the defect to avoid unnecessary comments by other teams.
(Q) What is RTM? What does RTM contain?
RTM stands for Requirement Traceability Matrix. Requirement traceability matrix is a document that map and trace user requirement with test case.
The main purpose of Requirement Traceability Matrix is to validate that all requirements are checked via test cases such that no functionality is unchecked during Software testing.
The agenda of every tester should be to understand the client’s requirement and make sure that the output product should be defect-free.
(Q) Difference between Alpha and Beta testing?
Alpha Testing is a type of software testing performed to identify bugs before releasing the product to real users or to the public. Alpha Testing is one of the user acceptance testing. Alpha testing used both the white box and black box testing. Reliability and security testing are not checked in alpha testing.
Beta Testing is performed by real users of the software application in a real environment. Beta testing commonly uses black box testing. Reliability, security and robustness are checked during beta testing.
(Q) Explain Test Strategy?
In simple term, "Test Plan is a vision of what you want to achieve and Test Strategy is an action plan designed to achieve this vision."
A Test Strategy is a plan for defining an approach to the Software Testing Life Cycle (STLC). It guides QA teams to define Test Coverage and testing scope. It helps testers get a clear picture of the project at any instance. The possibility of missing any test activity is very low when there is a proper test strategy in place.
(Q) Why do you need test plan and what does test plan contain?
Test plan helps us to keep the details of the testing scope, features, and functionalities to be tested for a build. Test plan also contains details of testing techniques and tools to be used. This prevents the testing team from putting any efforts in testing 'Out of scope' functionalities.
A Test Plan is a detailed document that describes the test strategy, objectives, schedule, estimation, deliverables, and resources required to perform testing for a software product.
(Q) What are the fields in a bug report?
Field which is available during bug report is:
- Bug Name
- Bug ID
- Bug description
- raised by
- priority
- Severity
- Assigned to
- reported by
- reported on
- Status
- Environment