E-commerce web application, smoke tests performed

Overview

Automation-Project

E-commerce web application, smoke tests performed

CONTENTS OF THIS FILE

  • Introduction
  • Motivation
  • Requirements
  • Technology/Frameworks
  • Tests
  • Installation
  • Configuration
  • Troubleshooting
  • Maintainers

Introduction

This is e-commece demo web application http://automationpractice.com/index.php. Main goal of this project is to do automation on main functionality for this site. Smoke test is applyed to several test cases using Python3 and Selenium webdriver. Impertive is an actual user workflow.

Motiovation

I was always passionate about web testing and finding defects on the application. Quality assurance is so interesting, you get involved in the development of the application, also finding defects helps developers and the customer to get quality software. There are so many ways to test features, from manual to automation, there are so many different types of tests.

Requirements

  • Windows 11
  • MacOS Monterey (Slightly mods needed)
  • Python3(Recommended)
  • Python2
  • Pip3

Technology/Frameworks

All smoke tests were automated throught Selenium webdriver. I used Python3 to write the tests and hybrid framework for this project. Page object model where all logics are based in the objects classes. Pytest which means pytest is a command-line tool that automatically finds tests you've written, runs the tests, and reports the results. Package pytest-html is used to generate HTML reports for test results with clear UI, pytest-xdist can run tests parallel on several different browsers.

Tests

  • All tests fall into a Smoke test category.
  • Validation of home page title.
  • Log in test for check crutial login funcionallity.
  • Logout test for check crutial logout funcionallity.
  • Register test from adding and validation of email, to various inputs from firstname, lastname, password, city, state exc.
  • Shopping tests to run whether basic funcionallity of e-commerce site is working, such as look for dress in a certaing category, pick a size, color ,price, buying a dress and put in the cart, go to checkout, and finally buy the product.

Installation

Use the package manager pip to install foobar.

To execute all test in a Smoke category, type following command in PyCharm terminal:

pytest -s -v -m "smoke" --html=.Reports\report_smoke.html testCases/ --browser chrome

Execute following commands for install library:

selenium webdriver
pytest
pytest-html - PyTest HTML reports
pytest-xdist - Run test parallel
allure-pytest - Generate allure reports

Install(Clone) software

https://github.com/davud-gobeljic/Automation-Project.git Troubleshooting Please consider that this is a demo e-commerce website, it is high possillity to crash down due limited resource usage. If so, re-run the test for hopefully better site performance.

Maintainers

Davud Gobeljic - Quality Assurance (QA) Engineer

You might also like...

A pytest plugin to run an ansible collections' unit tests with pytest.

A pytest plugin to run an ansible collections' unit tests with pytest.

pytest-ansible-units A pytest plugin to run an ansible collection's unit tests with pytest. Description pytest-ansible-units is a pytest plugin that a

Apr 15, 2022

Tests for ton-blockchain/func-contest1

Setup Install python, tar, update toncli to 0.0.33 version and update toncli libs (toncli update_libs). Run tests Put tar archive which you submitted

Aug 24, 2022

These files are for bulk renaming files, bulk render blender files, convert xml to csv (labelimg), export blender camera data, export additional test files from frcnn tests.

FRCNN_Related_Code The file you see here are all used for preparing frcnn training and testing files. Software Version Windows 11 Blender 3.1 Python 3

Sep 23, 2022

This script will eventually allow to run in an automated way all the initial convergence tests for a metal surface investigation in VASP

This script will eventually allow to run in an automated way all the initial convergence tests for a metal surface investigation in VASP. Such tests are K points and ENCUT convergence, as well as the surface energy vs. layer thickness evaluated through a modified Fiorentini-Methfessel method

Jun 8, 2022

Simple tests for Ex4 in operating systems at BIU. Feel like it helped you? 🌠🌠🌠

Simple tests for Ex4 in operating systems at BIU. Feel like it helped you? 🌠🌠🌠

Ex4_OS_python_test Simple tests for Ex4 in operating systems at BIU. How-to use To run extract the makefile and ex4_test.py to the folder containing e

Jun 23, 2022

Unofficial Amazon AWS S3 compatibility tests with pytest framework.

S3 compatibility tests with pytest This is a set of unofficial Amazon AWS S3 compatibility tests, that can be useful to people implementing software t

Sep 30, 2022

My personnal master testsuite in python, only for fonctionnal tests.

My personnal master testsuite in python, only for fonctionnal tests.

🧪 TestMaster My personnal master testsuite in python, only for fonctionnal tests. Small setup Use python3. Install all modules with: pip install -r r

Mar 11, 2022

A Python library to check for data quality and automatically generate data tests.

A Python library to check for data quality and automatically generate data tests.

StructuredDataProfiling The StructuredDataProfiling is a Python library developed to assess structured datasets and to facilitate the creation of data

Jul 28, 2022

Automated tests (as opposed to human-verified test patterns).

MFDoS MFDoS - A PoC script to exhaust all TN3270 connections to a mainframe. And Script to connect to all available 3270 connections. Automated tests

Aug 6, 2022
Owner
Davud Gobeljic
Davud Gobeljic
Physics Informed Neural Fields for Smoke Reconstruction with Sparse Data

The pytorch implementation of the paper, Physics Informed Neural Fields for Smoke Reconstruction with Sparse Data (SIGGRAPH 2022 https://people.mpi-inf.mpg.de/~mchu/projects/PI-NeRF/), from M. Chu, L. Liu, Q. Zheng, E. Franz, H.P. Seidel, C. Theobalt, R. Zayer.

Mengyu (Rachel) Chu 11 Sep 24, 2022
A tensor search application using marqo on e-commerce inventory data.

E-Commerce Inventory Tensor Search - Powered By Marqo! Marqo lets you search text or images in your Streamlit app, using it's tensor search framework.

null 1 Sep 7, 2022
This is second realization of music club bot, performed for Innopolis University Music Club.

Inno-Music-Club-Bot This is second realization of music club bot, performed for Innopolis University Music Club. Key goals of this project are: Create

Leon 1 Sep 13, 2022
Jenkins CI pipeline which automatically runs application tests when commit action happens in GitHub.

Jenkins CI with PyTest and GitHub as SCM 22.02.2022 • Rustam-Z Summary I have a Jenkins job which checks every minute (by scheduled CRON job) for the

Rustam Zokirov 2 Mar 10, 2022
E-Commerce Telegram Bot for UCA Students

ucaStudentStore To buy from and sell to other students Features Register the first time, after that you will always be recognised You can login either

Shukur Sabzaliev 5 Jun 26, 2022
An E-Commerce Project made in Django with MySQL as a Database

E- Commerce An E-Commerce Project made in Django Hi ?? , I'm Kevin Arce Computer Science Engineering Student ?? ?? | Cybersecurity Enthusiast ☠ ??‍??

Kevin Arce 1 Jun 12, 2022
My machine learning pet project on (E-Commerce product reviews) with (Pairwise Ranking and Sentiment Analysis)

URL: https://www.projectpro.io/project-use-case/ecommerce-product-reviews-ranking-sentiment-analysis Problem description E-Commerce applications provi

Artem Moshnin 1 Jun 19, 2022
Django based, E-Commerce Website.

Django-Ecommerce ?? The clean, fast and right way to start a new Django 4.0.5 powered website. Getting Started Setup project environment with virtuale

Kevin Arce 2 Jun 28, 2022
E-commerce para produtos perto da validade

E-commerce para produtos perto da validade (licença) Apêndice Sobre o projeto Partes do sistema Início Produto Carrinho Checkout Usuário Lojista Tecno

Samuel Veiga Rangel 1 Sep 22, 2022
A typical web application works only when a user visits the site. In this post, we are creating an application that continues to work even if no one sees it.

SecurityCamera_tflite A typical web application works only when a user visits the site. In this post, we are creating an application that continues to

Atakan 0 Aug 15, 2022