Skip to content

randalb1991/Toolium-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toolium Examples

Set of examples to learn how to use Toolium to test web, Android or iOS applications, in different scenarios.

Getting Started

The requirements to install Toolium are Python 2.7 or 3.3+ and pip. If you use Python 2.7.9+, you don't need to install pip separately.

Clone toolium-examples repository and install requirements. It's highly recommendable to use a virtualenv.

$ git clone git@github.com:Telefonica/toolium-examples.git
$ cd toolium-examples
$ pip install -r requirements.txt

Running Tests

Each folder contains a sample project to test web using nose, behave or lettuce to execute them.

By default, web tests are configured to run in chrome locally, so chrome must be installed in your machine and the chrome driver must be downloaded and configured:

  • Download chromedriver_*.zip
  • Unzip file and save the executable in a local folder
  • Configure driver path in [Driver] section in properties.cfg file :

    [Driver]
    chrome_driver_path: C:\Drivers\chromedriver.exe

web

To run web tests with nose:

$ nosetests web

web_behave

To run behave web tests:

$ behave web_behave

web_lettuce

To run lettuce web tests:

$ lettuce web_lettuce

Note: lettuce works only in Python 2

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published