[Koha-bugs] [Bug 14495] WebDriver/WebTester Factory for easy generation of Web testing UserAgents.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Aug 1 15:36:56 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14495

Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41253|0                           |1
        is obsolete|                            |

--- Comment #10 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 41296
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41296&action=edit
Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing
UserAgents.

Has an optional dependency to Buugg 13799

Because life is short, getting test web drivers must be easy.

    use t::lib::WebDriverFactory;
    my ($firefox) = t::lib::WebDriverFactory::getUserAgentDrivers('firefox');

In Ubuntu 14.04, Selenium no longer requires a stand-alone testing Server, so
running integration tests is much much more fun!

This factory encapsulates all the boring bits about getting a web driver to
mimic
user behaviour in the GUI. And makes it super easy to get a test driver for any
testing type environment.

Adds support for Test::Mojo and Selenium,
see t::lib::WebDriverFactory for installation and usage instructions.

----------------------------
-INSTALLATION INSTRUCTIONS:-
----------------------------
-All the WebDriver tests use the Selenium::PhantomJS-package by default.
You MUST install the following dependencies:
  cpanm Selenium::Remote::Driver
  cpanm Selenium::PhantomJS
  apt-get install phantomjs #Minimum version acceptable is v1.09
Optionally you can install other Selenium browsers like
  Firefox
  Chrome
  IE
But they are only useful when testing the WebDriver scripts on a graphical
environment.
You are better off using Selenium IDE to learn/test WebDriver scripts.

run t::lib::webDriverFactory.t to see your configured capabilities.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list