Skip to content

Jenkins tasks and helper scripts to retrieve and play Walkthroughs via Selenium

Notifications You must be signed in to change notification settings

csanyiarpad/WalkHub-selenium-executor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Walkthrough Selenium Executor

Jenkins tasks and helper scripts to retrieve and play Walkthroughs via Selenium.

Installation

# Install Composer
$ curl -sS https://getcomposer.org/installer | php

# Install dependencies
$ php composer.phar install

Usage

Test logging in:

  • Using basic authentication
$ php wt_selenium.php -w [walkhub url] -u [username] -p [password] status
Ok.
  • Via OAuth
$ php wt_selenium.php -w [walkhub url] -k [consumer key] -s [consumer secret] process_queue
Ok.

Taking automatic screenshots:

  • Simple screenshot queue processing
$ php wt_selenium.php -w [walkhub url] -u [username] -p [password] process_queue
.
  • Processing multiple items from the queue
$ php wt_selenium.php -w [walkhub url] -u [username] -p [password] -l [number of items to process] process_queue
..E.E....
  • Change the target browser
$ php wt_selenium.php -w [walkhub url] -u [username] -p [password] -b [browser string] process_queue
.

Taking screenshots using saucelabs:

  1. Log in to saucelabs
$ vendor/bin/sauce_config [YOUR_SAUCE_USERNAME] [YOUR_SAUCE_ACCESS_KEY]
  1. Extend the saucelabs class when processing the queue
$ php wt_selenium.php -w [walkhub url] -u [username] -p [password] -e "Sauce\Sausage\WebDriverTestCase" process_queue
.

About

Jenkins tasks and helper scripts to retrieve and play Walkthroughs via Selenium

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published