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

How do you do batch testing in wr and is it possible to do in qtp, if so explain?

0 Answers  


What are Test case selection criteria for Automation?

2 Answers  


Hai Friends this is Rajesh , Is there any Site or Blog that Video tutorials of Qtp that can be free downloadable to Pc. Friends if any body know that site or blog please send me because i'm really in need for that because i cannot affordMoney in learning Course in Institutes due to Financial Problem . So please Forward that Site or Blog which provides Downloadable Video Tutorials in Free to PC , As My Friend is having PC thru that I'm planning to learn. So Kindly help me Friends if you are aware of that Site/Blog

2 Answers  


please tell me how to identify the index of the link in the web table .links are not constant.example i want to click the link in the inbox ,search the item and click the partcular mail.(mail links count is not constant)

1 Answers   IBM,


Can you write a script for to insert array elements in an excel A to Z columns only. if the number oe elements in the array is greater than the number of columns (A to Z), come to next row and proceed furthur. eah cell should contain only one array value.

1 Answers  






what is descriptive.create()in qtp?

4 Answers   IBM,


what is stlc and its contents?

1 Answers  


can anyone answer this question ........in the DICTIONARY OBJECT....i created the dictionary object in reserved object ok....here i have some sets of values ...now i want to retrieve the item i done too ok.......here my question is now i saved the test and close the qtp tool ,again i opened now i retrieve the same item in the dictionary is it possible ????. friends when i try to do this i am getting empty message box i mean no value will be retrieved ......ans me any one plz...

1 Answers   FSS,


How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

0 Answers  


How to Identify broken links in QTP

2 Answers   Ness Technologies,


what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

0 Answers  


I have a string "Redfort is in Delhi" how do u write vbscript for " Delhi in is Redfort"

4 Answers  


Categories