Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
exit iteration
#8
Solved: 11 Years, 3 Months, 1 Week ago
Dear Raj and All,

This is the example for ExitTestIteration...Please explore your self according to your needs.

1)First create a column with Name as no in DataTable and then enter five values say 1,2,3,4,5 in each row.
Please find the attached Screenshot for this.

2)Just write the following code in expert view..

Code:
no = DataTable("no",DtGlobalSheet)

If no=2 Then
    ExitTestIteration
    
End If

msgbox no
3)Change the settings by like this...

File-->settings..>>Run..>>Select Run On All Rows.

In this example i am skipping no 2 from the datatable.

Regards


Attached Files
.doc   ExitTestIteration.doc (Size: 94.5 KB / Downloads: 301)
Reply


Messages In This Thread
exit iteration - by stevol - 07-09-2008, 12:51 PM
RE: exit iteration - by surya_7mar - 07-28-2008, 02:23 PM
RE: exit iteration - by stevol - 07-28-2008, 03:10 PM
RE: exit iteration - by Rajashekar Gouda - 07-28-2008, 07:20 PM
RE: exit iteration - by Rajashekar Gouda - 07-31-2008, 01:05 PM
RE: exit iteration - by somisays - 07-31-2008, 11:37 PM
RE: exit iteration - by Rajashekar Gouda - 08-01-2008, 12:12 PM
RE: exit iteration - by somisays - 08-02-2008, 02:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Object not found during the 2nd iteration of an Action call in a For loop BGunay 0 955 04-23-2020, 07:08 PM
Last Post: BGunay
  UFT Tool runs more than one iteration always cthossain 2 3,655 02-12-2017, 01:25 PM
Last Post: cthossain
  Function return value is not passed during the 3rd iteration premanand1979 0 2,240 10-16-2014, 09:40 PM
Last Post: premanand1979
  Iteration in Local sheets for UFT11.5 haithamQTP 1 3,170 02-27-2014, 09:12 AM
Last Post: supputuri
  Close on Exit Issue in QTP 11.0 EGBELL 1 3,160 02-02-2014, 03:39 PM
Last Post: EGBELL

Forum Jump:


Users browsing this thread: 2 Guest(s)