mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
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
20 lines
502 B
Bash
20 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
|