Git Product home page Git Product logo

hasal's Introduction

Performance Test

A Framework for testing web performance between different browser

Installation

  • Install Firefox
  • Install Selenium for Python
  • Install video recording codes and libs
  • Install video recording main program
  • Install opencv
virtualenv venv
source venv/bin/activate

pip install selenium
For Ubuntu:
sudo apt-get install wget libav-tools ffmpeg libavc1394-0 libavformat-extra-53 libavfilter2 libavutil-extra-51 mencoder libavahi-common-data

For Mac OS:
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools
brew install libav

wget https://github.com/bgirard/Gecko-Profiler-Addon/blob/master/geckoprofiler-signed.xpi?raw=true

wget https://github.com/Itseez/opencv/archive/3.0.0.zip

follow this link[http://www.pyimagesearch.com/2015/06/22/install-opencv-3-0-and-python-2-7-on-ubuntu/] to install the opencv

Setup

  • Create a google doc, share it to the public (don't require login)
  • Copy the link and paste it to self.docUrl in testperf::setUp

Usage

python -m unittest tests.test_googledoc_sample

Output folder structure as below:

  • /output/images/sample/[case_class_name]_[timestamp]: sample images capture before or after execution steps
  • /output/images/output/[case_class_name]_[timestamp]: images converted from desktop recording video
  • /output/videos: video recording during case execution
  • /output/profiles: profile recording during case execution

hasal's People

Contributors

ypwalter avatar mikelien avatar cynthiatang avatar askeing avatar

Watchers

 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.