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
what is supply chain management?
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
what is the advantages and disadvantages of using functions instead of re usable actions
What is object repository in qtp?
Hi ,Can any one pleas explain how to test splash objects using QTP?
Explain QTP using different development techniques ?
What is the difference between the design-time and run-time data tables?
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.
For which type of project the iterative model is suitable?
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.
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
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
Can you write a script to check if the folder exists or not?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
Have you used xml check point in your project? How?