The DEBUG logging level is used to give debugging information useful for the developer. If there is a test that is blocking the entire execution, then CRITICAL logging level is used. If the expected result has not matched with the actual result, the ERROR logging level is used. However it does not indicate a failure in the test step. The WARNING logging level is used to alert the user of a particular step. The INFO logging level is used to message the purpose of the test step. The logging levels are of different types like DEBUG, INFO, WARNING, ERROR and CRITICAL. The timestamp of when the actual test step gets executed should be captured in the log file. Any non-technical person like business analysts, manual test engineers and so on should be able to open the log file and understand which step of the test case failed and for what reason.Īs per industry standards, the logging is followed in the below format: There should be a separate file maintained for the logging purpose. So that in case of failures we can find the root cause of the failure easily. The logs should describe each step of the test script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |