2 Documentation Logins to VID
3 Library Selenium2Library
6 Library RequestsLibrary
7 Library OperatingSystem
8 Resource ../resources/keywords/login_vid_keywords.robot
12 [Documentation] Logs in to VID GUI
13 # Setup Browser Now being managed by test case
15 Go To ${VID_LOGIN_URL}
16 #Maximize Browser Window
17 Set Selenium Speed ${GLOBAL_SELENIUM_DELAY}
18 Set Browser Implicit Wait ${GLOBAL_SELENIUM_BROWSER_IMPLICIT_WAIT}
19 Log Logging in to ${VID_ENDPOINT}${VID_ENV}
22 Input Text xpath=//input[@id='loginId'] ${GLOBAL_VID_USERNAME}
23 Input Password xpath=//input[@id='password'] ${GLOBAL_VID_PASSWORD}
24 Click Button xpath=//input[@id='loginBtn']
25 Wait Until Page Contains Welcome to VID ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
26 Log Logged in to ${VID_ENDPOINT}${VID_ENV}
27 [Teardown] Close Browser