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

How many ways we can parameterize data in QTP?

2 Answers  


i don't have any experience in qtp? Can u please tell me What work i have to do?

4 Answers  


What are the steps involved in recovery scenario wizard?

0 Answers  


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

0 Answers  


What is the use of "Registeruserfunc" when should we use it? Note:Please do not copy paste the date from QTP help. I tryed it.But I don't Understand where should we use exactly.

5 Answers   Livetek,


Hi can anyone pls suggest how to fetch username(system login name)and system name in to qtp.I am not using TD or QC.Thx

5 Answers  


I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?

12 Answers  


what is selective recording ? and normal recording?

1 Answers   iSoft,


i have qtp 9.4 ver software.but i don't know the license key. if anyone have license key please send it to my personal mail id(munir.reddy@yahoo.com

0 Answers   Wipro,


what is bultin funtaion in QTP &tell me five examples?

5 Answers   Kanbay,


Could someone explain me how to work on Out put values, explain with some example on Flight Reservation. I want to insert the out put value for the order No. Please explain the steps with some example.

2 Answers  


what is risks of testing a project?

5 Answers   AppLabs,


Categories