Contributions
Testcomplete 11.10 jQuery not Supported
I read this side "https://support.smartbear.com/viewarticle/69056/" 1 -(All Extensions are installed) 2 - "jquey" is included on the WebPage [<script src="jquery/jquery.js" type"text/javascript"] to the "page.contentDocument.Script" 3 -if i open the "page.contentDocument.Script" ->jQuery is not aviable !!! i use Testcomplet 11.10 and FireFix 31.1.0 Please Help981Views0likes1CommentSmartBear.TestComplete10.Hook.MarshalHelper.CastIUnknownToMemberInfo(Object obj)]
Hello, Line 1: otServerCom := dotNET.OTTest_NativeTestCommons.otSvcCtlAutHelper; Line 2: app := otServerCom.ApplicationGet; Line 3: inst := otServerCom.ApplicationInstanceGetX(app); if i call the line 3 a error appears : [System.InvalidCastException: Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Klassentyp "System.Reflection.MemberInfo" umgewandelt werden. Instanzen von Typen, die COM-Komponenten repräsentieren, können nicht in andere Typen umgewandelt werden, die keine COM-Komponenten repräsentieren. Eine Umwandlung in Schnittstellen ist jedoch möglich, sofern die zugrunde liegende COM-Komponente QueryInterface-Aufrufe für die IID der Schnittstelle unterstützt. bei SmartBear.TestComplete10.Hook.MarshalHelper.CastIUnknownToMemberInfo(Object obj)] the line 2 return a object with type "Application" the function in line 3 expected a Application Object if i try to call this function a error appears? Bug in Testcomplete? c# Functions [ComVisible(true)] public static OtApplication ApplicationGet() { return new OtSvcCtlAut.OtApplication(); } [ComVisible(true)] public static IOtSession ApplicationInstanceGetX(OtApplication pApp) { string test = pApp.GetType().ToString(); return null; } Error:584Views0likes0CommentsCall Stack inside a Try Catch
All my call stack is lost, when my code is inside a Try Catch e.g. 1 procedure main() 2 begin 3 try 4 //My full Testcase here 5 if obj.value = ' test' then //->value not exists 6 DoSomting; 7 except 8 Log.Error('MyErrorMessage') 9 end; 10 end; In the call stack i see only two lines Test Unit Name LineNr Main myTest.sd 8 ->Only the Except block Why a lot of callstack information lost in a try catch block!!!! if i dont use the try except block i get a lot more informations in the call stack.4.3KViews0likes1Comment