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)

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1862


How to write business scripts using object repository with different scenarios

1388


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

1341


How many tabs are available to view your test in a test pane and what are they?

562


Can the user toggle between using Local OR and shared OR for the same action?

564






How to add verification steps to tests?

9130


How will you check that your test cases covered all the requirements?

566


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1492


What is QTP’s model for test creation?

680


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

1589


In qtp, how you can get the last character from a string?

556


How many add-ins comes by default with quicktest professional?

554


What is the difference in testing a client-server application and a web application?

586


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

1827


What is the expert view?

555