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

Hi, Can any body tell me that do anybody need any sort of software background to learn testing

3 Answers  


How do you test cookies?

10 Answers   ADITI,


What is the purpose of QTP in Manual Testing?

6 Answers  


What is test startegy?

0 Answers  


How to measure testing Productivity ?

0 Answers  






How to test Reports manually?

2 Answers  


how to prepare Test Environment for an application ?

1 Answers  


how to do cookies testing in realtime through manual testing? pls give some realtime example?

0 Answers  


what is remedy testing, explain that and how can use that

6 Answers   T systems,


What is Test Responsibility Matrix?

7 Answers   Landscape Technologies, Wipro,


What is the difference between the company site and the yahoo site?

6 Answers   Accenture,


1.what si the out come of testing.?

5 Answers  


Categories