Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
exit iteration
#7
Solved: 11 Years, 3 Months, 1 Week ago
Hi Sridhar,

It wub be great if u give the solution with example and code(if possible). I tried to use the function which u have given above are not working.

I wrote the script as below and it is working fine.

Code:
Dim currentNo
currentNo = DataTable("No.",DtGlobalSheet)
If Not currentNo= "2" and Not currentNo= "4" And Not currentNo= "5"  Then
Browser("Log In").Page("Log In").WebEdit("logon").Click
Browser("Log In").Page("Log In").WebEdit("logon").Set DataTable("No.", dtGlobalSheet)

End If

here i m skipping iteration based on values which are present in the row not on the basis of iterations. For expl if row consist value "2" then i m saying to skip that.

For for my knowledge shake i wud like to know what are all the functions we have in QTP to skip the iterations. pls give me the answer with example

Regards
Raj
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: 1 Guest(s)