What is Test Harness, Anybody can explain in Detail. Thanks
in advance.

Answers were Sorted based on User's Feedback



What is Test Harness, Anybody can explain in Detail. Thanks in advance...

Answer / preethi

In software testing, 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 monitoring 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 optimizing), orchestrate a runtime environment, and
provide a capability to analyze results.

The typical objectives of a test harness are to:

* Automate the testing process.
* Execute test suites of test cases.
* Generate associated test reports.

A test harness may provide some of 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.


with regards
Preethi.G

Is This Answer Correct ?    35 Yes 2 No

What is Test Harness, Anybody can explain in Detail. Thanks in advance...

Answer / hlf

A test harness provides a mechanism for controlling or
applying a test.

Is This Answer Correct ?    8 Yes 2 No

What is Test Harness, Anybody can explain in Detail. Thanks in advance...

Answer / prasad m

It is a huge benefit to separate the data from the test scripts. So, another part of the test harness would be the data repository. Here, we use several tables to identify elements and their properties and their relationships among different environments. By using this method, we can pull the element attributes for a given element based on the environment in which we are running our test. This allows the elements to have different properties in different environments, and we never have to use an if-then-else statement to determine which properties to use.

Remember that decoupling is good, so separate components of the framework into the smallest pieces you can manage. You then have the added benefit of being able to replace components with better ones if they become available. If a new engine comes out, simply change the engine. This may require a rewrite of your test logic, or test scripts, but you may be able to do this quickly using regular expressions, or a code conversion tool. If a better database comes out, change the db. If you code it right, all you have to do is change a connection string and your queries if needed. It may be a lot of work, but if the end result is faster and more efficient automation, it may be worth it.

Is This Answer Correct ?    0 Yes 0 No

What is Test Harness, Anybody can explain in Detail. Thanks in advance...

Answer / ks thangavel

test harness is nothing but aspect which affect the test
environmental called test harness


KS THANGAVEL

Is This Answer Correct ?    3 Yes 24 No

What is Test Harness, Anybody can explain in Detail. Thanks in advance...

Answer / shaleni

Test Harness is a Tool which used in Telcom Testing.
That is mainly used to test the Communication between the
protocols.

Is This Answer Correct ?    1 Yes 23 No

What is Test Harness, Anybody can explain in Detail. Thanks in advance...

Answer / arul

Test harness is testing the contents of the server. It may
be of anything say, Java test, Mime type test, audio, video
test etc.. It is done before the server is lanched to
custmer use(Commercial). We can say test harness as a pre
testing of the server(Contents in the server)
It is mostly done in mobile handsets(wireless).

Is This Answer Correct ?    2 Yes 24 No

Post New Answer

More Manual Testing Interview Questions

What are your greatest weaknesses?

4 Answers   Satyam,


where do we use checkpoints in real time?where they actually come into picture?

1 Answers  


I want test cases for CLI? can any one send TC for CLI?

0 Answers  


If u have to test the web page application & name, date & email are the important fields then how will u test it in the negative way?

1 Answers  


what techinques do u follow in suring testing?

1 Answers   ANZ,






i have 3 years of exp in manual testing, if i am attending any interview what kind of question i will get?

2 Answers  


what is build? what is build coniguration?

7 Answers  


explain fish model in detail?

0 Answers  


can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?

0 Answers  


Generally How do we do Test Estimation. Anybody can expalin this with example. Thanks in advacne..Venkat

4 Answers   IBS,


What is Independant Testing? When and where this type of testing will be performed?

0 Answers   Satyam,


Hi can any body clarify me plz What are responsibilities of a test engineer in the company,and how he communicates wiht t.l as well as test manager, In wich situation this type of i mean serious commnication takes place(give me one example).and how the interaction will takes place between tester and client can anybody plz clatify me

1 Answers  


Categories