framework defines how to approach for scripting .
frame work may change form company to company & project to
project.
it may be recording or descriptive
Automation Frame work is nothing but Common Name Conviction
where all the team members should follow same names(like
OK ...)while updating in the object repository in order to
avoid confusion.
Automation Framework is nothing but the way we r doing
automation is represented in a systematic way with proper
planning like Initial Setup(setting up shared
repository..), Tool configuration,Test Data files,library
files,Script
generation,Enhancements,Synchronisation,Exception
handling,Batch test,maintaning the scripts....all whichever
related to our automation plan.
Thank& Regards
Lokesh Kanithi
automation frame work is nothing but a set of guidelines
designed by expert to accomplish a task in an
effective,eficcient and an optimised way.
there are 4 different types of frame work 1)linear 2)
modular 3)keyword 4)hybrid
max we follow keyword framework
keyword frame work is nothing but creating a software
structure like
1)scripts 2)object repository 3)test data 4)recovery
scenario 5)log files 6)library files etc
1)create scripts and save it in scripts component
2)create shared o.r and save it in o.r component
3)create test data and save it in test data component
etc
after creating all these components include the files or
components to script or qtp and execte the script
frame work is nothng but Test script modulatary frame
work.set of assumtions and concepts and practices that
provide supported for automation s/w testing.
please let me know if u know wat is the exact meaning of
the framwork, becoz.....what are all the answers mentioned
above are not perfect answers...., i am not satisfied with
that. Give me the exact meaning of the Frame work.
Automation framework is one....it is a test plan for
automation testing which drives entire automation testing
in a sytemamatic and scientific manner to execute the test
script like Main Script--->DriverScripts--->Environment
variables, Library files, Functions, Test Data(data table -
Parameterization.
Here MainTest Script will call the DriverScripts
DriverScripts will call the required Env, Lib files,
Func.....etc.
So the entire test will be executed/carried out in a flow
like explained above.(This comes under Keyword Driven
Framework).
automation framework is a practice followed by each & every
company,in which set of test script are executed step by
step in a systematic way without any manual interrption.
there are different types of automation frame work followed
by different company they are
data driven automation frame work
key word driven frame work
hybrid frame work
Automation Framework is used to automate testing an
Application by linking all the scripts, test data and
functions laying as sepearte files(XML,Excel,VBS....)
The Framework would call these file based on the
conditions specified in the framework and would continue
execution of the testcases on the Application.
We could mention Test Scenarios, Testcases and their
TestData for this execution in an external file, which
would be called by QTP Framework for Test Execution.
The Automation framework is selfdesigned and could
vary based on the Application and the developer of the
framework.
In real time projects, we use to call, Frame work as a
folder. This folder contains the components such as ,
Object Repository, logs ,test data,script,result...etc. so
whatever files are created to develop a script are stored
in a separate folder, which is nothing but a framework.
Framework is a well organised structure of Testing
components which provides support for Automation setup.This
framework architecture would contain Driver Scripts,Test
cases, Test data storage, User defined Function and Finally
Automation Engine which may QTP or Winrunner. the
Automation Tool depends on test scripts and environment
support.
Automation framework is a structured approach to test an
application. It provides the systematic folder structure
containing the library files, user defined functions, data
driven files and etc. It's Classified into two types, data
driven,key word, and combined of these two is called hybrid
frame work.. In industry most of the applications are using
data driven frame work.
Keeping the all the input files in a spread sheet and
running the driver script will help to import the data to
the application.
this is a generic work or set of guidelines to perform a
a specific task in an otimised , effective and eficient way.
this is usually done by experts so that all the impressed
people can work on that
Automation Framework is the architecture based on which
automation for a particulat piece of work is decided.This
architecture decides which tool to use,which coding to
use,what do code and what are the important functionalities
to automate.
Framework is nothing but the core architecture for any
application.it is simillar to a plan but only difference is
that it decides the technical aspects of the project.
Frame work is the Approach or we can say the Architecture
that we follow for a project. The type of frame work you
choose depends on the project.
There are so many classification's on the type of frame
work some of them are:
1. Module driven.
2. Data driven.
3. Keyword driven.
4. Hybrid driven.(Data driven + Keyword driven)
An Automation Framework is collection of
assumptions,concepts and practices you bring in while
developing the automation project, so it helps in
constituting a work platform or support for automated
testing.It would be great, if the framework is application
independent
Read below blog to know more
http://testingideas.wordpress.com/2008/08/12/what-is-a-framework-in-automation/
Automation frame work will work like a raper between your
application and your tool. it will reduce the effort of your
programing .It will change from one company to another company.
Fraqme work is the common repository or common storage area
, where libary functions,actions ,dll's r present & test
engineers use them as per their requirment.
we r using modular & functionnal decomposition type
framework, in which we first divide our requirment into diff
modules , then diff modules to diff functionalities.and for
each functionnality we use diffrent actions. in this way we
use framework in our project.
Framework is nothing but creating the folder structure and
placing all the files into their corresponding folders. We
create folder structure like this:
1) Setting
2) Result
3) Environment
4) Object Repository
5) Recovery Scenario
6) Data
7) Library
8) Batch
9) Test
10)Result
11)Document
And create all the necessary action and place/save all the
files into their respective folder. And make all the action
as reusable. And Call the action where ever it requires.
Frame Work: Is Like a central directory that stores or keeps
files of different environment i.e Script, Action, Library,
Object Repository, Recovery Scenario, Result etc.
Automation Framework: it is nothing but a
Standard/Procedure/Guidelines/process which is use to
Automation Planning with respect to AUT.
Linear Framework: If your application is supposed to
Regression run on Local System then this framework is
better.
Modular Framework: If AUT is supposed to Regression run in
which More than one Action has to be performing for the
same script then Modular framework is better. You might be
making your test Modular by dividing your test into many re-
usable actions and either any action can call any of the
action within that test.
Keyword Driven Framework:
It sound like business process testing where you might be
able to write business logics/code and develop your script
and those scripts can be call from outside of your test.
Moreover there might be various functions libraries to be
build and to be use, Recovery Scenarios, OR maintenance etc
will provide your test Reusable.
Hi Friends ,I want to Know name of the Site for the QTP
Help and the Best Book through that I can start the QTP
Practice here also whare can I download the QTP Users Guide
I search I was Unable .
Thanks Rag...
One more question, How we test the dynamic images which
frequently changed?Using the bitmap checkpoint r any other
options available.... Can u give the steps pls...
Thanks
Hi,The question is write a script for the following
scenario.
scenario:in a job portal i entered QTP 3yrs testing then
click search button.then it displays results like
Test lead bangalore (here is a checkbox).
Test lead hyderabad check box
so on...
question is if test lead position in bangalore then
checkbox shld be enabled automatically..
I am using descriptive programming for my project.when QTP
deosn't identity or recognize a object by record and
playback method,is it possible to make QTP identify that
object using descriptive programming?
Note: The object doesn't have unique properties and same
properties used in Record and playback are only available,
no extra properties are defined.