Contributions
Error "Unable to pack the files" while running slPacker.Pack in TestComplete 12
Since TestComplete 12, the archiver retuns an error while packing the log folder. For example, using the code L_strWorkDir = "C:\temp\TestPack2" L_strFileList = slPacker.GetFileListFromFolder(L_strWorkDir) L_strArchive = "C:\temp\TestPack2.zip" lPacker.Pack(L_strFileList, L_strWorkDir, L_strArchive) TestPack2 includes only "Log.mht" and the TestComplete "log" folder of our test. The code abovereturns the error "Unable to pack the files", with additional info: The archiver has returned an error. The archiver output: Warning: ZIPDLL.DLL version 1.73.3.0, September 27, 2003 is newer File specification "log\ico_success.giff" skipped File specification "C:\temp\TestPack2\" skipped File specification "C:\temp\TestPack2\" skipped File specification "C:\temp\TestPack2\" skipped File specification "C:\temp\TestPack2\" skipped File specification "log\table.jss" skipped File specification "log\table.jss" skipped File specification "C:\temp\TestPack2\" skipped File specification "l" skipped File specification "log\text.jss" skipped adding: Log.mht adding: log\_ProjectLog.js Note: the log folder includes a table.js file, not a table.jss file as printed in the generated error message above. I didn't find a minimal folder/subfolder configuration, that always reproduces the problem. It looks like a bug in version 12. Have others experienced the same problem?Solved1.4KViews0likes1CommentTurn off warning "An object recognition hint" when calling Exists/WaitProperty("Exists")
The warning "An object recognition hint. See Additional Information for details." is always displayed, when an object is used and not found. When testing if an object exists, the warning is not needed. Not finding the object in that case is not necessary a problem. Not generating warning when testing the Exists property, would also make "legitimate" object recognition hints easier to find and fix. At least, it would be convenient, to have an option to turn it off at the project level.8.7KViews21likes5Comments- 5KViews0likes0Comments
Re: Is there a way to turn off object recognition hint in TestComplete12?
Hello, Wehaven't found an option to turn off this new feature. If this helps, we are blocking the warning via theEvents/GeneralEvents/OnLogWarning: Sub GeneralEvents_OnLogWarning(Sender, LogParams) ' Block the warning "An object recognition hint" from TC12 If LogParams.MessageText = "An object recognition hint. See Additional Information for details." Then LogParams.Locked = True End If End Sub Regards5KViews2likes12Comments