ISTQB Interview Questions
What is ISTQB?
ISTQB stands for "International Software Testing Qualifications Board". It is Belgium based International body legally established in the year 2002.
Software testing professionals from all over the world joined hands in formulating standardized contents for further education in the field of Software Testing. It is a multiple-choice exam & is an education program offered in 38 countries.
Who provides the ISTQB Certification?
Almost all-major countries are the member of the parent body i.e. ISTQB. These member countries have their local Software Testing Qualification Boards. These local boards provide their inputs to the syllabus and question papers for various exams including the process of examination.
Such boards conduct the exams strictly in accordance with the common syllabus defined by ISTQB & provide necessary certification.
In India, ITB (Indian Testing Board) is the ISTQB approved national board & provides the "ISTQB Certified Tester" Certification in India.
What is the period of validity of ISTQB Certifications?
1) ISTQB Certified Tester - Foundation Level Certificate (CTFL): Valid for whole Life.
2) ISTQB Certified Tester - Advanced Level Certificate (CTAL): Valid for whole Life.
What is Exploratory Testing and when should it be performed?
The definition of Exploratory Testing is “simultaneous test design and execution” against an application. This means that the tester uses her domain knowledge and testing experience to predict where and under what conditions the system might behave unexpectedly. As the tester starts exploring the system, new test design ideas are thought of on the fly and executed against the software under test.
On an exploratory testing session, the tester executes a chain of actions against the system, each action depends on the result of the previous action, hence the outcome of the result of the actions could influence what the tester does next, therefore the test sessions are not identical.
This is in contrast to Scripted Testing where tests are designed beforehand using the requirements or design documents, usually before the system is ready and execute those exact same steps against the system in another time.
Exploratory Testing is usually performed as the product is evolving (agile) or as a final check before the software is released. It is a complementary activity to automated regression testing.
What Test Techniques are there and what is their purpose?
Answer: Test Techniques are primarily used for two purposes: a) To help identify defects, b) To reduce the number of test cases.
-Equivalence partitioning is mainly used to reduce number of test cases by identifying different sets of data that are not the same and only executing one test from each set of data
-Boundary Value Analysis is used to check the behaviour of the system at the boundaries of allowed data.
-State Transition Testing is used to validate allowed and disallowed states and transitions from one state to another by various input data
-Pair-wise or All Pairs Testing is a very powerful test technique and is mainly used to reduce the number of test cases while increasing the coverage of feature combinations.
How do you test the login feature of a web application?
-Sign in with valid login, Close browser and reopen and see whether you are still logged in or not.
-Session management is important – how do we keep track of logged in users, is it via cookies or web sessions?
-Sign in, then logout and then go back to the login page to see if you are truly logged out.
-Login, then go back to the same page, do you see the login screen again?
-Sign in from one browser, then open another browser to see if you need to sign in again?
-Login, change password, and then logout, then see if you can login again with the old password.
What Types of Testing is Specifically Important for Web Testing?
Two types of testing which are very important for testing web applications are Performance Testing and Security Testing. The difference between a web application and desktop application, is that web applications are open to the world, with potentially many users accessing the application simultaneously at various times, so load testing and stress testing are important.
Web applications are also vulnerable to all forms of attacks, mostly DDOS, so security testing is also very important to consider when testing web applications.
How much testing is enough?
There is no definitive answer to this question. Testing is not absolute and has no limits. However, we can use risk metrics (risk based testing) to identify the likely scenarios that can cause the most harm or the sections of the software that is mostly used so that we focus our time and effort to the sections that are most important.
Testing should provide enough information about the status or health of an application, so the stakeholders can make informed decision on whether to release the software or spend more time on testing.
What is the difference between a Bug, Defect, Error, Failure, Fault and Mistake?
Error and Mistake are the same thing. Bug, Defect and Fault are the same thing.
In general, a human being can make a mistake (error) which produces a defect (bug, fault) in a software application which may cause a failure.
Defects occur because human beings are prone to make mistakes, also a software application can be very complex so the integration of different components can cause odd behaviours.
Why is software testing necessary?
Software Testing is necessary because the existence of faults in software is inevitable. Beyond fault-detection, the modern view of testing holds that fault-prevention (e.g. early fault detection/removal from requirements, designs etc. through static tests) is at least as important as detecting faults in software by executing dynamic tests.
Aspired to become an ISTQB?
Explore the post to discover the know-hows on ISTQB Training.
What are errors, faults and failures?
An error is a human action producing an incorrect result.
The error is the activity undertaken by an analyst, designer, developer, or tester whose outcome is a fault in the deliverable being produced.
When programmers make errors, they introduce faults to program code. We usually think of programmers when we mention errors, but any person involved in the development activities can make the error, which injects a fault into a deliverable.
What are the different Test Levels?
What are the different black box testing techniques?
-Boundary Value Analysis
-Decision Table Testing
-State Transition Testing
-Use Case Testing
What are the different Test Planning activities?
-Determining the scope and objectives of testing
-Defining the overall approach of testing, defining entry and exit criteria
-Making decisions about what to test and who will test which part of the application
-Scheduling test design sessions
-Assigning resources for different testing activities
-Deciding which tools to use for testing
-Reporting on the progress of testing
-Producing exit reports
What information should you include on a defect or bug report?
-Brief summary of the defect
-Full description of the defect including steps to reproduce
-Screenshot attachments if required
-Date the defect was found and raised
-Who reported the defect
-Severity and/or Priority of the defect
-Which component is the defect assigned
Types of Software Testing?
Software Testing can be divided into two parts:
-Black box testing which is high level and does not take into account the internal workings of the software, i.e. the tester doesn’t need to know how each individual components interact with each other.
-White box testing which tests at very low levels, e.g. functions within a class or component integration. System Testing is an example of a Black Box Testing, and Unit Testing is an example of white box testing.
What is Software Testing Techniques?
The main purpose of a Test Technique is to help identify defects and reduce large number of combinations. Testing everything is not possible, because there are large number of test cases that can be executed against a given application.
Test techniques such as equivalence partitioning and pairwise testing reduce permutations, while boundary value analysis help to identify defects at boundaries.
Why There Are Bugs in Software?
Miscommunication or no communication
Quite often, the requirements from the business is not communicated to the development team. Product owners have an idea of what the feature should look like and how it should behave, but if not communicated properly to developers and testers, the finished product might not be as expected. The requirements should be communicated clearly to all stakeholders so everyone has the same understanding.
The complexity of current software applications can be difficult to comprehend for anyone without experience in modern-day software development. Multi-tiered applications, client-server and distributed applications, data communications, enormous relational databases, and sheer size of applications have all contributed to the exponential growth in software/system complexity. programming errors – programmers, like anyone else, can make mistakes.
The end-user may not understand the effects of changes, or may understand and request them anyway – redesign, rescheduling of engineers, effects on other projects, work already completed that may have to be redone or thrown out, hardware requirements that may be affected, etc.
If there are many minor changes or any major changes, known and unknown dependencies among parts of the project are likely to interact and cause problems, and the complexity of coordinating changes may result in errors. Enthusiasm of engineering staff may be affected.
In some fast-changing business environments, continuously modified requirements may be a fact of life. In this case, management must understand the resulting risks, and QA and test engineers must adapt and plan for continuous extensive testing to keep the inevitable bugs from running out of control.
Poorly documented code
It’s tough to maintain and modify code that is badly written or poorly documented; the result is bugs. In many organizations management provides no incentive for programmers to document their code or write clear, understandable, maintainable code. In fact, it’s usually the opposite: they get points mostly for quickly turning out code, and there’s job security if nobody else can understand it (‘if it was hard to write, it should be hard to read’).
Software development tools
Visual tools, class libraries, compilers, scripting tools, etc. often introduce their own bugs or are poorly documented, resulting in added bugs.
What are the Advantages of ISTQB Certifications?
It is a known fact that the common practices generally lag behind the best practices by around 25 - 30 years. Basic advantage of ISTQB certifications is that these are aimed at bringing the common practices to the level of best practices.
ISTQB certifications are of International nature, whose certificate is recognized in several countries across various continents.
Since the syllabus of ISTQB certification exams is targeted to various concepts & techniques having real-world application, the ISTQB certification carries respect of the highest order among the International community.
ISTQB certification means an automatic certificate of sound practical knowledge & high caliber of the certified professional. This is certainly regarded as a golden feather in the cap of the certified person.
Due to great respect commanded by the ISTQB certification in the trade, it helps the aspirants in shaping their career path.
ISTQB certification provides a rock solid foundation for professional growth to the certified person.
ISTQB delivers value to the software testing profession itself.
What are the Salient Features of the Foundation Level (CTFL) Exam?
It is a Knowledge Based Exam.
The aspirant need not have any prior experience.
No re-certification is required after some time, since the certificate remains valid for the whole life.
The Syllabus is very well structured & easy to understand.
This certification signifies that the:
-Aspirant is committed to the software testing as a profession
-Aspirant is very well conversant with various concepts and terminology of testing.
-Aspirant is able to use the specialized techniques like code coverage analysis, boundary values analysis & Equivalence partitioning etc.