what is framework and types of framework? Need of framework
in automation? write folder strucuture of framework.
Answers were Sorted based on User's Feedback
Answer / 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
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
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
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
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
Actually we will have a clear floder structre in Quality
Center under Test Plan: Like..
1) Reusable Actions
2) Test Data
3) Recovery Scenarios
5) Master Action
6) Deleted Files
7) Test Log
If you need amy further info, please let me know.
|Is This Answer Correct ?||8 Yes||0 No|
Answer / qa guy
Framework is a set of assumptions,concepts to support
software test automation. There are many frameworks like
Data Driven, Keyword Driven, Hybrid etc.
Need for a framework is for ease of development and maintenance.
|Is This Answer Correct ?||5 Yes||1 No|
Answer / k.nagapawan
i giving idea, it is floder archieture,
folder divided into
sql for folder
testcase for one folder
vbscript one folder.....
|Is This Answer Correct ?||0 Yes||7 No|
can any body clearly explain about hybridframework with the explanation for files what ever we come acros in this frame work?
how can we do the frame work in qtp
how to write xml output check point bu useing descriptive programing .means without useing output check point
Did you use flatfiles in your projects?At what situation you used it?How can you upload flatfiles?
when to start the automation?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
How does qtp identify objects in the application?
What is the Difference between Environment variable and Globle variable,.. anybody can give me answer..Thanks in advance...
Object Repositories types, which & when to use?
how will u do database testing in qtp? how will u do the same with descriptive programming?
Is there anyway to have QTP go into a website and map out every object before I actually record any tests? I basically want to map out a website with all the objects and build a complete repository. The reason is because I'm running into issues with hierarcical objects. for example: Browser("ABC company- Home").Page("ABC company - Home").Link ("About Us").Click Browser("ABC company - Page 2").Page("ABC company - Page 2").Link("About Us").Click Both these links ("objects" and I use that term loosely as I'm trained mostly in OO programming) go to the same place but but the object heirarchies (pages) are different. I want a repository that will find any possible link on any possible page without having to manually record it. Is there a way to do this?
What is the concept of firewalls?