https://github.com/eddie4k-code/pytestautomationframework
A Data Driven Automation Testing Framework for a Demo Site.
https://github.com/eddie4k-code/pytestautomationframework
automated-testing automation automation-framework pytest selenium selenium-java selenium-webdriver test-automation testing
Last synced: about 2 months ago
JSON representation
A Data Driven Automation Testing Framework for a Demo Site.
- Host: GitHub
- URL: https://github.com/eddie4k-code/pytestautomationframework
- Owner: Eddie4k-code
- Created: 2023-01-19T21:28:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-21T16:27:50.000Z (over 2 years ago)
- Last Synced: 2025-02-12T12:22:07.679Z (3 months ago)
- Topics: automated-testing, automation, automation-framework, pytest, selenium, selenium-java, selenium-webdriver, test-automation, testing
- Language: Python
- Homepage:
- Size: 13.4 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pyTestAutomationFramework
A Data Driven Automation Testing Framework for a Demo Site.
https://www.globalsqa.com/angularJs-protractor/BankingProject/#/customerDescription
Having experience in automation testing with Java, Selenium and TestNG. I wanted to get my hands on pytest and create an automation framework in python with it to practice my skills.Command Line
(Tests that are avaliable are test_login and test_customer)Run a specific test
- pytest -v -s testCases/test_file_name.py --html=Reports\report.html --capture sys -rFChange Browser
add --browser= chrome or firefoxTests
Login Test - Tests logging into the application
Customer Test - Tests Logging into the application and making a deposit and a withdrawl.
Directory
Configurations
Contains all config info such as URL, and path to test data.Logs
Stores all logs from run timePageObjects
Contains functions and element selectors for each pageReports
After run time a html report is generated and stored here.Screenshots
When a test fails a screenshot is saved heretestCases
Contains all test methodsTestData
Test Data Excel file is stored hereutilities
Contains utilities such as common functions that are used, functions for reading test data, reading properties and logging.