Giter VIP home page Giter VIP logo

motivation's Introduction

Motivation

Description:

Build up testing cases for Moat including:

  1. Basic Ad searching;
  2. Checking the Search Try These list: a. randomly click one of the three Ads in Try These list; b. check the three Ads in Try These list are generating randomly;
  3. Checking the Recent Seen Ads are no more than half an hour old;
  4. Checking Ad search result count: a. check Ad count if results are in a single page (not greater than 100); b. check Ad count even results are more than 100;
  5. Check the "Share this Ad" feature.

Structure:

  1. Base test action + UiMap + Constants dictionary for common use in other modules;
  2. Page objects for each page, and page common configuration;
  3. Test directory including modules for each test scenarios.

Installation

pip install -U selenium

pip install nose

Setting up python - Selenium environment: http://selenium-python.readthedocs.org/installation.html

After downloading the codes, please setup PATHONPATH as the path to the folder when running locally. Example:

export PYTHONPATH=/Users/RonnyWang/Workspace/Moativation_python

Tests Running:

  1. nosetests -- for running all test cases;
  2. nosetests moat_*****_test.py -- for running a specific test module;
  3. nosetests --nocapture -- for running along with logging information displayed on console

Futher improvements:

  1. Logging system;
  2. Generating reports.

Contributors

Ronny Wang

[email protected]

motivation's People

Contributors

ronnywang99 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.