Forum Discussion

Morgan's avatar
Morgan
Frequent Contributor
13 years ago

TC Logs don't remove stored images when deleted

(With the website changes, I am having increasing difficulty searching only for items in the forum -- am I alone in this or am I doing something incorrect?  If I type in 'Log' into the search box at the top and search and then choose the 'Forum' filter, I am presented with a message saying that no results were found... which is definitely not true.  An advanced search on your site would be REALLY helpful!)



----



I am really writing because I just noticed that deleting the TC log file from TC does not also delete the corresponding log image folder.  Is there an option to delete this automatically? 



Thanks,

Morgan
  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    I did a really quick test of something.   I created a function that simply logged a picture.



    function yada()

    {

        Log.Picture(Sys.Desktop)

    }




    My first test was to see where that picture got stored.  What I saw was that the picture was stored directly in the folder where the log files are created.  There was no sub folder for the log picture.



    If, in TestComplete, I right click on the log and select "remove" and then, in the corresponding dialog, also select remove, the log is removed from the project but the log folder and the corresponding files are still present on the hard drive.



    If I right click on the log and select "remove" and then select "Delete", the entire log file, folder, and all files contained within that folder are removed from the hard drive.



    So, this leads me to ask the question: What "log image folder" are you looking at and how was it generated?  Could you clarify a bit more as to what problem you're facing?
  • Morgan's avatar
    Morgan
    Frequent Contributor
    I updated to the most recent release and did a number of test runs then deleted (I always choose delete and not remove) the logs from the project explorer.  The stored log results folders seem to all have removed correctly now.  No idea what I did differently.  I'll keep an eye out and let you know if I see it again.  It does explain why my stored folder kept growing in size!



    Also - any tips on searching the forum?  I'd love to see advanced search capabilities but it doesn't look like it was one of the improvements in the recent website update.  I know you don't work for SmartBear - just thought I'd see if you had any insight.  :)



    Thanks!

    Morgan

  • Hello Morgan,



    We are working on the issue with the forum search. You can try searching at our forums by using Google or Bing, for example: log + site:community.smartbear.com.