Forum Discussion

hannahV's avatar
hannahV
Occasional Contributor
12 years ago

Error Object does not exist - Why??

Hi there,



i'm just using the trial version of your software. I tried to create some testcases of a desktop application we developed in C# .NET. Now there is an error which i don't understand.



Attached you will find the mapping editor. The error occurs on Root2. TestComplete is not able to find Panel in SlimGrid. Also it can not find MatNr in SlimGrid2. Although it is recording it correct and it opens it correct it can not point at it.



Any ideas why?





22 Replies

  • Thanks Tanya.  I made the changes that you suggested, with a slight modification, and it still does not find the object.  I also tried increasing the wait time.




    if (Aliases.Caselle.ClarityConsole.MdiClient.ApplicationControlHost.WaitAliasChild("BankView", 50000).Exists)


        bankLookup = Aliases.Caselle.ClarityConsole.MdiClient.ApplicationControlHost.BankView.navigationLookup.lookupValueTextBox;


    else


        Log.Error("Bank View was not found");  


      

    I don't know if this has an impact, but the application runs from a single .exe and this link uses a dynamic call to launch the other view.



    thanks for your help