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

what is the difference between HLD(high level design)and LLD(low level design)?

5 Answers   Syntel,


What does the scope contain in a test plan

1 Answers  


if we got new bug in the retesting due to errors in the code is the bug regression bug or retesing bug

3 Answers  


If the bug is show stopper and the developer is not avilable for 1/2 days then what tester will do..........? Please give the answers.

1 Answers  


3) What is PDCA Cycle?

4 Answers   Mind Tree, Scope International,






What is meant by back-end testing?

3 Answers   Accenture,


As a Tester how we choose black or white box testing technique for a application?

4 Answers  


1)Asked to write test cases on Print option in a MS word application 2 Give scenarios for the following: throw a ball into bucket full of water and write scenarios so that water does not spill out. Explain test stratergy. What is localization. What do u test in localization?

1 Answers   Bally Technologies,


How can i understand about the concept of "State Transition" Testing. Can any Testing genius can suggest me.

2 Answers  


which knowledge is must for tester

11 Answers  


How do you test the server response time? Do you use any tool? If so what tool? If not how can it be done manually?

1 Answers  


HI I HAVE RECEIVED MY APPROVAL LETTER AND OTHER DOCUMENT BUT IN JANUARY LAST WEEK I GET A INTERIEW DATE IS THAT POSSIBLE OR I AM TOO LATE ,WHAT TIME H1B PITTISION EXPIRED.ADVANCE THANKS....

0 Answers  


Categories