Write Selenium and Appium tests in Python using the Page Object pattern. This Pythonic GUI and API test automation framework will help you get started with QA automation quickly. It comes with many useful integrations like - email, BrowserStack, Slack, TestRail, etc. This repository is developed and maintained by Qxf2 Services.
The log files look abrupt, it does not contain a header to indicate start of the test or a footer to indicate the end, the status - Pass/Fail is also not included in the file.
This is how the start of the log file - log/test_example_form[chrome].log looks currently:
2024-07-29 14:18:09 | INFO | Base_Logging | conditional_write | Set the name to: knight
2024-07-29 14:18:09 | INFO | Base_Logging | test_example_form | PASS: Name was successfully set to: knight
2024-07-29 14:18:09 | INFO | Base_Logging | test_example_form | Script duration: 3 seconds
This is how the end of the file looks:
************************
--------RESULT--------
Total number of checks=12
2024-07-29 14:23:29 | INFO | Base_Logging | test_succesive_form_creation | Total number of checks passed=12
----------------------
************************
2024-07-29 14:23:29 | INFO | Base_Logging | test_succesive_form_creation | Total number of mini-checks=28
2024-07-29 14:23:29 | INFO | Base_Logging | test_succesive_form_creation | Total number of mini-checks passed=28
2024-07-29 14:23:34 | INFO | Base_Logging | test_succesive_form_creation | Screenshots & GIF created at /Users/shivahari/Projects/screenshots/test_succesive_form_creation[chrome]
2024-07-29 14:23:34 | INFO | Base_Logging | test_succesive_form_creation | ************************
Can we add a header to help show the start and end of the test and include the test status in the file too?
The log files look abrupt, it does not contain a header to indicate start of the test or a footer to indicate the end, the status - Pass/Fail is also not included in the file.
This is how the start of the log file -
log/test_example_form[chrome].log
looks currently:This is how the end of the file looks:
Can we add a header to help show the start and end of the test and include the test status in the file too?