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

Answers were Sorted based on User's Feedback



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

Answer / krishna chand

Hi,
This is very simple,
Generally we go 4 Keyword driven automation framework in QTP
For this just we need 2 create 4 files.
1.First record what ever u want and remove that script and
paste in to a note pad and make that file as a libraray
file with .vbs extension.
2. Create a recovery scenario file which u r exepceting the
exceptions with .qrs extension.
3. Create an Object Repository file with .tsr extension.
4. Create a data table file with .xls extension.

5. Combine all the above 4 files together.

Is This Answer Correct ?    4 Yes 3 No

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

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

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

Answer / prasad reddy

hi,

A frame work is an assumption and it is used to reduce the
maintenance of automation scripts.and the frame work concept
may various from application to application and it all
depends on the standards what we maintain. We have many
types of frame works but in general we have mainly 4 types
of frame works

1)Key word driven
2)Data Driven
3)Modular Driven
4)BPT(Business process Testing) which requires special
license in QC

In key word driven frame work is more or like maual test
case i mean in this we are creating keyword and we are using
the same in the Xl sheet and we are running this sheet only.

When the flow of the application is constant and we need to
test the application with different test data by that time
we are using this frame work

Modular driven frame work which is most popular frame work
and 99% success on in the automation and it is combination
of both Data Driven and Keyword driven .Here we are creating
all the common functions and application specific functions
by using this two types of functions we are converting the
manual test case in to the automation scripts and importing
the test data from the XL sheet by using the datatable
methods and .

By using the BPT frame all the people can easily test the
application i mean BA'A QA's Automation engineers here we
have drag and drop the particular screen in the application
and we can test it.

Thanks,
Prasad

if u have any doubts pls mail me
reddy.prasad05@gmail.com

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example

2 Answers  


What r the features of QTP9.2,other than QTP8.0 What r the extre features of QTP9.2.

2 Answers  


Can any suggest me what is exposure testing?

0 Answers   Value Labs,


How to capture data from images in QTP and produce them in Excel sheet ?

4 Answers   iFlex, QA InfoTech,


Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.

2 Answers  


After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans

0 Answers   TCS,


What are the differences between QTP 9.2 and 10? please explain e indetail......

2 Answers   Wipro,


Any one please tell me how to create framework in QTP (in detail). Is there any website for reference?

1 Answers  


BEst INstitute for QTP & SELENIUM

1 Answers  


What test you perform mostly? Regression or retesting in your testing process?

0 Answers  


How do we analyze the checkpoint results?

0 Answers  


what is Compile Module in QTP? what exactly it contains Functions or Actions?

2 Answers   GE,


Categories