mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
5caa2a2763
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
21 lines
502 B
Bash
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
|