An open API service indexing awesome lists of open source software.

https://github.com/husna-poyraz/webdriveio_hepsiburada


https://github.com/husna-poyraz/webdriveio_hepsiburada

Last synced: about 1 month ago
JSON representation

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)

![x](https://user-images.githubusercontent.com/75911392/183310521-16a74559-ca6c-4d84-84d9-1ccb689faf09.PNG)

![x2](https://user-images.githubusercontent.com/75911392/183310524-7dff26b9-7c51-4f55-be98-c081a21d2553.PNG)