1 |
fmichon |
3173 |
*** Settings *** |
2 |
|
|
Documentation Actions navigation |
3 |
|
|
|
4 |
|
|
*** Keywords *** |
5 |
|
|
Go To Login Page |
6 |
|
|
Go To ${LOGIN URL} |
7 |
|
|
Login Page Should Be Open |
8 |
|
|
Page Should Not Contain Errors |
9 |
|
|
|
10 |
|
|
Go To Dashboard |
11 |
|
|
Click Link css=#logo h1 a.logo |
12 |
|
|
Page Title Should Be Tableau De Bord |
13 |
|
|
Page Should Not Contain Errors |
14 |
|
|
|
15 |
|
|
Login With Credentials |
16 |
|
|
[Arguments] ${username} ${password} |
17 |
|
|
Input Username ${username} |
18 |
|
|
Input Password ${password} |
19 |
|
|
Click Button login.action.connect |
20 |
|
|
Wait Until Element Is Visible css=#actions a.actions-logout |
21 |
|
|
Element Should Contain css=#actions a.actions-logout Déconnexion |
22 |
|
|
Welcome Page Should Be Open |
23 |
|
|
Page Should Not Contain Errors |
24 |
|
|
|
25 |
|
|
Logout |
26 |
|
|
Click Link css=#actions a.actions-logout |
27 |
|
|
Login Page Should Be Open |
28 |
|
|
Page Should Not Contain Errors |
29 |
|
|
|
30 |
|
|
Open Browser To Login Page |
31 |
|
|
[Arguments] ${width}=1024 ${height}=768 |
32 |
|
|
Open Browser ${LOGIN URL} ${BROWSER} |
33 |
|
|
Set Window Size ${width} ${height} |
34 |
|
|
Sleep 1 |
35 |
|
|
Set Selenium Speed ${DELAY} |
36 |
|
|
Login Page Should Be Open |
37 |
|
|
|
38 |
|
|
Open Browser And Login |
39 |
|
|
[Arguments] ${username} ${password} |
40 |
|
|
Open Browser To Login Page |
41 |
|
|
Login With Credentials ${username} ${password} |
42 |
|
|
|
43 |
|
|
Welcome Page Should Be Open |
44 |
|
|
Location Should Be ${WELCOME URL} |
45 |
|
|
Valid Message Should Be Votre session est maintenant ouverte. |
46 |
|
|
|
47 |
|
|
Login Page Should Be Open |
48 |
|
|
Wait Until Element Is Visible css=#title h2 |
49 |
|
|
Element Text Should Be css=#title h2 Veuillez Vous Connecter |
50 |
|
|
Title Should Be ${TITLE} |
51 |
|
|
|
52 |
|
|
Error On Login Page Should Be Open |
53 |
|
|
Location Should Be ${ERROR URL} |
54 |
|
|
Error Message Should Be Votre identifiant ou votre mot de passe est incorrect. |
55 |
|
|
|
56 |
|
|
Page Title Should Be |
57 |
|
|
[Arguments] ${messagetext} |
58 |
|
|
Wait Until Element Is Visible css=#title h2 |
59 |
|
|
Element Text Should Be css=#title h2 ${messagetext} |
60 |
|
|
|
61 |
|
|
Page Should Not Contain Errors |
62 |
|
|
Page Should Not Contain Erreur de base de données. |
63 |
|
|
Page Should Not Contain Fatal error |
64 |
|
|
Page Should Not Contain Parse error |
65 |
|
|
Page Should Not Contain Notice |
66 |
|
|
Page Should Not Contain Warning |