Question { TCS, 168608 }
what is qtp automation frame work,what is the use of that
frame work?
Answer
Framework is nothing but creating the folder structure and
placing all the files into their corresponding folders. We
create folder structure like this:
This frame work consist of
1. Config
2. Data
3. Repository
4. Recovery
5. Actions
6. Libs
7. Doc
8. Scripts
9. Results
1. Config:
We have .vbs file named as Config.vbs will be
savedin config floder, This file basically consist of all
Environment Variables, Constants Declaration, This file
will be loading with below Statemet before executing any
Script.
Ex: excutefile"C:/Framework/config/config.vbs"
2. Doc:
The docs Related to automation will be saved in
Docs.below are the few docs
ex: doc(Proof of concept)
.scenarios document
3. Repository:
we do prepare central OR for the entire Application
and will be associating to each & every script.tsr
4. Libs:
We save all functions in Libs & all functions will
be associated to all test Scripts. Libs files are 2 types
app libs: All application related functions
5. Actions: All Reusable Actions
6. Scripts: All Scripts
7. Recovery Scenario: All Recovery scenarios will be saved
here and will be associated to required scripts
8. Results: The Place Where our exection Result files
(logs) will be saves.
9. Utilities:
Function which can be useful to across all the
projects
-> Reading data from excel
-> invoking Browser