what is qtp automation frame work,what is the use of that
frame work?
Answer Posted / sankar bandaru
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
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is keyword driven framework?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
How many types of recording facility are available in quicktest professional?
In qtp is it possible to check broken links of a page?
What are the types of object repository in qtp?
What is an object repository?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
How to use descriptive programming?
what is error and fault in terms of software quality?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
What is different command used in command Prompt while using QTP?
How can you write the scripts that operate on different objects depending on run-time information?