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...

Hello Guys,
Can anybody Explain me about Automation framework?? and how
can we prepareAutomation Framework using QTP

Answer Posted / venkateshwarlu

hi
i like to give answer for keyword driven framework,

first we have to create a folder with project name then
create folders for testscripts fldr to save .mts
files,objectrepository fldr to save .tsr files, libraryfile
fldr to save .qlf or .vbs or .txt files,recover scenarios
fldr to save .qrs file, enviroment fldr to save .ini
or .xml files, testresults flder to save .txt, testdata
fldr to save .xls file.

then, we create script which is to be executed according to
keywords as fallows.

for ex:

var=datatable.value("Keywords", id)
select case var
case k1:

login()
openorder()
logout()

case k2:
login()
deleteorder()
logout()
...........

end select

specify the keywords in the datatable under the
corresponding column

then execute the script
and analyse the result

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Generic function to search for the unique link in webtable and click on it

3064


Where we can use the synchronization?

1013


What are advantages of test automation?

1144


is it possible to add sheets to excel at runtime

4029


Define object spy ?

1018


Explain how to use QTP to check broken links on a page?

1007


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3709


Write a QTP script to enter a keyword in to Google search engine?

1061


How did you use regular expressions in QTP and also in WR?

2637


desribe a situation where u faced a stressful situation and how did u cope with it

1857


How do you synchronization point through DP?

1078


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

2207


How to start recording using quicktest professional (qtp)?

1105


Explain data driven framework?

1077


How do we analyze the checkpoint results?

1037