5,8 → 5,8 |
# Todo : en faire une brique pour inclusion dans autres scenario |
|
# Lancement Cel |
firefox http://localhost/cel/www/org.tela_botanica.cel2/cel2.html |
sleep 4 |
firefox http://localhost/cel2/war/cel2.html |
sleep 7 |
|
# Timestamps |
|
15,17 → 15,18 |
# Init |
CWID=`xdotool getwindowfocus` |
WID=`xdotool search "Mozilla Firefox" | head -1` |
xdotool windowfocus $WID |
xdotool windowactivate $WID |
sleep 1 |
|
# Saisie Commune : Montpellier + completion |
xdotool key "shift+alt+1" |
xdotool type --delay 100 "montpell" |
xdotool type --delay 150 "montpell" |
sleep 1 |
xdotool key "Return" |
|
# Saisie Lieu dit |
xdotool key "Tab" |
xdotool key "Tab" |
xdotool type --delay 100 "Jardin des plantes " $obsid |
|
# Saisie Station |
36,6 → 37,11 |
xdotool key "Tab" |
xdotool type --delay 100 "Pelouse" |
|
# Saisie Note |
xdotool key "Tab" |
xdotool key "Tab" |
xdotool type --delay 100 "Test" |
|
# Saisie Date |
xdotool key "Tab" |
xdotool type --delay 100 "10/10/2009" |
42,14 → 48,10 |
|
# Saisie Espece : Acer monspessulanum |
xdotool key "Tab" |
xdotool type --delay 100 "Acer monspes" |
sleep 1 |
xdotool type --delay 150 "Acer monspes" |
sleep 2 |
xdotool key "Return" |
|
# Saisie note |
xdotool key "Tab" |
xdotool type --delay 100 "Test" |
|
# Validation |
|
xdotool key "Tab" |