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

How did you resolve conflicts present in Object Repository?

2072


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

6150


Differences between text and test area checkpoints?

1054


Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?

1787


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

2057


How many types of parameters are available in quicktest professional?

946


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1904


Is QTP supports Unix. If yes, then how the test automation is done?

2140


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

2057


What are the advantages of parameterization ?

1015


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

1886


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

1998


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

2025


Explain the concept of object repository and how QTP recognizes objects?

989


What is ‘object spy’ and what is the function of object spy in qtp?

1036