All Projects → diemol → frontend_testing

diemol / frontend_testing

Licence: other
Repository containing sample code used in a Frontend Testing workshop

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
shell
77523 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to frontend testing

demo-webdriverio-cucumber
E2E Tests with WebdriverIO and Cucumber
Stars: ✭ 28 (+100%)
Mutual labels:  selenium, selenium-webdriver, webdriverio
Selenium Remote Driver
Perl Bindings to the Selenium Webdriver server
Stars: ✭ 169 (+1107.14%)
Mutual labels:  selenium, selenium-webdriver
Selenoid
Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.
Stars: ✭ 2,065 (+14650%)
Mutual labels:  selenium, selenium-webdriver
TRA-Ticket-Booker
(已不適用新版臺鐵訂票系統,且不再更新)台灣鐵路訂票應用程式(臺鐵 / 台鐵 / 訂單程票 / 訂來回票),基於 Selenium + PyQt4。
Stars: ✭ 26 (+85.71%)
Mutual labels:  selenium, selenium-webdriver
Selenium extensions
Tools that will make writing tests, bots and scrapers using Selenium much easier
Stars: ✭ 140 (+900%)
Mutual labels:  selenium, selenium-webdriver
Webium
Webium is a Page Object pattern implementation library for Python (http://martinfowler.com/bliki/PageObject.html). It allows you to extend WebElement class to your custom controls like Link, Button and group them as pages.
Stars: ✭ 144 (+928.57%)
Mutual labels:  selenium, selenium-webdriver
Thirtyfour
Selenium WebDriver client for Rust, for automated testing of websites
Stars: ✭ 191 (+1264.29%)
Mutual labels:  selenium, selenium-webdriver
30 Days Of Python
Learn Python for the next 30 (or so) Days.
Stars: ✭ 1,748 (+12385.71%)
Mutual labels:  selenium, selenium-webdriver
Steward
PHP libraries that makes Selenium WebDriver + PHPUnit functional testing easy and robust
Stars: ✭ 215 (+1435.71%)
Mutual labels:  selenium, selenium-webdriver
Cdp4j
cdp4j - Chrome DevTools Protocol for Java
Stars: ✭ 232 (+1557.14%)
Mutual labels:  selenium, selenium-webdriver
selenium-cheatsheet-java
A comprehensive list of selenium commands in Java
Stars: ✭ 20 (+42.86%)
Mutual labels:  selenium, selenium-webdriver
Instagram Bot
An Instagram bot developed using the Selenium Framework
Stars: ✭ 138 (+885.71%)
Mutual labels:  selenium, selenium-webdriver
Java.webdriver
Browser test automation using Selenium WebDriver in Java
Stars: ✭ 135 (+864.29%)
Mutual labels:  selenium, selenium-webdriver
Ayespy
A performant visual regression testing tool
Stars: ✭ 150 (+971.43%)
Mutual labels:  selenium, selenium-webdriver
Horn3t
Powerful Visual Subdomain Enumeration at the Click of a Mouse
Stars: ✭ 120 (+757.14%)
Mutual labels:  selenium, selenium-webdriver
Selenium Jupiter
JUnit 5 extension for Selenium WebDriver
Stars: ✭ 185 (+1221.43%)
Mutual labels:  selenium, selenium-webdriver
Lambdium
headless chrome + selenium webdriver in AWS Lambda using the serverless application model
Stars: ✭ 246 (+1657.14%)
Mutual labels:  selenium, selenium-webdriver
Marionette
Selenium alternative for Crystal. Browser manipulation without the Java overhead.
Stars: ✭ 119 (+750%)
Mutual labels:  selenium, selenium-webdriver
Webdrivermanager
WebDriverManager (Copyright © 2015-2021) is a project created and maintained by Boni Garcia and licensed under the terms of the Apache 2.0 License.
Stars: ✭ 1,808 (+12814.29%)
Mutual labels:  selenium, selenium-webdriver
Panther
A browser testing and web crawling library for PHP and Symfony
Stars: ✭ 2,480 (+17614.29%)
Mutual labels:  selenium, selenium-webdriver

Frontend Testing Workshop - Code Examples

Build Status

This repository contains different examples that are used during a basic Frontend Testing workshop.

The examples are provided in Java with TestNG+Fluentlenium and JavaScript with WebDriverIO+Mocha+Chai.

The code is structured as follows:

  • first-test

    A page is opened, the page title is retrieved, and finally an assertion of a expected value is done.

  • add-item-to-shopping-cart

    This is an example where a guest searches for a brand and puts an item in the shopping cart.

  • running-in-parallel

    After having tests working, a natural step is to try to execute all of them in less time. Some simple examples where a page is loaded are executed in parallel.

  • page-objects

    A final round up of the hotel booking example but now using the Page Object model/pattern, which is know as one of the best practices when doing Frontend Testing.

General Setup to run the examples

Java

Only if you want to run the Java examples

JavaScript

Only if you want to run the JavaScript examples

Docker

Zalenium is used to run most of the examples. This means:

  • You need to have docker installed, version >= 1.11.1. Here are the instructions for most of the supported platforms.

  • After installing docker, just run this command to start Zalenium:

    curl -sSL https://raw.githubusercontent.com/dosel/t/i/p | bash -s start

    This will check for the latest images and ask for missing dependencies.

    To stop Zalenium when you are done testing, you can.

    curl -sSL https://raw.githubusercontent.com/dosel/t/i/p | bash -s stop
  • After getting the message Zalenium in docker started!, head to http://localhost:4444/grid/console.

  • If you want to see the browsers while the test is running, you can access the container with VNC through http://localhost:4444/grid/admin/live.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].