Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting General Run Error
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Code:
For intObjectFound = 0 to Frame_ShipmentPage.Count
   Set WebElement_ActionBtn = Frame_ShipmentPage(intObjectFound).ChildObjects(ActionDesc)
   If WebElement_ActionBtn.Count <> 0 Then
      Exit For
   End If
Next

In the above loop, the array base in dex will be 0. so the maximum value should be Frame_ShipmentPage.Count-1.

Code:
For intObjectFound = 0 to Frame_ShipmentPage.Count-1
Reply


Messages In This Thread
Getting General Run Error - by suresh vasu - 01-05-2012, 02:01 PM
RE: Getting General Run Error - by sundari_msls - 01-05-2012, 02:55 PM
RE: Getting General Run Error - by suresh vasu - 01-05-2012, 03:49 PM
RE: Getting General Run Error - by suresh vasu - 01-05-2012, 05:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  General run error when Exist fails msacks 1 1,866 02-08-2019, 02:12 AM
Last Post: Ankur
  General Object Error(Find Object Error) akhandesh 1 3,613 02-24-2016, 01:05 PM
Last Post: sindhus
Rolleyes The test run cannot continue due to an unrecoverable error neerndg123 3 8,671 09-17-2015, 08:27 PM
Last Post: ananthakumarbe
  HI, i'm having a run time error ,please help? Awzar 0 2,639 01-24-2015, 06:52 AM
Last Post: Awzar
  Browser("BrowserName").Back gives General Run Error... deminiek 13 18,734 12-10-2013, 12:53 AM
Last Post: rizvia

Forum Jump:


Users browsing this thread: 1 Guest(s)