Subversion Repositories eFlore/Applications.cel

Rev

Rev 396 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#!/bin/bash
# Scenario nominal : saisie observation avec completion commune et espece, tous champs renseignes
# Extension : validation de chaque entree

# initialisation 
source test_init.sh

# Saisie Commune : Montpellier + completion 
xdotool key "shift+alt+1"
xdotool type --delay 150 "montpell"
sleep 1
xdotool key "Return"
xdotool key "Return"

# Saisie Lieu dit
xdotool key "Tab"
xdotool key "Tab"
xdotool type --delay 150 "Jardin des plantes " $obsid
xdotool key "Return"

# Saisie Station 
xdotool key "Tab"
xdotool type --delay 150 "Bord de la mare" 
xdotool key "Return"

# Saisie Milieu
xdotool key "Tab"
xdotool type --delay 150 "Pelouse" 
xdotool key "Return"

# Saisie Note 
xdotool key "Tab"
xdotool key "Tab"
xdotool type --delay 150 "Test"
xdotool key "Return"

# Saisie Date  
xdotool key "Tab"
xdotool type --delay 150 "10/10/2009" 
xdotool key "Return"

# Saisie Espece : Acer monspessulanum  
xdotool key "Tab"
xdotool type --delay 200 "Acer monspes"
sleep 2
xdotool key "Return"
xdotool key "Return"

# Validation

xdotool key "Tab"
xdotool key "Return"

# Controle
source test_controle.sh