Contributions
Re: w.VisibleOnScreen does not exist
This article does not help me. Since I do not adress a mapped object most of the possible causes do not apply. There are three other possible causes: The tested process was not found. and The object has not been created by the time TestComplete tries to obtain it. seem very unlikely since I am waiting for the object/process in line 5 by using the WaitWindow command. The tested application stopped responding. is the last possible cause that does not apply either. The process did not freeze, also the Freeze Diagnostic properties of my test project are set accordingly.2KViews0likes0Commentsw.VisibleOnScreen does not exist
Hello SmartBear Support, I am using the attached code snippet from your [support site]. Sub Test i = 0 Set p = TestedApps.myApp.Run Do Set w = p.WaitWindow("ThunderRT6FormDC", "myApp(V?.*?.*?)", -1, 60000) i = i + 1 Loop Until (w.Exists And w.VisibleOnScreen) Or (i > 10) If Not (w.Exists And w.VisibleOnScreen) Then Log.Warning "Window not found." Else Log.Message "Window was found." End If End Sub About 2 out of 9 times an error occurs at line 7 and 9. It says: "The object does not exist. See Additional Information for details." At the "Additional Info" tab it says: "You are trying to call the "VisibleOnScreen" method or property of the "myApp (V?.*?.*?)" object that does not exist." I ran the same script 9 times in a row and got the error at run 1 and 5. So the error seems to appear randomly. Please help, thanks.Solved8.4KViews0likes7CommentsRe: FullName-Property changing arbitrary
Hello Tanya, thank you very much for the help! That Patch doesn't seem to be compatible with my TC 9.10 Is there any other way? If I got it right the update to 9.20 is gonna cost and I dont have the Budget for that. What can I do? Greetings Oliver1.2KViews0likes0CommentsFullName-Property changing arbitrary
Hello there, im facing some bad problems here. Im running TestComplete 9 on Windows 7 and Im testing a VB6 Application. Im mapping a button by its FullName-Property but when I restart the Application for some odd reason sometimes the FullName-Property changes thus my Alias isn't working anymore. I checked the Full-Name and it seems to switch between those 2: Sys.Process("Testus").Window("ThunderRT6FormDC", "TESTUS (V3.14.15) - Administrator", 2).VBObject("Splitter").VBObject("ctlContainer").VBObject("ctlSpezifikationSituation").VBObject("tabMain").VBObject("ctlSpezifikationReaktion").VBObject("Splitter_3").VBObject("frmReaktionen").VBObject("cmdAddSequence").VBObject("cmdAddSequence") Sys.Process("Testus").Window("ThunderRT6FormDC", "TESTUS (V3.14.15) - Administrator", 2).VBObject("Splitter").VBObject("ctlContainer").VBObject("ctlSpezifikationSituation").VBObject("tabMain").VBObject("ctlSpezifikationReaktion").VBObject("Splitter").VBObject("frmReaktionen").VBObject("cmdAddSequence").VBObject("cmdAddSequence") Im facing that problem since I switched from Windows XP & TestComplete 7 to Windows 7 and TestComplete 9. I tried to reproduce that error on WinXP with TC7 with no results which means that it is not my Application causing this problem. I hope somebody can help me. GreetingsSolved15KViews0likes17Comments