Forum Discussion

pmalichenko's avatar
pmalichenko
Occasional Contributor
4 years ago

Can only event specific screenshots be added to the log ?

Hi,   I was wondering if I can add/keep only event specific (i.e failed step) screenshots in the log file ? Right now I pretty much have a screenshot for every single event/mouse click, which resul...
  • hkim5's avatar
    4 years ago

    for failed test cases:
    1) tools -> current project properties -> visualizer -> choose those off options

    2) tools -> current project properties -> log -> make sure that checkbox is checked.

    ----------------

    if you want to get even more granular (about the prerequisite condition of posting a picture to the log), that will take some scripting effort by using event handlers to trigger the action of doing something like pic =SomeObj.Desktop.Picture() and then posting with Log.Picture(pic, "some message about this pic") based on the test engine event that you selected as the event handler.