Giter VIP home page Giter VIP logo

selenium-1's Introduction

Sample test scripts

Selenium with Python:

It contains test scripts for a sample web application[1] which will be used as AUT at 'Test your Web Application with Selenium'[2], PyCon India[3], Bangalore, 2014.

Pre-requisites:

- Python 2.7
- Firefox browser
- Selenium Python bindings

Setup:

  1. Python and Selenium setup:
$ sudo yum install python       #Installs Python

$ sudo yum install pip-python   
$ pip-pyton install -U selenium     #Install Selenium Python bindings

2.Configurations:

$ mv config/config.conf.sample config/config.conf
# Replace www.example.com with a suitable URL where against which you want to run your tests

Execution:

  1. To run the test suite:
$ python mytest.py --all

2.To run individual test case:

$ python mytest.py -t list_verification
$ python mytest.py -t image_verification
  1. HTML reports are generated and available in ./reports or at the user specified path as per the config.conf file.

  2. Basic Selenium script outline is available in basic_str.py

[1] https://github.com/anarang/placebo [2] http://in.pycon.org/funnel/2014/184-test-your-web-app-with-selenium [3] http://in.pycon.org/2014/

selenium-1's People

Contributors

anarang avatar

Watchers

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