1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/www/sahi/files/sahi.sh.in
Nicola Vitale 5caa2a2763 Sahi is an automation tool to test web applications. Sahi injects
javascript into web pages using a proxy and the javascript helps
automate web applications.

Sahi is a tester friendly tool. It abstracts out most difficulties
that testers face while automating web applications. Some salient
features include excellent recorder, platform and browser independence,
no XPaths, no waits, multithreaded playback, excellent Java interaction
and inbuilt reporting.

WWW:	http://www.sahi.co.in/w/sahi
2012-08-08 06:07:32 +00:00

21 lines
502 B
Bash

#!/bin/sh
if [ ! -d ${HOME}/.sahi ] && [ -z "${SAHI_USERDATA_DIR}" ]; then
cp -r %%DATADIR%%/userdata ${HOME}/.sahi
chmod u+w ${HOME}/.sahi/config/*
export SAHI_USERDATA_DIR=${HOME}/.sahi
fi
if [ -z "${BROWSER}" ]; then
export BROWSER=%%BROWSER%%
fi
if [ -z "${http_proxy}" ]; then
export http_proxy=http://localhost:9999
fi
if [ -z "${SAHI_USERDATA_DIR}" ]; then
export SAHI_USERDATA_DIR=${HOME}/.sahi
fi
exec /usr/bin/env JAVA_HOME=%%JAVA_HOME%% ${SAHI_USERDATA_DIR}/bin/start_dashboard.sh