Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run Time Error '-2147417851'(80010105);
#5
Not Solved
Hi Saket,

My Framework Contains a Driver Script,3 Functional Libraries to create an instance of objects in Dll and a Dll scripted in VB.

Dll Contains Four Classes divided according to the functions written in it like Data Entry Class, Test Case Class and Utilities Class.
And the below code is from one of these class:

Code:
If Not CBool(CStr(JavaDialog("GTMLogin").Exist(0))) Then
SystemUtil.Run "iexplore", Environment("App_URL")
End If



The Public Property variable is defined for this:

‘while creating instance:

Code:
Public Property Set JavaDialog(mObject)
    Set mJavaDialog = mObject  
    mSC.AddObject "JavaDialog", mJavaDialog, True
End Property

‘while checking for Login Dialog:

Code:
Public Property Get JavaDialog()
   Set JavaDialog = mJavaDialog
->End Property

Everything works fine until I add below code in my driver script:

Code:
If qtpRepositories.Find(SourceFileC) = -1 Then ' If the repository cannot be found in the collection
    qtpRepositories.Add SourceFileC, 1 ' Add the repository to the collection
End If

In Dll After "End Property" line It gives that Run time Error.

Please suggest me how to get rid of this error.


Attached Files Image(s)
   
Reply


Messages In This Thread
RE: Run Time Error '-2147417851'(80010105); - by ShrikantBiradar3449 - 12-16-2010, 11:41 AM

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
  Trying to create List box in excel sheet at Run time with values yes No JACKSPARROW 0 1,707 01-17-2017, 11:05 AM
Last Post: JACKSPARROW
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,634 01-24-2015, 06:52 AM
Last Post: Awzar
  Browser("BrowserName").Back gives General Run Error... deminiek 13 18,655 12-10-2013, 12:53 AM
Last Post: rizvia

Forum Jump:


Users browsing this thread: 4 Guest(s)