Wht is the Difference between Test Harness and Test Driver
Anybody can explain it..Thanks in advance...

Answers were Sorted based on User's Feedback



Wht is the Difference between Test Harness and Test Driver Anybody can explain it..Thanks in advan..

Answer / hi

a test harness or automated test framework is a collection
of software and test data configured to test a program unit
by running it under varying conditions and monitor its
behavior and outputs. It has two main parts: the test
execution engine and the test script repository.
Test harnesses allow for the automation of tests. They can
call functions with supplied parameters and print out and
compare the results to the desired value. The test harness
is a hook to the developed code, which can be tested using
an automation framework.
A test harness should allow specific tests to run (this
helps in optimising), orchestrate a runtime environment, and
provide a capability to analyse results.
The typical objectives of a test harness is to:
- Automate the testing process.
- Execute test suites of test cases.
- Generate associated test reports.
A test harness typically provides the following benefits:
- Increased productivity due to automation of the testing
process.
- Increased probability that regression testing will occur.
- Increased quality of software components and application.


Test Driver is
Test Driver:
We are using in “integration testing” if program is not
ready for doing the testing in that time we are using
drivers and stubs.
These are using as like dummy programs.Upto completing the
development we are using these drivers and stubs.

Is This Answer Correct ?    7 Yes 0 No

Wht is the Difference between Test Harness and Test Driver Anybody can explain it..Thanks in advan..

Answer / litan

test harness means ready to execute test case.
test harness=test bed(test environment)+ rivewed test cases

Is This Answer Correct ?    2 Yes 0 No

Wht is the Difference between Test Harness and Test Driver Anybody can explain it..Thanks in advan..

Answer / sri

Test Harness and Test Driver is same.
Test Harness is A program or a test tool used to execute a
tests.

Is This Answer Correct ?    2 Yes 0 No

Wht is the Difference between Test Harness and Test Driver Anybody can explain it..Thanks in advan..

Answer / s. rajarathnam

Test Harness:

To generate Test Data by combination, for to test the
Application under regression testing. For Ex if there are 5
Fields in the Customer Enquiry First Name, Last Name,
Address1, Address2 and city, here if you have only 5 set of
original data, with the help of Test Harness Technique we
can generate upto 5X5X5X5X5 = 3125 Test Data can be
generated in that 5 Test data are positive Testdata and
3120 Testdata are negative testdata

Test Driver:

Test Driver is one of the Frame Work For testing the
Application in Automation. Test Driver Consist of 4
Component 1. Spread Sheet, 2. Script Folder, 3. Object
Repository Folder, 4. Main Script.

The Generic Script file should be saved in the Script
Folder and the Appropriate Object Repository File should be
saved in the Object Repository Folder.

In Spread Sheet, it should contains sino, Scenario Name,
Script Path, Object Repository Path, Flag.
in the Script Path Column we have to enter the Correct Path
of the Script and in the Object Repository Path Column we
have to enter the correct path of the object repository.

Flag Column contains the Yes or No (i.e) to execute or not
execute the script.

In the Main Script we are going to import the Spread Sheet
and we are going to get the value of the Flag. if the flag
value is "Yes" then we load the object repository file in
the object Repository and execute the script File. If the
Flag Value is No Control will navigate into the next line.
If there are 20 scenarios then control will to all the 20
lines and execute the script depending upon the flag value.


S. Rajarathnam

Senior Test Associate
CS Software Solutions inc Pvt Ltd
04428191336

Is This Answer Correct ?    0 Yes 1 No

Wht is the Difference between Test Harness and Test Driver Anybody can explain it..Thanks in advan..

Answer / amit

Both are different.

Test Harness - It is nothing but the test bed where testing
should be performed.

Driver - These are calling function used during top down
approach in integration testing.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Manual Testing Interview Questions

Can Any one tell me How to test Stand alone application? wht are the major points to cover & how performance is tested of this application?? can any 1 tell me its bit urget for me guys.

4 Answers  


Did you ever worked with BA's?

1 Answers   Standard Bank, Wells Fargo,


what is installation in software referred to as?

2 Answers  


5. What do you like about each of the Web sites?

0 Answers  


What r the Macros?

1 Answers  






Rightway global solutions, madhapur, hyderabad is a good institute for software testing?

0 Answers  


In Manual testing BDD meaning

1 Answers  


How can you report the defect using excel sheet?

7 Answers   AppLabs, WebEx,


how to create automation frame work ?

0 Answers   ITC Infotech,


why testcases are written and what is the importance?

0 Answers   Technosoft,


Hi, Glamrous Should I write the test case for dropdown field For Above: -ve test case Test Case Name Expected Esult Without selecting Category - Default category should get select Is this a valid test case?

2 Answers  


What are the difference between Water fall model and V- Model? Which one is better? Why 80% of Software companies using Water fall model nowadays?

5 Answers   iGate,


Categories