What is the QTP test frame work?

Answer Posted / sharad

Suppose you are given a task where you have to automate some
test cases for an application. When you are finished
automating the application, what would be your expectations
from the scripts you have created? Wouldn't you want that -
1)The script should run as intended without any issues.
2)The code and the flows should be easy to understand.
3)The scripts should be easy to maintain in case of any
changes.

All the above points can be achieved by using a proper
Automation Framework.
There are following types of framework
1)Modular Framework
2)Data Driven Framework
3)Hybrid Framework

Modular Framework is the approach where all the test cases
are first analyzed to find out the reusable flows. Then
while scripting, all there reusable flows are created as
functions and stored in external files and called in the
test scripts.

In Data driven framework, the data is NOT hard-coded in the
test scripts. Instead, it is stored in some external files.
The test script first connects to the external data source
and then extracts the data from that source. Most of the
times, excel sheets are used to store the data.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is supply chain management?

2091


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

1450


what is the advantages and disadvantages of using functions instead of re usable actions

1432


What is object repository in qtp?

561


Hi ,Can any one pleas explain how to test splash objects using QTP?

1909






Explain QTP using different development techniques ?

541


What is the difference between the design-time and run-time data tables?

560


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

1506


For which type of project the iterative model is suitable?

1386


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

1392


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1648


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1462


Can you write a script to check if the folder exists or not?

517


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1730


Have you used xml check point in your project? How?

550