ISTQB Foundation Level Exam Crash Course Part-20
This is Part 20 of 35 containing 5 Questions (Q. 96 to 100) with detailed explanation as expected in ISTQB Foundation Level Exam Latest Syllabus updated in 2011
Deep study of these 175 questions shall be of great help in getting success in ISTQB Foundation Level Exam
Q. 96: What is Data-driven testing?
Robust test scripts that deal with various inputs can be converted into data-driven tests. This is where hard-coded inputs in the test script are replaced with variables that point to data in a data-table. Data-tables are usually spreadsheets with one test case per row, with each row containing test inputs and expected results.
The test script reads the appropriate data
value from the data-table and inserts it at the appropriate point in the script (e.g. the value in the Customer Name column is inserted into the Customer Name field on the input screen).
<<<<<< =================== >>>>>>
Q. 97: What is Keyword driven testing?
A further enhancement to data-driven testing is the use of keyword-driven (or action word) testing.
Keywords are included as extra columns in the data-table. The script reads the keyword and takes the appropriate actions and subsequent path through the system under test.
Conditional programming constructs such as IF ELSE statements or SELECT CASE statements are required in the test script for keyword-driven testing.
<<<<<< =================== >>>>>>
Q. 98: What are the benefits of using test execution tools?
The efficiency and effectiveness benefits that come from the use of a test execution tool take a long time to come to fruition. First, the selection and implementation process needs to be planned and conducted effectively.
The long-term benefits of test execution tools include:
1) Cost savings as a result of the time saved by running automated tests rather than manual tests.
2) Accuracy benefits from avoiding manual errors in execution and comparison.
3) The ability and flexibility to use skilled testers on more useful and interesting tasks (than running repetitive manual tests).
4) The speed with which the results of the regression pack can be obtained.
5) Note that benefits come primarily from running the same or very similar tests a number of times on a stable platform. Therefore they are generally most useful for regression testing.
<<<<<< =================== >>>>>>
Q. 99: What is the purpose of using Test Harnesses?
Test harnesses are also known as unit test framework tools.
These are used primarily by developers to simulate a small section of the environment in which the software will operate.
They are usually written in-house by developers to perform component or integration testing for a specific purpose.
Test harnesses often use �mock objects� known as �stubs� (which stub out the need to have other components or systems by returning predefined values) and �drivers� (which replace the calling component or system and drive transactions, messages and commands through the software under test).
<<<<<< =================== >>>>>>
Q. 100: What are the benefits of using a test harness to generate XML messages produced by the mainframe?
There are several benefits that can be obtained from using a test harness that iexplore.exe� XML messages produced by the mainframe:
1) It would take a lot of time and effort to design and execute test cases on the mainframe system and run the batch.
2) It would be costly to build a full environment.
3) The mainframe code needed to generate the XML messages may not yet be available.
4) A smaller environment is easier to control and manage. It enables developers (or testers) to perform component and integration testing more quickly as it is easier to localize defects. This allows a quicker turnaround time for fixing defects.
Part – 21 of the Crash Course – ISTQB Foundation Exam
Access The Full Database of Crash Course Questions for ISTQB Foundation Level Certification
An expert on R&D, Online Training and Publishing. He is M.Tech. (Honours) and is a part of the STG team since inception.