Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting General Run Error
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi, I am getting Getting "General Run Error" exception when executing below code

Code:
1. For intObjectFound = 0 to Frame_ShipmentPage.Count
2.  Set WebElement_ActionBtn = Frame_ShipmentPage(intObjectFound).ChildObjects(ActionDesc)
3. If WebElement_ActionBtn.Count <> 0 Then
4.    Exit For
5. End If
6. Next

Getting error at line 2, I have verified all the properties of defined objects everything is ok in that part. Object descrition below for your ref.
----------
Code:
Set FrameDesc = description.Create
FrameDesc("micclass").Value = "Frame"
FrameDesc("html id").Value = "ext-gen.*"

set Frame_ShipmentPage =  obj_page_Welcome.ChildObjects(FrameDesc)
--------
Set ActionDesc = description.Create
ActionDesc("micclass").Value = "WebElement"
ActionDesc("innertext").Value = "Actions"
ActionDesc("class").Value = " x-btn-text|buttontext"
---------------
Normally what are the situations we get General Run Error.

Thanks in advance.

Suresh.
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,851 02-08-2019, 02:12 AM
Last Post: Ankur
  General Object Error(Find Object Error) akhandesh 1 3,597 02-24-2016, 01:05 PM
Last Post: sindhus
Rolleyes The test run cannot continue due to an unrecoverable error neerndg123 3 8,653 09-17-2015, 08:27 PM
Last Post: ananthakumarbe
  HI, i'm having a run time error ,please help? Awzar 0 2,632 01-24-2015, 06:52 AM
Last Post: Awzar
  Browser("BrowserName").Back gives General Run Error... deminiek 13 18,631 12-10-2013, 12:53 AM
Last Post: rizvia

Forum Jump:


Users browsing this thread: 2 Guest(s)