Skip to content

GenieChiu/ToDosProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToDosProject

Goal: Create 4 positive and 4 negative automation scenarios with a hybrid test automation framework

Demo site: https://todomvc.com/examples/angular2/

Language: In the Selenium Project, I am using Python language.

Testing Framework: PyTest

Type of Framework: I am using Data-driven Framework by using Page Object Model design pattern

Page Objects: As per the Page Object, I have maintained a class in the web page with the WebElements of that web page and also contains Page methods which perform operations on those WebElements.

utilities: utilities package stores and handles the functions which can be commonly used across the entire framework.

Package: * Selenium: Selenium Libraries * Pytest: Python UnitedTest framework * pytest-HTML: PyTest HTML Reports * pyTest-xdist: Run Tests Parallel * Openpyxl : MS Excel Support

Test Data:  All the historical test data will be kept in an excel sheet. By using excel file , I passed test data and handle data-driven testing by using “ExcelUtils.py” in utilities folder

Configuration folder: Store common values such as the baseURL from ini file

Screenshots: Screenshots will be captured and stored in a separate folder and also the screenshots of failed test cases will be added to the extent reports.

Version Control Tool: I use Git as a repository to store our test scripts.

test framework

Test Scenarios

For managing test scenarios, I am using excel to store them with the test ID. It contains 4 positive and 4 negative automation scenarios for testing 4 main functions (Display func, Edit func, Todo-count func and Clear completed) in Todos list

test scenrio

Test HTML Report

For the reporting purpose, I am using PyTest HTML as Test Report. It generates beautiful HTML reports. It contains the test Summary information like total test cases, execution duration, and number of test cases passed, failed, errors and so on. It also contains the test Result information in details.

test report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages