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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 ?    4 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 ?    7 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 ?    2 Yes 1 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 ?    1 Yes 2 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 ?    1 Yes 1 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 3 No
Kondalu
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What r types of parametarizations?  5
How to capture a window in qtp or how to take snapshot of any window while writing script in qtp  2
I have a string "Redfort is in Delhi" how do u write vbscript for " Delhi in is Redfort"  2
What is the difference between two actions? Wipro1
how to select the work for complete automation and one more thing when u are going to choose automation Fidelity2
what is frame work?  2
how are environment variables used in real time projects (testing)?what answer should be given about this in interview.need real time explanation breifly?thnx in advance.  2
whai is meant by automation testing?  2
How to use QTP for Regration testing, plz tell as with short Example of login window? plz tell as....  2
I m new to QTP? Is it necessary to know VB for learning QTP for Automation? Can I understand QTP excellently Without practical automation?  2
What is test object model in QTP ?  5
What is the difference between gettoproperty and settoproperty?Explain with an example? Satyam4
Will QTP Support Japanese Language? Cap-Gemini2
does qtp need record and playback in realtime. plz tell exactly wat happens HP3
HOW TO HANDLE THE EARRORS WITHOUT USING RECOVERYSCNEORY? PLZ TELL ME IMMIDIATLY  1
How u call functions in QTP Function to calculate the length of characters in a word -  4
Differenece betwen Project and product ? when company need project or product? Accenture4
Can anybody give the script to addsheet, add column,add values under that column in the rows?  2
I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?  1
How to change the Default synchronization method time and where?  4
 
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