Giter Club home page Giter Club logo

seleniumtestproject's Introduction

SeleniumTestProject

test task for interview in Luxoft I was asked to perform a test task in process of technical interview in Luxoft company Here is a task description:

Given: http://dev.sencha.com/extjs/5.1.0/examples/calendar/index.html Public ExtJS Calendar application (let's call it SUT)

Expected: You need to implement application, that will:

  1. Opens SUT in browser (HtmlUnit is preferred, but you're free to use any)
  2. Creates a wholeday event with title 'Lectures' for calendar 'School'
  3. Checks that this event appeared in the proper day cell

I'm reading the book "Code complete" cc2e.com I tried to perform this task trying to controll complexity as much as possible. Subdivide areas of responsibility.

project has following modules:

  • WebDriverFactory to create webDriver instances.
  • WebDriverHelpers to wrap work with basic WebDriver commands
  • Config in order to save some general properties like path to drivers
  • PageObjects to incapsulate structure of webPage. As input parameters takse simple data types like Boolean, String, enum, Date
  • Actions instances can work with business entities like "Event"
  • DataModels contain decomposition of business entities into simple data types
  • I tried to add some Unit tests

I tried to make these modules do not intersect

to run you need to setup environment variable "browser" to one of following values: CH, FF, IE, HU (Chrome, firefox, explorer and htmlUnit) only Chrome and Firefox work for me. Will investigate IE and CH more.

To run project you may need Chrome, IE, FireFox drivers binaries. You can find them in these links: https://yadi.sk/d/br9Lq7EGj99MZ for Chrome and IE drivers https://yadi.sk/d/bxS8MeMuj99Pb for FireFox and these archives should be unpacked to folder "C:/dev/programs" or you can change pathes in Config class

Feedbacks are very much appreciated

seleniumtestproject's People

Contributors

sergiuchuckmisha avatar

Watchers

James Cloos avatar  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.