what is framework and types of framework? Need of framework
in automation? write folder strucuture of framework.

Answer Posted / sandeep guttikonda

The word framework tell us it is am outline sketch or it a
planning we do before perfomring the task and also it
indicates what we do too.

Here in QTP frameworks are braodly divided into 4 types:
1) Linear Frmework
2) Action Framework or Modular Framework
3) Data Driven Framework
4) Keyword Driven Framework

Note: Any combination of above listed frameworks known as
Hybrid Framework.

Linear Framework: Here we prepare the script using record
and playback method.

Modular or Action Framework: Here we prepare the script
using Reusable Action. Here we have multiple action in role
play and follows Master Action and Sub actions (Reusable
actions) concept.

Data Driven Framework: Here we drive the script with the
help of data in the sheets.
Example: A login page having username and password and
login button.

We need to test the whether the members of the page are
successfully logging in or not into the page.

Hence here we right the script in one action and test with
multiple test data driving from the sheets.

Keyword Driven Framework: Here we prepare the script by
using the functions and drive the script with the keywords
(function Names).

Hybrid Framework: Most in End to end scenario cases (
System Integration Testing) we will go for Hybrid Framework.

Need For framework is as said above it help for easy
development and maintenance. It also helps for the
continuity of the work (development, BCP).

Folder Structure: This also come under one of the activity
in framework other are like proper naming conventions,
giving comment to the code, Documenting the important
things etc.

Actually we will have a clear floder structre in Quality
Center under Test Plan: Like..
1) Reusable Actions
2) Test Data
3) Recovery Scenarios
4) Functions
5) Master Action
6) Deleted Files
7) Test Log
If you need amy further info, please let me know.

Thanks.

Regards,
Sandeep Guttikonda.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How the smart identification is used in real time?Please explain with an example

1640


What is the difference in testing a client-server application and a web application?

653


wt is the use of multiple questions in QTP

1776


Object repositories types, which and when to use?

692


How can we conduct U-I Testing by using QTP??????

1522






Explain different type of event trigger option.

614


After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans

1758


how to test Web application using QTP software

1651


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1474


How did you resolve conflicts present in Object Repository?

1699


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1487


Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

1617


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1532


Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...

1415


How can you give wait up to 10 seconds in qtp?

684