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



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

Answer / 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

More QTP Interview Questions

How to analyzing test results using quicktest professional (qtp)?

0 Answers  


Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?

1 Answers  


what are the disadvantages of qtp? can linux support qtp9.2? how could get web address throu vbscript?

6 Answers   Quintegra,


LINUX environment supports QTP or not? LINUX environment supports QC or not?

4 Answers  


When we use 'ERR' object to handle the exceptions in the script, do we need to include any statement in the beginning of the script..??

2 Answers   DST Global Solutions,






HOW TO AUTOMATE CAPCHA IMAGES while creating Gmail account

2 Answers   TCS,


I am testing a website TheLancet in qtp 9.2 and running a script but its not working.Tell me if m doing anything wrong in the script. If Browser("TheLancet.com - Home Page").Page("TheLancet.com - Home Page").Link("Clinical").exists then msgbox "object exist" Else msgbox"object doesnt exist"

2 Answers   Rolta,


What are they Advantages and Disadvantages in QTP 9.2?

1 Answers   Infotech,


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

0 Answers  


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

0 Answers  


What type of problems one will face with QTP , if too many browsers are opened at a time?

2 Answers  


Do we get any issues if we run the test script on differentbrowsers?what are the options we need to set in QTP?

3 Answers   CTS,


Categories