what is qtp automation frame work,what is the use of that
frame work?
Answers were Sorted based on User's Feedback
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 |
Answer / raja mallanna
For QTP Automation framework you visit:
www.gcreddy.com
in that website, you can get complete information on
frameworks and vb script for qtp and QTP script examples
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / gopi
Frame work means sequential flow of process.
Frequently used functionality can be stored at a common
storage point and call them whenever they required.
In this we maintain well defined folder structures for each
and every action.
Data driven framework: we execute the script by using
different types of input data i.e multiple data.
for this framework we maintain data sheets and use that
sheets in our script for validating the application.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / preethi sekar
Framework is a schema / Abstraction of how the test
scenario or test procedure shall be structured
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kalyan
frame work is nothing but,A collection of folders structure
and placing all files in to corresponding folders..
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / venki
framework is a generic task, to be performed in an
effective,efficient and optimized way.it is developed by
experts in the compeny and used by many users.
ther e are 4types of framewoks.
1.leniar framework.
2.modular framework
3.key word driven
4.hybrid
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sathish
Framework is a group of entities that assist smooth
automation. These entities include your library files, the
driver script, the repository etc. 3 types of framework
available as of now is Keyword, Data Driven and Hybrid..
One common framework that is becoming very popular now is
the BPT framework .
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / raghava reddy
The Frame work is a Generic work or set of guidelines desired by group of experts to perform automation testing(Task) and Efficient ,Effective and Optimization way.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ajay
Very simple automation framework is a generic work or set
of guidlines which is design by group of experts used by so
many people to accomplish a task in a effective,efficient
and optimized way.
Threre are meny times of framework are their but most
popular frameworks are:
1.linear framework
2.modular framework
3.keyword driven framework
4.datadriven framework
5.hybrid framework
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the entry criteria and exit criteria for your test automation
Write test cases for copy and past password in password field ?
How to get data line by line from web element
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
How many scripts did you have?
Hi I'm a beginner in QTP. So far I'm ok with Descriptive but stuck while implementing Hybrid Frame work. 1. I have created a Keyword file with .vbs ext set home=description.create home("title").value="Welcome to feests" set reglink=description.create reglink("name").value="register yourrestaurant / take away" set fbusname=description.create fbusname("name").value="business_name" set dispname=description.create dispname("name").value="display_name" set restchkbox=description.create restchkbox("name").value="restaurant" set cuiscate=description.create cuiscate("name").value="cuisine_categery1" set addline1=description.create addline1("name").value="address_line1" set pstcode=description.create pstcode("name").value="address_postcode" set cntry=description.create cntry("name").value="address_country" set mlandno=description.create mlandno("name").value="landline_no" set emailadd=description.create emailadd("name").value="email" 2. I have created an Function Library file as follows Function launch() bro="C:\Program Files\Internet Explorer\iexplore.exe" url="http://www.feests.com/" invokeapplication bro&" "&url Browser(home).page(home).Link(reglink).click End Function Function restregistration(karthik, teja, Ameerpet, UK) Browser(home).page(home).WebEdit(fbusname).set "karthik" Browser(home).page(home).WebEdit(dispname).set "teja" Browser(home).page(home).WebCheckBox(restchkbox).set "ON" Browser(home).page(home).WebList(cuiscate).Select "Indian" Browser(home).page(home).WebEdit(addline1).set "Ameerpet" Browser(home).page(home).WebEdit(pstcode).set "UK" Browser(home).page(home).WebList(cntry).select "United Kingdom" Browser(home).page(home).WebEdit(mlandno).set "023775347" Browser(home).page(home).WebEdit(emailadd).set "email@gmail.com" End Function 3. This is how I have called the keywords and Functions in QTP executefile"C:\Documents and Settings\karthik\Desktop\keywords.vbs" executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs" launch restregistration karthik, teja, Ameerpet, UK, "email@gmail.com" Now the issue is, I'm trying to enter the email ID in WebEdit field. But I dont know what is the mistake I did, if I run the script in QTP it is showing following error Error: Expected identifier Line (2): "executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs"". Can someone help me fix this, please!!?
if i have 10 actions and out of 10 actions last 3 actions i renamed will my script exicute sucesfuly r not? changed actions where i can see?
Which scripting language QTP is using?
In how many ways we can add check points to an application using QTP.
explain keyword driven framework?
Hi, My problem is as follows. I recorded a script that created Object repository of each action i recorded. But later I added one more step (which was to enter data in a textfield) into the script through expert view. But as no repository for this newly added step exists in the test, my script fails. So please help me to sort this problem that how can I create object repository of a new step in an existing test. Thanks everyone
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?