Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

what is Smart identification

1 Answers   Wipro,


Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.

4 Answers  


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

0 Answers  


Will QTP gets installed on virtual PC.What is the maintenance number to be given

1 Answers  


what is reusable action and how the same can be implemented (process)?

2 Answers  


What type of automation frame work you are using?and why?

2 Answers   Wipro,


QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?

1 Answers  


I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop the execution i want to continue the execution up to last line and display the test result window, wts the syntax we use?

3 Answers   BirlaSoft, Collabera,


How is test case write?

0 Answers  


Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts?

2 Answers   Datamatics,


How you can replace string in qtp?

0 Answers  


How to load the object repository at run time?

9 Answers   TCS,


Categories