1 |
*** Settings *** |
2 |
Documentation Actions spécifiques au Suivi. |
3 |
|
4 |
*** Keywords *** |
5 |
Mettre à jour les dates de suivi |
6 |
[Arguments] ${type_date} ${date} ${code_barres} |
7 |
|
8 |
[Documentation] |
9 |
|
10 |
Select From List By Label css=#type_mise_a_jour ${type_date} |
11 |
Wait Until Keyword Succeeds ${TIMEOUT} ${RETRY_INTERVAL} Input Text date ${date} |
12 |
Input Text code_barres ${code_barres} |
13 |
# On valide le formulaire |
14 |
Wait Until Keyword Succeeds ${TIMEOUT} ${RETRY_INTERVAL} Click Element css=#formulaire div.formControls input[type="submit"] |
15 |
# On valide la synthèse |
16 |
Wait Until Keyword Succeeds ${TIMEOUT} ${RETRY_INTERVAL} Click Element css=#formulaire div.formControls input[type="submit"] |
17 |
Wait Until Keyword Succeeds ${TIMEOUT} ${RETRY_INTERVAL} Valid Message Should Contain Saisie enregistrée |
18 |
|
19 |
Récupérer le code barre de l'instruction |
20 |
[Arguments] ${instruction} |
21 |
|
22 |
${id_instruction} = Wait Until Keyword Succeeds ${TIMEOUT} ${RETRY_INTERVAL} Get Text css=div#form-content span#instruction |
23 |
${code_barres} = STR_PAD_LEFT ${id_instruction} 10 0 |
24 |
${code_barres} = Catenate 11${code_barres} |
25 |
|
26 |
[Return] ${code_barres} |
27 |
|
28 |
Ouvrir le bordereau de suivi |
29 |
[Arguments] ${type_bordereau} |
30 |
|
31 |
Wait Until Element Is Visible bordereau |
32 |
Select From List By Label bordereau ${type_bordereau} |
33 |
Click On Submit Button |
34 |
Wait Until Keyword Succeeds ${TIMEOUT} ${RETRY_INTERVAL} Click Link ${type_bordereau} du ${date_jour} au ${date_jour} |
35 |
Open PDF pdfetat |
36 |
|
37 |
Ouvrir l'édition envoi lettre RAR avec le code barres |
38 |
[Arguments] ${date} ${code_barres} |
39 |
|
40 |
Click Link envoi lettre RAR |
41 |
Wait Until Keyword Succeeds ${TIMEOUT} ${RETRY_INTERVAL} Input Text date ${date} |
42 |
Input Text liste_code_barres_instruction ${code_barres} |
43 |
Click On Submit Button |
44 |
Valid Message Should Contain Cliquez sur le lien ci-dessous pour télécharger votre document : |
45 |
Wait Until Keyword Succeeds ${TIMEOUT} ${RETRY_INTERVAL} Click Link css=.pdf-16 |
46 |
Open PDF form |
47 |
|
48 |
|