forked from TESTARtool/TESTAR_dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunImage
20 lines (20 loc) · 1.06 KB
/
runImage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
cat /README.Docker
echo "Internal Docker Display is"
echo $DISPLAY
echo "whoami"
whoami
echo "Starting TESTAR..."
cd /testar/bin
###################################################################
# Run TESTAR with the Xvfb server
# Configure TESTAR protocol and settings trought command line
###################################################################
xvfb-run ./testar sse=02_webdriver_parabank Mode=Generate SUTConnector=WEB_DRIVER SUTConnectorValue=" ""/usr/bin/chromedriver"" ""https://para.testar.org/"" " Sequences=1 SequenceLength=10 ShowVisualSettingsDialogOnStartup=false VisualizeActions=false FlashFeedback=false ProtocolCompileDirectory="/tmp"
###################################################################
# Next command can be used for debugging purposes.
# Instead of running TESTAR in the docker container,
# you can make this container commands continuously sleep.
# Then, open a Command Line Interface inside the running container.
###################################################################
#sh -c "while true; do sleep 1; done"