*** Settings *** Documentation Surcharges des ressources du framework (librairies, ressources, variables et keywords). Library openmairie.robotframework.Library *** Variables *** ${SERVER} localhost ${PROJECT_NAME} openexemple ${BROWSER} headlessfirefox ${DELAY} 0 ${RESOURCES} resources ${ADMIN_USER} admin ${ADMIN_PASSWORD} admin ${PROJECT_URL} http://${SERVER}/${PROJECT_NAME}/ ${PATH_BIN_FILES} ${EXECDIR}${/}binary_files${/} ${TITLE} :: openMairie :: openExemple - Framework ${SESSION_COOKIE} 1bb484de79f96a7d0b00ff463c18fcbf *** Keywords *** For Suite Setup Reload Library openmairie.robotframework.Library # Les keywords définit dans le resources.robot sont prioritaires Set Library Search Order resources Ouvrir le navigateur Tests Setup For Suite Teardown Fermer le navigateur # navigation.robot Go To DashBoard Go To ${PROJECT_URL}/app/index.php?module=dashboard # formulaire.robot Input HTML [Tags] [Arguments] ${field} ${value} Unselect Frame Select Frame ${field}_ifr Focus tinymce Input Text tinymce ${value} Select Window title=${TITLE} Unselect Frame # pdf.robot PDF Page Number Should Contain [Tags] [Documentation] Spécifique à la visionneuse de firefox [Arguments] ${page_number} ${text} Wait Until Keyword Succeeds ${TIMEOUT} ${RETRY_INTERVAL} Element Should Contain css=div[data-page-number="${page_number}"] ${text}