Running Tanaguru

mfaure's picture

Running Tanaguru as a web application

Tanaguru is now available at URL:

http://$SERVER_ADDRESS:$PORT/tanaguru-web-app-<version>/

where $SERVER_ADDRESS is the IP address or the hostname of the server hosting tanaguru and $PORT is the tomcat port (may be 8080 or 8180).

You may additionnaly place an Apache in front of Tomcat, and connect them with mod_proxy_ajp.

Running Tanaguru with the command line interface

To launch tanaguru on URLs, execute the following commands :

cd tanaguru-<version>.<architecture>

./bin/tanaguru.sh [OPTIONS]... [URL OR FILE OR SCENARIO]...
where [URL OR FILE OR SCENARIO] is a blank-separated list of Urls or Files or Scenari to be tested.
Here is the option list
 -f,--firefox-bin <arg>   Path to the firefox bin.
-h,--help Show this message.
-l,--level <arg> Level :
- "Or" for Gold level or AAA level,
- "Ar" for Silver level or AA level (default),
- "Bz" for Bronze level or A level
-o,--output <arg> Path to the output result file.
-r,--referential <arg> Referential :
- "AW22" for Accessiweb 2.2 (default)
- "AW21" for Accessiweb 2.1
- "RGA22" for Rgaa 2.2
- "Seo" for Seo
-t,--audit-type <arg> Audit type :
- "Page" for page audit (default)
- "File" for file audit
- "Scenario" for scenario audit
- "Site" for site audit

To customize the rules set, use the -l option of the start script to choose the appropriate level and its associated rule set.

To launch tanaguru on Scenarios (recorded from SeBuilder firefox add-on), execute the following commands :

cd tanaguru-<version>.<architecture>
./bin/tanaguru_scenario.sh -t Scenario ${path_to_json_file}

where $path_to_json_file is a local path to your scenario file (.json).