Contributions
Re: Hangs after Windows update 1803
I have the same problems. I have to kill TestComplete every few minutes. I have "Windows app store support" disabled, as I open TestComplete via COM from another tool (to be able to interact with TC). Though I am not sure if it is a problem of the Windows update to 1803, or if it is a problem with TC 12.5. I had to update Windows shortly after I upgraded TC from 12.4 to 12.5. Beforehand I had Windows 1703 and TC 12.4 and everything worked perfectly fine. Also since the update I have additional problems with TC: - I often get "object recognition hints" on multiple PCs (not all of which use Windows 10 or the latest version thereof). Sporadically. Never able to reproduce when I try to run the test again. - Timing issues where I didn't have before. - When starting the first test, multiple Windows tools open up (Photos window, Settings window)1.6KViews0likes0Comments- 1.7KViews0likes0Comments
Re: Getting warnings in log in TC12
We have a similar problem now in TC12. For example something like this while Aliases.xxx.dlgxxx_AfxMessage.WaitProperty("Exists",true,400) = false call Aliases.xxx.dlgDatabaseOverview.btnZoomIn.ClickButton wend causes warnings in log "An object recognition hint. See Additional Information for details." with the suggestion to use another open window. This fails now our tests. In TC11 it worked fine.1.7KViews0likes2CommentsAccess to XML checkpoint by name needed
In Files and Regions we work like this: filetocompare = "C:\...\test.txt" comparisonFileName = "TestFileName" if not Files.Contains(comparisonFileName ) then call Files.Add(filetocompare, comparisonFileName , false) log.warning "Comparison file is generated newly" else call Files.Items(comparisonFileName).Check filetocompare end if We need something similar for XML checkpoints. Currently you can check if it already exists with Contains. And you can create with CreateXML. But you cannot access the XML checkpoint by name (string).746Views1like0CommentsJenkins TestComplete jobs should clean up processes
Usually a Jenkins build job injects cookies environment variables to processes it starts ("JENKINS_SERVER_COOKIE" and "HUDSON_SERVER_COOKIE"). Which are inherited into all child processes. And after job is finished, those processes are killed if still are left running. This does not work with TestComplete tests. My guess is, that this is because the TestComplete windows service is already running when job starts. Somehow TestComplete/TestExecute and all processes which are started by the scripts (e.g.via Win32API.WinExec) needs these cookie injected. I hope the Jenkins plugin API provides the means to retrieve the current cookie value.868Views1like0Commentsin Jenkins Plugin, mark tests as skipped
I would like to have the ability to mark tests as "skipped" (yellow in result graph) in JUnit . My assumption was, that tests resulting in log level "warning" are marked as such, but these are marked as "passed". An option to mark "warning" test results (MHT) as "skipped" (in JUnit-like test result) would be sufficient.760Views1like0Comments