Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can any body explain me how to prepare QTP frame work with
an example?? alexander.gdk@gmail.com

Answer Posted / maseed

In QTP There are $types of frame works
1---Linear
For the beginers we use this type of testing
2---Modular
when ever we have reusability we use this modular frame work
login is a reusable fn for gmail, or yahoo we can save it in a drive for calling when ever you want in the current function
3--Data Driven
4---Keyword driven
For example Take E-Banking Admin Login , Banker Creation

Data Driven

we can use data driven for the parametrisation , means
Take Excel sheet Take Two columns as Uid,Pwd
Save Excel sheet in a drive
1'Add sheet to the data table
2'import data table of Existing sheet in to New sheet
3'Row-count
4 Assign variables
a = datatable.value ("uid","New_Sheet")
b = datatable.value ("pwd","New_Sheet")
Browser().Page().WebEdit(UserName).set a
Browser().Page().WebEdit(UserName).set b

Keyword Driven
we have three sheets in the excel
1--- module
2----testcase
3----keyword
we have to comare all three sheets
we use if statements in this frame work
if mexe = y then
we compare all three sheets in keyword driven to open the application
we use functions in this frames work , we call function names in the action to execute the script.............

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how will load the object during runtime?

2104


How you can replace string in qtp?

1084


what is clean sweep?

1996


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1905


How software tester can use constants and variables in scripts?

2246


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

992


What is difference between run time object and test object?

1067


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

2047


Tell me one scenario, the complex functionality you have automated in your project?

1985


What is the extension of qtp local repository?

1020


How to find Operating system information using QTP script?

1012


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

1938


Define virtual object?

1160


can u explain relative path architecture framework in qtp?

2017


Are Shared ORs read-only?

1068