How to parameterize in QTP?

Answers were Sorted based on User's Feedback



How to parameterize in QTP?..

Answer / shyam.meghansh

Paramaterization can be done in this way:
#1. In the sheet "Action 1", write some parameters under
column A like name1, name2.
#2. In the code,
Browser("browser_name").Page("page_name).Webedit
("textbox_name").Set
Datatable("A","Action 1").
#3. From FSO u can do like this

datatable.import(<file name>)


In default sheet the data will be stored and in the script
u need 2 modify the code like this

Browser("browser_name").Page("page_name).Webedit
("textbox_name").Set
Datatable(Names,Gtsheet).

Names :- is the colum name and
GtSheet : - is global sheet in default sheet

Is This Answer Correct ?    14 Yes 1 No

How to parameterize in QTP?..

Answer / mukesh

Go to Keyword view, Select the value to parameterize. click
on configure value button for value to be
parameterize.Value configuration options window pop/s up.
Select parameter radion button and click ok button. The
script will automatically update in Expert view. We can
pass the parameters in the data table directly

Is This Answer Correct ?    13 Yes 2 No

How to parameterize in QTP?..

Answer / poonam

Paramaterization can be done in this way:
#1. In the sheet "Action 1", write some parameters under
column A like name1, name2.
#2. In the code,
Browser("browser_name").Page("page_name).Webedit("textbox_name").Set
Datatable("A","Action 1").

Is This Answer Correct ?    16 Yes 6 No

How to parameterize in QTP?..

Answer / dinesh1433

There are 4 ways of doing parameterize in QTP

1. Action Parameterization
2. Data Table parameter
3. Random number parameter
4. Environmental variable parameter

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

suppose we recording a web based project so for that we are using internet explorer after that if we execute that script in netscape then script will execute or not and one more thing is to exeute the script in any browser what to do

2 Answers   DigiTech,


can u Give Procedure to Handle Pop Window & write Code for that

2 Answers   CTS,


where is the bitmap checkpoint be saved

1 Answers  


Explain sub procedure of vbscript.

0 Answers  


Can you tell me any books or websites to learn VB Script for QTP ??

1 Answers  


How to Import data from a ".xls" file to Data table during Runtime.

10 Answers   BirlaSoft,


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

0 Answers   Livetek,


How can I test the unix shell in QTP

2 Answers   Persistent,


Can anybody give the script to addsheet, add column,add values under that column in the rows??

5 Answers   AZTEC,


what is object repository?

4 Answers  


what is the hierarchy to use properties in descriptive programming

0 Answers  


What is the disadvantage of smart identification?

3 Answers   Infosys, Sony,


Categories