https://github.com/husna-poyraz/webdriveio_hepsiburada
https://github.com/husna-poyraz/webdriveio_hepsiburada
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/husna-poyraz/webdriveio_hepsiburada
- Owner: Husna-POYRAZ
- Created: 2022-08-07T23:30:03.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-07T23:31:41.000Z (over 3 years ago)
- Last Synced: 2025-02-26T11:33:32.549Z (9 months ago)
- Language: JavaScript
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web App Testing with WebdriverIO
# What is webdriverio?
* Open Source testing framework built to automation modern web and mobile applications
* Webdriver Protocol (cross-browser testing)
* Chrome Dev Tools Prtocol (chromium-based automation) using Puppeteer
* Appium for Mobile Automation
* Feature Reach
- Frameworks: Mocha, Jasmine and Cucumber
# Advantages
* Easy to get started with for beginners
* Readable syntax
* Pre-built services support
* Integration with CI tools
. Using Cloud Services
. Autocompletion
. Docker
. Github Actions
. Jenkins
. Bamboo
# Concise Test Writing
* Instead of:
driver.findElement(By.id('submit')).click();
* You write:
$('#submit).click();
# Setup & Installing
* install node v14.15.3 (version control: node -v)
* install npm 6.14.9 or higher (version control: npm -v)
* npm init -y
* npm install @wdio/cli
* npx wdio config
. Select "On my local machine"
. Select mocha framework
. Select sync Webdriver IO commands
. Select "No" for the compiler question
. Where are you test specs located? - Press Enter
. Select "Yes" for the to use autogenerate test files question
. Select "Yes" for the to use page objects question
. Select "Yes" for the use page objects located question
. Select allure for reporting
. Select chromedriver
. Enter your base url
* npx wdio run wdio.conf.js
* code . (open project)

