Giter Site home page Giter Site logo

wtbox's Introduction

wtbox

Web Testing Box logo

Web Testing Box: Selenium WebDriver best practices project.

This project shows Selenium WebDriver best practices; it is a minimalistic Selenium project that makes Selenium tools easy to learn and use, and it gets the job done.

It is currently written in Java. You are welcome to fork to other languages.

Lesson 1: Selenium 2 WebDriver Waits

Selenium 2.0 WebDriver AJAX Wait Presentation



Lesson 2: Page Object

Page Objects in Selenium 2 (WebDriver)






Teach WebDriver 2.0 best practices in 10 minutes

The project goal is to show each of the following best practices in 10 minues:

  1. WebDriver Wait: ImplicitWaits, WebDriverWait, and Ajax wait
  2. PageObject
  3. Use CSS selector
  4. Behavior Driven testing

WebDriver Testing Tools

Wish lists: Here are the tools I would like to add

  1. HTML5_Tool: helps to navigate, drag and drop, tests (events, json, data), and work with 3rd party JavaScript Unit testing library (such as Qunit).
  2. Excel tool for reading and writing testcases
  3. Take screenshot tool for errors
  4. File tool for reading the test setting properties.

Project Goals

  1. Show and teach a lesson in 10 minutes (simple and effective)

  2. Easy to learn and use – so even a tester with little programming background can use it (Java is a good language for web development, but it is not the popular web development solution compare to php or ruby. Because most Java web solutions are towards for enterprise applications (humongous, and require steep learning curve to learn).
    However our testing project is for an average tester not for a developer. So, let’s make easy, less technical but more practical for testing job done.)

  3. For advanced topics: just provide information links in the further reading section.

Credits

Inspired by the following projects:



Ben Burton’s
WebDriver presentation


Mark Collin's
Wait Method


Dave Justin’s
page object post




James Cox's
Using Page Objects
 

wtbox's People

Contributors

chonc avatar

Watchers

James Cloos avatar Bharath Vishnu Neelakanta Pillai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.