Skip to content

t0dida00/Automation_Test_With_Selenium_PY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation test with Selenium and Python

This is an example project demonstrating automation testing using selenium and python. It is also using POM (Page object model) pattern framework

Application Under Test

URL : https://www.saucedemo.com/

OS: MacOS

IDE: Pycharm

Python: v3

Selenium: v4.8.2

Unit test: unittest - HTML runner report

Scenarios

Scenarios 1 : Login Tests
Scenarios Description: Test login function with many types of account: standard, problem, performance_glitch_user, locked_out_user and invalid user
Test name: LoginTest.py
Scenarios 2 : Smoke tests
Scenarios Description: Verify all elements of application such as : Logo, input fields, titles, buttons is visible and enable on the Login and Home page
Test name: SmokeTest.py
Scenarios 3 : Link tests
Scenarios Description: Verify all links of application such as : 
Test name: LinksTest.py
Scenarios 4 : Detail page tests
Scenarios Description: Verify all images, titles, prices, and detail of items. 
Test name: DetailPageTest.py

Installation

Clone the repository

git clone https://github.com/t0dida00/Automation_Test_With_Selenium_PY.git

Come to the test cases folder

cd POM/testCases

Run all test cases

python3 -m runTestCases.py

Run specific test case

python3 -m -unittest {test-file-name}.py

About

Automation test with selenium python using POM pattern

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages