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   interview questions urls   External Links  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
How many ways we can parameterize data in QTP ?
 Question Submitted By :: Nataraj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How many ways we can parameterize data in QTP ?
Answer
# 1
we can parameterize data in three ways
in parameter and out parameter which is used with called 
tests
the other one keyboard view
the third one is testdata in script
 
Is This Answer Correct ?    0 Yes 0 No
Pargi.madhavi
 
  Re: How many ways we can parameterize data in QTP ?
Answer
# 2
Parameteriztion can be possible in the fallowing ways
1:Action or test or component parameters
2:Environment Variables
3:DataTable
4Random numbers
 
Is This Answer Correct ?    0 Yes 0 No
Chakram-smile Smile
 
 
 
  Re: How many ways we can parameterize data in QTP ?
Answer
# 3
Parameterization can be possible in the following ways
1:local data sheet
2:Environment Variables
3:DataTable
4Random Variables
 
Is This Answer Correct ?    0 Yes 0 No
Bharathchowdary
[IGATE]
 
  Re: How many ways we can parameterize data in QTP ?
Answer
# 4
MAy be another one way (QTP 9.0)
File->settings->parameter by passing input parameter
 
Is This Answer Correct ?    0 Yes 0 No
Ycy
 
  Re: How many ways we can parameterize data in QTP ?
Answer
# 5
In three ways we can parameterize the data in QTP
the first way is using Data Driven
Second way is using Keyword View
the third way is by directly give the variable names
 
Is This Answer Correct ?    0 Yes 0 No
Nagavishala.ch
 
  Re: How many ways we can parameterize data in QTP ?
Answer
# 6
parameterize three ways in qtp
1.keywordview
2.experview(parameterisation)
3.manually scripting


1.expertview(parameterisation):
              any application open for example calculator
and recording that application 
vbwindow("form1").activate
vbwindow("form1").vbedit("value1").set "10"
vbwindow("form1").vbedit("value2").set "20"
vbwindow("form1").vbbutton("add").click
         data table as import or automatically created
v1  v2 ev
10 20  30
20 30 50
30 40 70  datatable to be created
         in tools option datadriver(no recording script 
datadriver is disable and recording script data driver is 
enable)
          datadriver is selected after (for example

10   1   0) go parameterise and select parameterise option 
and select  v1 click on ok button first v1 is parameterised
(parameterise means 1 value changed in 0 and 0 value 
changed in 1) and same as v2
      finally click on recording as go to checkpoint and 
select standard check point click on result and to go 
parameterise and parameterise options select ev click on ok 
button
(second recording in checkpoint in result in script as 
beging cursor checkpoint as begining statement but finally 
datatable  3 lines created first line will be correct ,2nd 
and 3rd line will be error.
        but cusor will be ending means 2nd recording as 
chekpoint and select standard checkpoint selecting result 
option "vbwindow("form1").check checkpoint("result")"
this statement as ending data table in 3 lines are passed
and result willbe passed

(this is one type of method)

         vbwindow("form1").vbedit("value1").set datatable
("v1",dbglobalsheet)
vbwindow("form1").vbedit("value2").set datatable
("v2",dbglobalsheet)
                 global sheet means in qtp datatable in 
first in globalsheet (dbglobalsheet=1)
vbwindow("form1").check checkpoint("res")
  

           vbwindow("form1").vbedit("value1").set datatable
("v1",1)
       vbwindow("form1").vbedit("value2").set datatable
("v2",1)

                 datatable("v1",1) as given in a
                 datatable("v2",2) as given in b


              MANAUAL SCRIPT IN PARAMETERISATION
 a=datatable("v1",1)
vbwindow("form1").vbedit("value1").set a
b=datatable("v2",1)
vbwindow("form1").vbedit("value2").set b
vbwindow("form1").check checkpoint("res") IN THIS statement 
begining datatable in 3 lines 1 line pass 2nd and 3rd line 
failed  
     ending three lines will be passed
 
Is This Answer Correct ?    0 Yes 0 No
Kondalu
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What are the versions of qtp,What are the differences b/n them? TCS1
I have the following Doubts Please clarify me with examples? 1.Could QTP cover entire application? or part of the application? 2.Shall we rewrite(modify) the Manual testcase to automate? 3.How can I execute my scripts through client mechine which is not having QTP installation 4.Few objects are not being identified by QTP afeter one month. what could be the reason for this (I am using trail version of 15 days) Livetek2
How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP? CTS2
How can I pass values from one action to another in QTP ? Ordain-Solutions5
is we can import the object repository from external source. if it so then how?  3
While scripting do we use any reference. may be we have 2 0r more same objects that time how do we write scripts  2
how you have used object libraries? plzzzzz do answer  1
How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private  1
Do we get any issues if we run the testscript on different browsers? what are the options we need to st in QTP? BirlaSoft1
How we can do Batch testing in QTP? Kanbay4
In an(AUT) web application their are two frames as fraMain and fraFooter. Both the frames contain link which needs to be retrieved at a single step. I tried it using "Regular Expression" as fra.* but QTP doesn't recognize the object. So Plz help me out to get resolve the problem:-)  1
Explain about reusable actions? IBM2
Do you have any knowledge about Business Processing Testing in QTP Appulse1
how can i do QTP Certification can any 1 tell me . How 1 approch and who to approch Hydus4
How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance... Navis1
What is Virtual object wizard in QTP?  3
How to check the URL using Automation tool QTP  2
Tel me what was the automation testing process you followed?  2
How do you do batch testing in QTP, if so explain?  2
When Object Repository is available what is the necessity of having Descriptive programming which needs more scripting efforts.  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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