Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble with For loop
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
When the inner for loop is over the controls are passing to the next higher for loop but gets stuck in the first statement of the outer for loop saying the parameter is incorrect.
Here is the code I am using
Code:
For i = 1 To 4  ---- When the inner loop is complete the next value in ---------the datatable is not retrieved and the error pops up 'parameter --------incorrect'
Browser("x").Page("y").WebRadioGroup("RB").Select DataTable("RB", dtGlobalSheet)
For j = 1 To 8 ---- This loop executes perfectly
[statements]
next
next

Any ideas pleaseSad
Reply


Messages In This Thread
Trouble with For loop - by Mala - 06-15-2011, 10:36 PM
RE: Trouble with For loop - by manishbhalshankar - 06-16-2011, 09:44 AM
RE: Trouble with For loop - by Mala - 06-16-2011, 07:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble Getting UFT to Work with Simplified Chinese hhamilton 2 3,011 03-10-2016, 09:35 AM
Last Post: vinod123
  FOR LOOP shayk1985 1 5,301 12-13-2012, 11:35 AM
Last Post: sams001
  How to exit from a for loop silpavinod 2 9,873 10-17-2012, 12:55 AM
Last Post: agarwl.anurag
  for loop sia sharma 1 3,340 09-13-2012, 11:44 AM
Last Post: ksrikanth2k9
  Help with Loop LJENNE 1 3,187 08-10-2012, 12:32 PM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 2 Guest(s)