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

What is the difference between shared and local object repository?

615


what testplan contents and what test strategy contents,what is the diff b/w them

1651


How will you test a keyboard?

601


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1543


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1413






Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

589


What is the Command used to start the QTP

1533


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

1562


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1505


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2256


What is QTP scenario.

1734


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

1573


what kind of frame work you used in your last project?

1821


Where we can use the analog mode and where we can use the low – level mode?

565


How to create Reusable and Multiple Actions?

1713