Posts: 42
Threads: 25
Joined: Mar 2009
Reputation:
0
07-29-2009, 05:26 PM
hi........
What are the guidelines that should be follow while creating a framework? How to create a framework?
2.There are 3-4 types of framework in QTP? Which framework should used at which condition ?
Posts: 3
Threads: 1
Joined: Jan 2008
Reputation:
0
07-29-2009, 05:40 PM
Hi ,
There are lot of framework models used in various company. Before automating you should know the advantages and disadvantages of these models and choose one which you think as best model.
Here is my framework model which i'm presently using in my company.
The framework has
Variable file - Used to declare the variable ,Before the test execution(i.e changing of host name.etc).
Common variable file - Used to declare the variable , which is commonly used by entire site.
Result logging file -Used to log the results in excel or other tools.
Function file - Used to define a set of scripts ,to call multiple time during execution.
Global repository - Used to define the objects globally.
Hopes this will helps you.
Cheer's
Jegan.