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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello Varun, Kindly send me the material as well as sample question papers as i am interested in doing the certification. Kindly help me out in this regard. Here is my mail ID: bjyothitesting@gmail.com

1749


Hi I want to start online training couses for testing Any body plz help me out how to start the online courses Plz post the answer here or send me a mail for kommineni.1020@gmail.com

1715


What is difference between web site testing, desktop application testing and wireless application testing? what is the difference in testing strategy to test them?

1535


How many types of api testing are there?

652


I need your help, actually am facing lots of problem in interview am not able to answer in right way what ever questions asked about project. Could you please answer few questions? You must have seen the project I have mention as current project so please help on this, tell me how to explain project in details am prepare on HR module but don’t know how to explain it properly. If you can send me few documents like SRS, and few test case that will help me to get the clear picture, and want ask u what is tier1, tier2, and tier3 in project.

1485






What is severity and priority of bug? Give some example.

669


what is the critical defect in telecom domain?help me out from this prob its very urgent

3105


What is known as data-driven testing?

638


Unix question: 1)command to print a list of files containing a particular word. 2) what does a .profile mean. 3) what is a file server? 4) Command to move towards left in vi editor explain grep and find commands using example.

2077


What is a failure?

802


What is testing and maintenance?

716


what is coupling integration testing

1637


Hi Frnds, this is Aman.. can anybody tell me plz what kind of QA Interview questions are asked by IDS Infotech Ltd., Chandigarh? I have lil bit experience only in Manual Testing.. Plz answer my question as soon as possible.. Thnx in advance..

1918


how to connect oracle with test director? in testdirector we will be getting only reports? pls answer Thanks in Advance

1417


What knowledge I must have as a 3 yrs. manual tester??

1634