what is keyword driven framework in qtp.

Answer Posted / nageh

hi this is nagesh
framework: It is generic work prepared by group of experts followed test engineers to preform a specific task in an efficient, effective and optimized way.

keyword driven framework:
first we will preparing folder structure(env, lib, test data, repository, recovery, test script file).
and first we will manually prepare
env file: (by default qtp will create env file. env file extension .XML, (QTP>file settings>env>click>user define>EX-name:nages, value:path of the application>save>.xml)and export this env file in env file)
library file: first u will take notpad and u will prepare lib file lib file extension is .VBS
Test data: u will prepare test data
Test script: and u will genarating the basic script and u will split it and u will set reusabul and saved it)
recovery secnario: u will prapare recovery secnario
if possible u will prpare rgular expressions file
and
u will take new page
and u will set in datatable some name like keys in that column u will prepare some variables ex:k1, k2. k3
after u will write in expert view
varibule name=datatabl("keys")
and u will create select case andu will
associate lib file, ev file, recovery file,and
u will create case function and run

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of functions available in qtp and explain ?

562


What is Distributed testing? How does UFT support it?

605


What is the quicktest professional testing process?

526


How to test background color and dynamic images during run time can you put the check point for moving objects?

1445


What is optional step in qtp? How you can add optional step in qtp?

526






Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1344


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

1009


What are the views available in quicktest professional?

558


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1279


What is the default add-ins in qtp?

552


Mention what are the different types of recording modes in qtp? Which will be used when?

557


How to suppress warnings from the test results page?

597


How will you check that your test cases covered all the requirements?

561


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1638


What is the parameterization?

575