How many ways we can parameterize data in QTP ?

Answers were Sorted based on User's Feedback



How many ways we can parameterize data in QTP ?..

Answer / chakram-smile smile

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 ?    36 Yes 2 No

How many ways we can parameterize data in QTP ?..

Answer / pargi.madhavi

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 ?    10 Yes 5 No

How many ways we can parameterize data in QTP ?..

Answer / bharathchowdary

Parameterization can be possible in the following ways
1:local data sheet
2:Environment Variables
3:DataTable
4Random Variables

Is This Answer Correct ?    8 Yes 3 No

How many ways we can parameterize data in QTP ?..

Answer / vikas choubey

Parameterization can be possible in the following ways
1:local data sheet
2:Environment Variables
3:DataTable
4Random Variables
5.Dynamic Array
6.Dictionary Objects

Is This Answer Correct ?    5 Yes 1 No

How many ways we can parameterize data in QTP ?..

Answer / mahi

We can Parametrize in four ways:
1.DataTable
2.Environment Variable
3.RandomNumber
4.ACtion or Test parameters

We can findout first 3 ways through navigation ;
tools--Datadriver--click on parameter button--click on next--click on parameter option icon---Parameter type dropdown we can find out three ways..

Note: before navigation we should have script statements which we want to parameter.

Is This Answer Correct ?    3 Yes 1 No

How many ways we can parameterize data in QTP ?..

Answer / nagavishala.ch

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 ?    5 Yes 5 No

How many ways we can parameterize data in QTP ?..

Answer / ycy

MAy be another one way (QTP 9.0)
File->settings->parameter by passing input parameter

Is This Answer Correct ?    4 Yes 5 No

How many ways we can parameterize data in QTP ?..

Answer / kondalu

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 ?    4 Yes 8 No

How many ways we can parameterize data in QTP ?..

Answer / venkatesh

We can parameterize in 3 types .they are
1.Through Methods
2.Through Physical Description
3.Through CheckPoin

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More QTP Interview Questions

I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can give script for this scenario?

5 Answers   AZTEC,


How can i initiate the objects to find uniquely in OR

0 Answers   IBM, Livetek,


Basically why we need testing?

14 Answers  


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

0 Answers  


when we open flight reservation.at that time where we found synchronization point() and wait function().i m confused .i want this answer.

1 Answers  






What are the challenges you faced during you entire life automation ?

0 Answers   Tech Mahindra,


During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.

2 Answers   Wipro,


I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?

5 Answers   Rogers,


how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function

1 Answers  


what is the difference between an Action and a function in real time

4 Answers  


Hi Currently am using Qtp 10.0 Lisenced product.. but when am adding objects to object repository from google page it was identifying as windows objects.. please help me!!!

3 Answers  


What is parameterization? What is syncronization pt.?

3 Answers   Semantic Space, SRM,


Categories