what do u mean by test harnesses in qtp?

Answer Posted / rico

Wikipedia Say's:

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 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 are 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.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can u explain relative path architecture framework in qtp?

1545


Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you

1419


How to find array size in qtp?

548


i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

1728


what is the frame work in J-meter?

1570






i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1468


There is an excel file of 1 to 100 sheets how you will iterate through it?

504


What are the two types of repositories available, explain them?

567


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1599


What are the flaws in water fall model and how to overcome it?

541


How to use Environment parameterization? Explain with an example.

1454


could any help me please, how to work on visual foxpro application using UFT

1634


How to capture a window in QTP?

1507


Explain how you can find length of array in qtp?

582


How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one

1573