Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 71 lines (48 sloc) 2.448 kb
63cc9f3 add unit tests and readme
lukec authored
1 Alien-SeleniumRC is a package containing the Java based Selenium Server
2 for use in Selenium Remote Control.
3
4 From the Selenium RC website: http://openqa.org/selenium-rc
5
6 Selenium Remote Control a test tool that allows you to write automated
7 web application UI tests in any programming language against any HTTP
8 website using any mainstream JavaScript-enabled browser.
9
10 Selenium Remote Control provides a Selenium Server, which can
11 automatically start/stop/control any supported browser. It works by
12 using Selenium Core, a pure-HTML+JS library that performs automated
13 tasks in JavaScript.
14
15 The Selenium Server communicates directly with the browser using AJAX
16 (XmlHttpRequest). You can send commands directly to the Server using
17 simple HTTP GET/POST requests; that means that you can use any
18 programming language that can make HTTP requests to automate Selenium
19 tests on the browser. To further ease this process, we provide wrapper
20 objects for a number of mainstream programming languages (Perl, Java,
21 .NET, Python, and Ruby).
22
23 Finally, the Selenium Server acts as a client-configured HTTP proxy, to
24 stand in between the browser and your website. This allows a
25 Selenium-enabled browser to run JavaScript on arbitrary websites.
26
27 The Selenium Server is great for testing complex AJAX-based web user
28 interfaces under a Continuous Integration system. It is also an ideal
29 solution for users of Selenium Core or Selenium IDE who want write tests
30 in a more expressive programming language than the Selenese HTML table
31 format customarily used with Selenium Core.
32
33 Selenium-RC is released under the Apache 2.0 license:
34 http://www.apache.org/licenses/LICENSE-2.0
35
36 This package assumes that Java is installed on the system and that
37 'java' is available on the command line.
38
39 The server will attempt to launch browsers, so make sure they're there.
40
41 To install:
42
43 perl Makefile.PL
44 make
45 make test
46 make install
47
48
49 Using the Selenium Server
50
51 Alien::SeleniumRC bundles a script called selenium-rc which will launch
52 the bundled selenium-server.jar server. Any arguments given to
53 selenium-rc will be passed through to java.
54
55 Start the server:
56
57 selenium-rc
58
59 See options:
60
61 selenium-rc -help
62
63 Run server on alternate port:
64
65 selenium-rc -port 1234
66
67
68 Copyright (c) 2006 Luke Closs <lukec@cpan.org>.
69 This package is free software; you can redistribute it and/or
70 modify it under the same terms as Perl itself.
Something went wrong with that request. Please try again.