Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
System.Runtime.InteropServices.COMException
#1
Not Solved
Hello,
I use the following target ANT :

Code:
<target name="runtScripts" >
        <exec dir="C:\Program Files\LoFAT-QTP Framework" executable="C:\Program Files\LoFAT-QTP Framework\QTPInterface.exe" os="Windows XP">
            <arg line="${config.path}"/>
        </exec>
    </target>

When I use this target I have the following error when QTP is closed:

[exec] Unhandled Exception: System.Runtime.InteropServices.COMException (0x80004005): Erreur non sp‚cifi‚e (Exception from HRESULT: 0x80004005 (E_FAIL))
[exec] at Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn)
[exec] at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
[exec] at QTPInterface.modInterface.ExecuteTestCase(String strTestCasePath)
[exec] at QTPInterface.modInterface.Main(String[] sArgs)
[exec] Result: -532459699

I have this error only on one PC. Do you have an idea which configuration give this error ?

Thanks for your help
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Local System Monitor kbhargava505 0 2,542 10-16-2015, 12:52 PM
Last Post: kbhargava505
  QTP system related issue Bharathi Kanagarajan 1 2,105 09-12-2015, 11:28 PM
Last Post: ADITI1992
  System getting locked Anand Saboo 4 3,745 10-24-2013, 05:09 PM
Last Post: Anand Saboo
  system requirement for qtp 9.0 sonalee 2 3,872 05-12-2011, 06:21 PM
Last Post: Anand
  is the script not running when the system is lock? durairajravindran 4 5,214 12-13-2010, 10:24 AM
Last Post: SaranKumarV

Forum Jump:


Users browsing this thread: 1 Guest(s)