Sha256: 8d41e4de63709df5decd628aba8c9752567c392eb375a564d5ce3ef1af7bc784

Contents?: true

Size: 1.8 KB

Versions: 2

Compression:

Stored size: 1.8 KB

Contents

Awetestlib
==========

Run automated regression and mobile tests

After completing this guide you will be able to run tests locally from command line or from an IDE

------------

### Prerequisites

You need to have Ruby 1.8.7 installed. You can download Ruby 1.8.7 
[here](http://http://rubyinstaller.org/downloads/)

Additionally, you will need to install DevKit to compile a few dependent gems. You can download DevKit
[here](http://http://rubyinstaller.org/downloads/)

### Install

1. In a terminal or command prompt, install the awetestlib gem
  - `gem install awetestlib --no-ri --no-rdoc`


2. To setup the regression module, run the following command and verify the step
  - `awetestlib regression_setup`

### Usage

1. Run the following command to see the different usages
  - `awetestlib`

2. To setup the awetestlib gem with Netbeans or Rubymine, run either of the commands
  - `awetestlib rubymine_setup`

  or 
  - `awetestlib netbeans_setup`

  You can now start your scripts within the IDE. Use the Run Configuration button.

3. If you prefer to run your tests from command line, you can use the following command
  - `awetestlib <script_file> [parameters]`

  For example: To run a script named demo.rb in Firefox, your command will look like.
  - `awetestlib demo.rb -b FF`

The full list of parameters for the command line currently are:

    Usage: awetestlib <script_file> [parameters] [options]
        -b, --browser BROWSER            Specify a browser (IE, FF, S, C)
        -l, --library LIBRARY            Specify a library to be loaded
        -r, --root_path ROOT_PATH        Specify the root path
        -x, --excel EXCEL_FILE           Specify an excel file containing variables to be loaded
        -v, --version VERSION            Specify a browser version


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
awetestlib-0.1.7-x86-mingw32 README.md
awetestlib-0.1.6-x86-mingw32 README.md