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 / abc

You can add one more column in Datatable and what ever the
row's you need to execute you can give different value
(suppose you need to execute 2 3 4 rows enter 1 for these 3
remaining make it 0 and write condition)

Is This Answer Correct ?    0 Yes 0 No

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

Answer / arjun

if you need execute middle steps only then use loop condition.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / pravati

if u use qtp tool then comment the two steps what u dont want to execute...then run the script

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

give one example where you have used regular expression?

6 Answers   Ordain Solutions,


What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance..

12 Answers   Wipro,


when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '[string: ""]' in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the mistake Could you please tell me.

5 Answers  


images are dynamically changes how to compare two images with out using the bitmap

0 Answers   Hexaware,


what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.

11 Answers   Infosys, Intel,






what are the files created after executing QTP script file, please specify the file names with extensions

1 Answers   Virtusa,


How would you parameterize the text field "Country" and the same "country" when it appears as combo field on other page with text field city and same with City combo field?

1 Answers   Adobe, Patni,


how can i call an external action,which is not added external action of an action?

2 Answers   Ordain Solutions,


What are the different types of Database checkpoints in QTP? when they are used?

2 Answers  


Is it possible to convert QTP scripts to Silk scripts?

2 Answers   Sierra Atlantica,


Explain the Load testing process?

1 Answers   Crea,


Can we use index on view?

0 Answers   Wipro,


Categories