Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fatimazza/seleniumtest
Web Automation Testing using Selenium & Python
https://github.com/fatimazza/seleniumtest
selenium-python selenium-webdriver web-automation-testing
Last synced: 3 days ago
JSON representation
Web Automation Testing using Selenium & Python
- Host: GitHub
- URL: https://github.com/fatimazza/seleniumtest
- Owner: Fatimazza
- Created: 2022-12-14T06:05:27.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T09:10:53.000Z (almost 2 years ago)
- Last Synced: 2024-11-17T08:31:53.331Z (2 months ago)
- Topics: selenium-python, selenium-webdriver, web-automation-testing
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Selenium Test
:sparkles: Web Automation Testing using Selenium WebDriver & Python :sparkles:## Preparation
What will be used on this project
| Item | Source |
| -------------- | ------------------------------------------------------------ |
| Editor | VS Code (https://code.visualstudio.com/download) |
| Package Manager| PIP (https://pip.pypa.io/en/stable/getting-started/) |
| UI Test Tools | Selenium WebDriver with Python (https://pypi.org/project/selenium/) |
| | WebDriver Manager (https://pypi.org/project/webdriver-manager/) |
| Browser | Latest version of Chrome / Mozilla Firefox |## Pre-Requisite Installation
Install VS Code Editor, Python, and PIP
To check whether you already installed Python & PIP
```Bash
python --version
```
```Bash
python -m pip --version
```## Testing Tools Installation
Install Selenium
```Bash
python -m pip install Selenium
```Install Web Driver Manager
```Bash
python -m pip install webdriver-manager
```## Setting up Project
### Clone
**👉 [Clone this Repository](https://github.com/Fatimazza/SeleniumTest/)** through Terminal or Command Prompt
### Open the Project on Editor
Open this Automation Project using VS Code Editor.
### Run the Automation Project
Change to Project directory on Terminal or Command Prompt
```Bash
cd SeleniumTest
```Run All Tests on Terminal
> Note: Only for file which name started with `test_`
```Bash
python -m unittest
```Run Specific Test
```Bash
python -m unittest test_pythonorg.py
``````Bash
python -m unittest test_saucedemo.py
```Run Specific Test Case
```Bash
python test_saucedemo.py TestSauceDemo.test_e_success_logout
```