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

My framework is of "Functional Decomposition" Type and all the Functions are written in a Dll with VB.

I am trying to run below the code:

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:
Code:
Public Property Get JavaDialog()
    Set JavaDialog = mJavaDialog
End Property

After excecuting the last line "End Property" I am getting following error:
Run Time Error '-2147417851'(80010105);
Automation Error
the Server threw an exception


I am facing this problem when I am associating the OR at run time:
Code:
Dim qtpApp
Set qtpApp = CreateObject("QuickTest.Application")
Dim qtpRepositories
Set qtpRepositories = qtpApp.Test.Actions("Regression").ObjectRepositories

'Load Test.tsr
If qtpRepositories.Find(SourceFile) = -1 Then ' If the repository cannot be found in the collection
    qtpRepositories.Add SourceFile, 1 ' Add the repository to the collection
End If

And when I comment this code everything works fine.

I am frustrated ,plz help.
Reply


Messages In This Thread
Run Time Error '-2147417851'(80010105); - by ShrikantBiradar3449 - 12-08-2010, 07:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  General run error when Exist fails msacks 1 1,678 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,597 01-17-2017, 11:05 AM
Last Post: JACKSPARROW
Rolleyes The test run cannot continue due to an unrecoverable error neerndg123 3 8,436 09-17-2015, 08:27 PM
Last Post: ananthakumarbe
  HI, i'm having a run time error ,please help? Awzar 0 2,400 01-24-2015, 06:52 AM
Last Post: Awzar
  Browser("BrowserName").Back gives General Run Error... deminiek 13 17,711 12-10-2013, 12:53 AM
Last Post: rizvia

Forum Jump:


Users browsing this thread: 1 Guest(s)