A TAS uses a commercial test automation tool and the default logs generated by the inconsistent formats such as different types of messages (pass/fail steps, screenshots, warnings, etc.) To solve this issue some custom logging functions have been created from the test scripts, making it possible to log the different types of messages with the same format. However, this may cause a problem due to excessive size of the logs which can make it difficult to find the required information. Assume that all the default logs will be disabled when running the automated tests and that some tests will not generate excessively sized logs.
Which of the following represents the BEST suggestion for implementing the custom logging functions?
A . Implement the custom logging functions without saving timestamps
B . Implement the custom logging functions to support different levels of tracing
C . Implement the custom logging functions without saving stack traces
D . Implement the custom logging functions to redirect the logs to multiple files
Answer: B
Leave a Reply