Test your websites with this simple GUI based scripted webtester. Generate simple testscripts directly from surfng on the webpage, enhance them with your commands, with variables, loops, checks, … and finally run automated web tests.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
392 B

#!/bin/bash -e
if test -z "${WEBRUNNER_SCRIPTS}"; then
echo '*** ERROR: set at least -e WEBRUNNER_SCRIPTS="testfile.wt ..."'
echo " optional variables: XVFB_SERVER_ARGS, WEBRUNNER_ARGS"
exit 1
fi
xvfb-run -a --server-args="${XVFB_SERVER_ARGS:--screen 0 2048x2048x24}" \
webrunner ${WEBRUNNER_ARGS:--W 2048 -H 2048 -sx testoutput.xml} \
${WEBRUNNER_SCRIPTS}