qxf2 / qxf2-page-object-model

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.
https://qxf2.com
MIT License
261 stars 192 forks source link

Added log file name for API tests #391

Closed shivahari closed 5 months ago

shivahari commented 5 months ago

Modified conftest.py module to instantiate API_Player object with a log_file parameter to create log files in test filename.

I validated the following after making my change:

avinash010 commented 5 months ago

Tested by running api tests and validated that test_api_example.log file is being created now and has all the log messages. Validated by running the UI tests to make sure that the log files are still created for those