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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1567


How do I get the QTP scripts result in xml format by using vb script function?

2011


How can I import environment from a file on disk?

763


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

1803


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1679


What is the use of Debug Viewer?

1682


What is the synchronization point in qtp?

754


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1551


In qtp, explain what is crypt object

819


What does it mean when a check point is in red color? What do you do?

799


How do know the number of browsers opened?

834


What are the main differences of qtp and win runner?

825


I want to do QTP Certification what is the pattern of Question paper.

1960


How to remove associated function library?

767


How can you write the scripts that operate on different objects depending on run-time information?

2353