cancel
Showing results for 
Search instead for 
Did you mean: 

How to specify to not save Pictures into log files for some actions

SOLVED
simonaferrara
Contributor

How to specify to not save Pictures into log files for some actions

Hi all!

 

Is it possible to disable the picture saving for some logs, to reduce the log file size?

For example, I have a checkpoint for an image comparison (Picture Check method).

I'm interested to save the picture only if the comparison fails (so we can analyze the differences), but it is not necessary to save the image if the checkpoint is passed.

simonaferrara_0-1612180416300.png

 

Moreover, in some cases, it could be not necessary to save the pictures for "Keyboard input" events or for "clicks". It could be specified, in some way, to not save pictures into the log file?

 

Thanks!

Simona

1 ACCEPTED SOLUTION

Accepted Solutions
BenoitB
Community Hero

Re: How to specify to not save Pictures into log files for some actions

5 REPLIES 5
AlexKaras
Community Hero

Re: How to specify to not save Pictures into log files for some actions

Hi Simona,

 

I see very little help of events and thus block them from been logged setting project's Properties | Project | Log -> Store Last xx Events setting to zero.

As for your other questions, I am not sure this is possible.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Lauriee
Occasional Visitor

Re: How to specify to not save Pictures into log files for some actions

longtime test runs generate large logs with lots of Pictures.  Less Color, less Resolution would not be a Problem. Events logging control Actions such as button click or window getting focus could be logged  does allow you to configure the image settings for those entries going into the log files?)

TalkToWendys.com

BenoitB
Community Hero

Re: How to specify to not save Pictures into log files for some actions

sonya_m
Community Manager

Re: How to specify to not save Pictures into log files for some actions

Thanks for a lot of great ideas, Community!

 

 

@simonaferrara please let us know how you solved this!


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
simonaferrara
Contributor

Re: How to specify to not save Pictures into log files for some actions

Thank you @BenoitB for the linked article.

 

I've changed the image format to png with high compression level, and the log has been remarkably reduced.

I've tried also to disable the Visualizers for the test run, but the log is not so much reduced.

I've find more benefits by changing the image format.

 

Thanks and regards,

Simona

New Here?
Join us and watch the welcome video:
Top Kudoed Authors