The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Activator::Test::Harness::Selenium - Harness to run selenium IDE generated tests on multiple platforms easily

SYNOPSIS

THIS IS NOT COMPLETE AND WILL NOT WORK AS IMPLEMENTED. Needs to be converted to work with Activator.

 * Use selenium IDE to gernerate a test file "testfile.t"

 * Save the file to the package's test/selenuim/ directory (probably
   in package perl-MyCatalystApp-Base) in any directory heirarchy you
   desire.

 * Run the test:
     act-test --selenium test_name1.t

DESCRIPTION

Selenium is an elegant framework for multi-platform multi-browser testing. For more info on selenium, see: http://www.openqa.org/selenium/

This module provides a harness for 'act-test' to allow easy integration with Selenium IDE.

If you have the suggested layout of: perl-MyCatalystApp-Base/test/selenium/test_name1.t perl-MyCatalystApp-Base/test/selenium/test_class/test_name2.t perl-MyCatalystApp-Base/test/selenium/test_class/test_subclass/test_name3.t

you can:

 * Run all tests:
      act-test --selenium :ALL:

 * Or, run a particular test:
      act-test --selenium test_name1.t
      act-test --selenium test_class/test_name2.t
      act-test --selenium test_class/test_subclass/test_name3.t

 * Or, run a particular (sub)class of tests:
     act-test --selenium my_test_class
     act-test --selenium my_test_class/my_test_subclass

See perldoc 'perldoc Activator::Test::WWW::Selenium' for how to create and setup these tests.

METHODS

new()

Constructor.