ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
Hello Guys,
Can anybody Explain me about Automation framework?? and how 
can we prepareAutomation Framework using QTP
 Question Submitted By :: Chandra Tiwari
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP
Answer
# 1
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 ?    2 Yes 1 No
Krishna Chand
 
  Re: Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP
Answer
# 2
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 ?    0 Yes 0 No
Venkateshwarlu
 
 
 
  Re: Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP
Answer
# 3
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 ?    0 Yes 0 No
Prasad Reddy
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What In-string function will do?  1
what are the metrics in general we use in testing Tanla-Solutions1
Hi, Can anyone write the following qtp script...please its urgent ·Navigate to Google in a new IE instance ·Search for the following word "Gap, Inc." ·Iterate thought the first 10 pages of google ·On each page collect the following ·The "blue" page title ·The "green" url ·Output all the data into a file named "test_output.txt" ·Format "Title – URL"  1
When should u feel that u can stop testing now? The following are few of the common Test Stop criteria:  2
How to use QTP for Regration testing, plz tell as with short Example of login window? plz tell as....  2
What is Tree view?  2
How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2  1
Can we add the function library directly from scripting in qtp instead of adding from resource tab? IBM3
How can we use XML in QTP?  1
What is diff between SDLC AND STLC? Nokia1
What will be the test script in QTP to test a ComboBox where a user has to select more than two items???? L&T4
Tel me what was the automation testing process you followed?  2
How can we test existence of a particular word in scentence using QTP tool. Thanks in Advance!!!!!  4
Explain script generated after applying database check point?  2
How to create an Action Template?  1
What is test automation framework?which framework does QTP follow?Need some practical explanation as to how u will start ur testing process following a particular framework? Sony2
If u don't have any Knowledge on perticular application but they give that application to u for Testing ? Then How we wil move towards testing on that application? HP16
what are the different Frame Works in Quick Test Proffessional testing Wipro4
what is the use of VIRTUAL OBJECTS? explain ?  4
What is the another extention name of library file.If that is exist than what's the differnce between them. Synechron1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com