Ask a Question

How to configure TestComplete or TestExecute to only report Errors and change the log output folder

rhu
Occasional Contributor

How to configure TestComplete or TestExecute to only report Errors and change the log output folder

How can I configure TestExecution (or TestComplete) to only report Errors, (maybe also with screenshots) so that the logfiles at end get smaller as they contain only error relevant data.
Especially for Regression Tests I am not interested that pressing button x worked, but i would be interested if pressing button y does not work.
In the options I only found to disable the log files but no option to select what content the logfile should have. (but maybe I did not found that option).

And is there a possibility to change the default path where the logs are stored (without changing an environment variable)?

Thanks for support
BR

3 REPLIES 3
rraghvani
Super Contributor

See TestComplete Command Line, which has information on exporting results.

 

You can, filter the results using the buttons shown

rraghvani_0-1665129987709.png

Options to change log path in Project Settings (similar option in TestExecute)

rraghvani_1-1665130107845.png

The other option is to export the log file, read and extract the contents of errors only.

rhu
Occasional Contributor

Regarding Log file - thanks for teh hint wher to change the path
Regarding the information the logfiles should contain:
To my oppinion the filter method you mentioned filters only the displayed results in Testcomplete, but the generated log files (in the log folder) are the same.
i would like to have logfiles containing only the problems (the errors) - and a general information that 3 of 3 test run 2 where ok and 1 failed - and then detailed information what failed, but I do not need information about each sucessfuly passed test step and I do only need pictures and detailed information in case the test fails.

Marsha_R
Community Hero

The options that @rraghvani showed you are the only ones available.  As was mentioned, some people export the log file and create a report outside TestComplete that fits their expectations.

 

You can always add a feature request for your idea here

https://community.smartbear.com/t5/TestComplete-Feature-Requests/idb-p/TestXCompleteFeatureRequests


Marsha_R
[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
cancel
Showing results for 
Search instead for 
Did you mean: