When I parameterize a script then for each iteration script
is executed from begining to end.

If I want to execute some middle steps multiple times using
Parameterization (avoiding begining and end steps), what is
the solution of this
(e.g. total steps are 1 2 3 4 5
and i want 2 3 4 only(not 1 nd 5)

Answers were Sorted based on User's Feedback



When I parameterize a script then for each iteration script is executed from begining to end. If..

Answer / praveen

You can use For loop like..

for i=2 to 4
datatable.setcurrentrow(i)
Browser("").page("").webedit("").set datatable("column
name", dtGlobalsheet)
next

Is This Answer Correct ?    2 Yes 0 No

When I parameterize a script then for each iteration script is executed from begining to end. If..

Answer / ravikanth

If we want to run the script of rows 2,3,4, we need to
select the option "Run from row __ to __" in File->Settings-
>Run tab.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

Add parameters during time in each row in one column

0 Answers  


How u prepare Test result summary in QTp?

4 Answers   CGI,


How you perform smoke and sanity testing using qtp?

1 Answers   Tech Mahindra,


Explain the concept of Output values in Quick Test Professional?

1 Answers   Crea,


what is descriptive programming in QTP? How can be done?

19 Answers   Accenture,






In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.

1 Answers  


how you have used object libraries? plzzzzz do answer

1 Answers  


Why u don’t like recording the script and writing the script

3 Answers   Wipro,


How we can add actions in the test using QTP?

2 Answers  


How to use debug tools?

0 Answers  


Wht is Smart Identification Mechanisam in QTP..Actually when do we this Technology means during Recording or running ....how is technology works. Anybody can expalin this .....Thanks in advacne

4 Answers   Siemens,


how can we compare descriptive programing with a regular expression

0 Answers  


Categories