Created a seperate resource and variable file for Vue GUI

Changes includes:
    - Added a new resource and variable file for Vue GUI automation
    - Moved required keywords from gui/lib/resource.robot into new
      resource file
    - Moved required variables from gui/data/resource_variables.py
      into new variable file
    - Modified resource and variable file path in required files

Change-Id: Iedc1d59c31de21af2808678340fcead9672afd34
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/gui/data/gui_variables.py b/gui/data/gui_variables.py
new file mode 100644
index 0000000..072faf5
--- /dev/null
+++ b/gui/data/gui_variables.py
@@ -0,0 +1,57 @@
+#!/usr/bin/python
+
+r"""
+Contains xpaths and related string constants applicable for new Vue based OpenBMC GUI.
+"""
+
+
+class gui_variables():
+
+    # Login page
+    xpath_textbox_hostname = "//input[@id='host']"
+    xpath_textbox_username = "//input[@id='username']"
+    xpath_textbox_password = "//input[@id='password']"
+    xpath_login_button = "//button[@type='submit']"
+    xpath_logout_button = "//*[@data-test-id='appHeader-link-logout']"
+
+    # Overview menu
+    xpath_overview_menu = "//*[@data-test-id='nav-item-overview']"
+
+    # GUI header
+    xpath_root_button_menu = "//*[@id='app-header-user__BV_toggle_']"
+    xpath_profile_settings = "//*[@data-test-id='appHeader-link-profile']"
+    xpath_server_health_header = "//*[@data-test-id='appHeader-container-health']"
+    xpath_event_header = "//h1[text()='Event logs']"
+    xpath_server_power_header = "//*[@data-test-id='appHeader-container-power']"
+    xpath_refresh_button = "//*[@data-test-id='appHeader-button-refresh']"
+    xpath_network_page_header = "//h1[contains(text(), 'Network settings')]"
+    xpath_sol_header = "//h1[contains(text(), 'Serial over LAN console')]"
+    xpath_sol_console_heading = "//h1[text()='Serial over LAN (SOL) console']"
+
+    # Health menu
+    xpath_health_menu = "//*[@data-test-id='nav-button-health']"
+    xpath_event_logs_sub_menu = "//*[@data-test-id='nav-item-event-logs']"
+    xpath_sensor_sub_menu = "//*[@data-test-id='nav-item-sensors']"
+    xpath_hardware_status_sub_menu = "//*[@data-test-id='nav-item-hardware-status']"
+
+    # Control menu
+    xpath_control_menu = "//*[@data-test-id='nav-button-control']"
+    xpath_manage_power_usage_sub_menu = "//*[@data-test-id='nav-item-manage-power-usage']"
+    xpath_reboot_bmc_sub_menu = "//*[@data-test-id='nav-item-reboot-bmc']"
+    xpath_server_led_sub_menu = "//*[@data-test-id='nav-item-server-led']"
+    xpath_server_power_operations_sub_menu = "//*[@data-test-id='nav-item-server-power-operations']"
+    xpath_sol_sub_menu = "//*[@data-test-id='nav-item-serial-over-lan']"
+    xpath_kvm_sub_menu = "//*[@data-test-id='nav-item-kvm']"
+
+    # Configuration menu
+    xpath_server_configuration = "//*[@data-test-id='nav-button-configuration']"
+    xpath_select_network_settings = "//*[@data-test-id='nav-item-network-settings']"
+    xpath_date_time_settings_sub_menu = "//*[@data-test-id='nav-item-date-time-settings']"
+    xpath_firmware_update_sub_menu = "//*[@data-test-id='nav-item-firmware']"
+
+    # Access control menu
+    xpath_access_control_menu = "//*[@data-test-id='nav-button-access-control']"
+    xpath_ldap_sub_menu = "//*[@data-test-id='nav-item-ldap']"
+    xpath_save_settings_button = "//button[contains(text(),'Save settings')]"
+    xpath_local_user_management_sub_menu = "//*[@data-test-id='nav-item-local-user-management']"
+    xpath_ssl_certificates_sub_menu = "//*[@data-test-id='nav-item-ssl-certificates']"
diff --git a/gui/data/resource_variables.py b/gui/data/resource_variables.py
index 9bd3aef..256d28b 100644
--- a/gui/data/resource_variables.py
+++ b/gui/data/resource_variables.py
@@ -120,49 +120,3 @@
     xpath_individual_event_export = \
         "//*[@id='event__actions-bar']/div[2]/div[2]/a"
     xpath_select_all_events = "(//*[@class='control__indicator'])[1]"
-
-    # New GUI variables
-    xpath_login_button = "//button[@type='submit']"
-    xpath_logout_button = "//*[@data-test-id='appHeader-link-logout']"
-
-    # xpath for overview menu
-    xpath_overview_menu = "//*[@data-test-id='nav-item-overview']"
-
-    # xpath for header
-    xpath_root_button_menu = "//*[@id='app-header-user__BV_toggle_']"
-    xpath_profile_settings = "//*[@data-test-id='appHeader-link-profile']"
-    xpath_server_health_header = "//*[@data-test-id='appHeader-container-health']"
-    xpath_event_header = "//h1[text()='Event logs']"
-    xpath_server_power_header = "//*[@data-test-id='appHeader-container-power']"
-    xpath_refresh_button = "//*[@data-test-id='appHeader-button-refresh']"
-    xpath_network_page_header = "//h1[contains(text(), 'Network settings')]"
-    xpath_sol_header = "//h1[contains(text(), 'Serial over LAN console')]"
-    xpath_sol_console_heading = "//h1[text()='Serial over LAN (SOL) console']"
-
-    # xpath for health menu
-    xpath_health_menu = "//*[@data-test-id='nav-button-health']"
-    xpath_event_logs_sub_menu = "//*[@data-test-id='nav-item-event-logs']"
-    xpath_sensor_sub_menu = "//*[@data-test-id='nav-item-sensors']"
-    xpath_hardware_status_sub_menu = "//*[@data-test-id='nav-item-hardware-status']"
-
-    # xpath for control menu
-    xpath_control_menu = "//*[@data-test-id='nav-button-control']"
-    xpath_manage_power_usage_sub_menu = "//*[@data-test-id='nav-item-manage-power-usage']"
-    xpath_reboot_bmc_sub_menu = "//*[@data-test-id='nav-item-reboot-bmc']"
-    xpath_server_led_sub_menu = "//*[@data-test-id='nav-item-server-led']"
-    xpath_server_power_operations_sub_menu = "//*[@data-test-id='nav-item-server-power-operations']"
-    xpath_sol_sub_menu = "//*[@data-test-id='nav-item-serial-over-lan']"
-    xpath_kvm_sub_menu = "//*[@data-test-id='nav-item-kvm']"
-
-    # xpath for configuration menu
-    xpath_server_configuration = "//*[@data-test-id='nav-button-configuration']"
-    xpath_select_network_settings = "//*[@data-test-id='nav-item-network-settings']"
-    xpath_date_time_settings_sub_menu = "//*[@data-test-id='nav-item-date-time-settings']"
-    xpath_firmware_update_sub_menu = "//*[@data-test-id='nav-item-firmware']"
-
-    # xpath for access control menu
-    xpath_access_control_menu = "//*[@data-test-id='nav-button-access-control']"
-    xpath_ldap_sub_menu = "//*[@data-test-id='nav-item-ldap']"
-    xpath_save_settings_button = "//button[contains(text(),'Save settings')]"
-    xpath_local_user_management_sub_menu = "//*[@data-test-id='nav-item-local-user-management']"
-    xpath_ssl_certificates_sub_menu = "//*[@data-test-id='nav-item-ssl-certificates']"
diff --git a/gui/gui_test/access_control/test_obmc_gui_certificate.robot b/gui/gui_test/access_control/test_obmc_gui_certificate.robot
index 2a236e1..411a988 100644
--- a/gui/gui_test/access_control/test_obmc_gui_certificate.robot
+++ b/gui/gui_test/access_control/test_obmc_gui_certificate.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC GUI "SSL Certificates" sub-menu of "Access control".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 Resource        ../../../lib/certificate_utils.robot
 
 Suite Setup     Suite Setup Execution
diff --git a/gui/gui_test/access_control/test_obmc_gui_ldap.robot b/gui/gui_test/access_control/test_obmc_gui_ldap.robot
index 407e3a7..84e1c00 100644
--- a/gui/gui_test/access_control/test_obmc_gui_ldap.robot
+++ b/gui/gui_test/access_control/test_obmc_gui_ldap.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC GUI "LDAP" sub-menu of "Access control".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/access_control/test_obmc_gui_local_users.robot b/gui/gui_test/access_control/test_obmc_gui_local_users.robot
index 64436a8..8e185e7 100644
--- a/gui/gui_test/access_control/test_obmc_gui_local_users.robot
+++ b/gui/gui_test/access_control/test_obmc_gui_local_users.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC GUI "Local user management" sub-menu of "Access control".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/control_menu/test_manage_power_usage_sub_menu.robot b/gui/gui_test/control_menu/test_manage_power_usage_sub_menu.robot
index 4daab82..cfce02f 100644
--- a/gui/gui_test/control_menu/test_manage_power_usage_sub_menu.robot
+++ b/gui/gui_test/control_menu/test_manage_power_usage_sub_menu.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC GUI "Manage power usage" sub-menu of "Server control".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/control_menu/test_obmc_gui_kvm_sub_menu.robot b/gui/gui_test/control_menu/test_obmc_gui_kvm_sub_menu.robot
index 032f430..b65c7f6 100644
--- a/gui/gui_test/control_menu/test_obmc_gui_kvm_sub_menu.robot
+++ b/gui/gui_test/control_menu/test_obmc_gui_kvm_sub_menu.robot
@@ -2,7 +2,7 @@
 
 Documentation   Test OpenBMC GUI "KVM" sub-menu.
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/control_menu/test_obmc_gui_sol_console.robot b/gui/gui_test/control_menu/test_obmc_gui_sol_console.robot
index 5ece154..3486061 100644
--- a/gui/gui_test/control_menu/test_obmc_gui_sol_console.robot
+++ b/gui/gui_test/control_menu/test_obmc_gui_sol_console.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC GUI "Serial over LAN Console" sub-menu of "Control".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/control_menu/test_reboot_bmc_sub_menu.robot b/gui/gui_test/control_menu/test_reboot_bmc_sub_menu.robot
index 58df953..d83008a 100644
--- a/gui/gui_test/control_menu/test_reboot_bmc_sub_menu.robot
+++ b/gui/gui_test/control_menu/test_reboot_bmc_sub_menu.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC GUI "Reboot BMC" sub-menu of "Server control".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/control_menu/test_server_led_sub_menu.robot b/gui/gui_test/control_menu/test_server_led_sub_menu.robot
index 42b2544..233a8e8 100644
--- a/gui/gui_test/control_menu/test_server_led_sub_menu.robot
+++ b/gui/gui_test/control_menu/test_server_led_sub_menu.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC GUI "Server LED" sub-menu of "Server control".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/control_menu/test_server_power_operations_sub_menu.robot b/gui/gui_test/control_menu/test_server_power_operations_sub_menu.robot
index 272678b..bf2a874 100644
--- a/gui/gui_test/control_menu/test_server_power_operations_sub_menu.robot
+++ b/gui/gui_test/control_menu/test_server_power_operations_sub_menu.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC GUI "Server power operations" sub-menu of "Server control".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 Resource        ../../../lib/state_manager.robot
 
 Suite Setup     Launch Browser And Login GUI
diff --git a/gui/gui_test/gui_header/test_gui_header.robot b/gui/gui_test/gui_header/test_gui_header.robot
index 47ba28b..375564e 100644
--- a/gui/gui_test/gui_header/test_gui_header.robot
+++ b/gui/gui_test/gui_header/test_gui_header.robot
@@ -2,7 +2,7 @@
 
 Documentation   Test OpenBMC GUI header.
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/gui_header/test_obmc_profile_settings.robot b/gui/gui_test/gui_header/test_obmc_profile_settings.robot
index e47651d..7b6c4bc 100644
--- a/gui/gui_test/gui_header/test_obmc_profile_settings.robot
+++ b/gui/gui_test/gui_header/test_obmc_profile_settings.robot
@@ -2,7 +2,7 @@
 
 Documentation   Test OpenBMC GUI "Profile settings" menu.
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/health_menu/test_event_logs_sub_menu.robot b/gui/gui_test/health_menu/test_event_logs_sub_menu.robot
index 672051b..ff6f96b 100644
--- a/gui/gui_test/health_menu/test_event_logs_sub_menu.robot
+++ b/gui/gui_test/health_menu/test_event_logs_sub_menu.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC GUI "Event logs" sub-menu.
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 Resource        ../../../lib/logging_utils.robot
 
 Suite Setup     Suite Setup Execution
diff --git a/gui/gui_test/health_menu/test_obmc_gui_hardware_status_sub_menu.robot b/gui/gui_test/health_menu/test_obmc_gui_hardware_status_sub_menu.robot
index 2d1a047..78dd8c2 100644
--- a/gui/gui_test/health_menu/test_obmc_gui_hardware_status_sub_menu.robot
+++ b/gui/gui_test/health_menu/test_obmc_gui_hardware_status_sub_menu.robot
@@ -2,7 +2,7 @@
 
 Documentation   Test OpenBMC GUI "Hardware Status" sub-menu of "Health" menu.
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/health_menu/test_obmc_gui_sensors.robot b/gui/gui_test/health_menu/test_obmc_gui_sensors.robot
index 841a170..70c4377 100644
--- a/gui/gui_test/health_menu/test_obmc_gui_sensors.robot
+++ b/gui/gui_test/health_menu/test_obmc_gui_sensors.robot
@@ -1,7 +1,7 @@
 *** Settings ***
 
 Documentation   Test OpenBMC GUI "Sensors" sub-menu.
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
@@ -73,4 +73,4 @@
 
     Click Element  ${xpath_health_menu}
     Click Element  ${xpath_sensor_sub_menu}
-    Wait Until Keyword Succeeds  30 sec  5 sec  Location Should Contain  sensors
\ No newline at end of file
+    Wait Until Keyword Succeeds  30 sec  5 sec  Location Should Contain  sensors
diff --git a/gui/gui_test/overview_menu/test_overview_menu.robot b/gui/gui_test/overview_menu/test_overview_menu.robot
index 7dcbe14..971d2bd 100644
--- a/gui/gui_test/overview_menu/test_overview_menu.robot
+++ b/gui/gui_test/overview_menu/test_overview_menu.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC GUI "Overview" menu.
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 Resource        ../../../lib/logging_utils.robot
 Resource        ../../../lib/list_utils.robot
 Resource        ../../../lib/bmc_network_utils.robot
diff --git a/gui/gui_test/server_config/test_date_time_settings_sub_menu.robot b/gui/gui_test/server_config/test_date_time_settings_sub_menu.robot
index 9be1424..596acb0 100644
--- a/gui/gui_test/server_config/test_date_time_settings_sub_menu.robot
+++ b/gui/gui_test/server_config/test_date_time_settings_sub_menu.robot
@@ -2,7 +2,7 @@
 
 Documentation   Test OpenBMC GUI "Date and time settings" sub-menu of "Configuration".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Suite Setup Execution
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/server_config/test_obmc_gui_firmware_update.robot b/gui/gui_test/server_config/test_obmc_gui_firmware_update.robot
index aefa65a..8582bbe 100644
--- a/gui/gui_test/server_config/test_obmc_gui_firmware_update.robot
+++ b/gui/gui_test/server_config/test_obmc_gui_firmware_update.robot
@@ -2,7 +2,7 @@
 
 Documentation  Test OpenBMC Firmware Update" sub menu of "Configuration".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 
 Suite Setup     Suite Setup Execution
 Suite Teardown  Close Browser
diff --git a/gui/gui_test/server_config/test_obmc_gui_network_settings.robot b/gui/gui_test/server_config/test_obmc_gui_network_settings.robot
index cbb87c7..d6f9c70 100644
--- a/gui/gui_test/server_config/test_obmc_gui_network_settings.robot
+++ b/gui/gui_test/server_config/test_obmc_gui_network_settings.robot
@@ -3,7 +3,7 @@
 Documentation   Test OpenBMC GUI "Network settings" sub-menu of
 ...             "Server configuration".
 
-Resource        ../../lib/resource.robot
+Resource        ../../lib/gui_resource.robot
 Resource        ../../../lib/bmc_network_utils.robot
 
 Suite Setup     Suite Setup Execution
diff --git a/gui/lib/gui_resource.robot b/gui/lib/gui_resource.robot
new file mode 100644
index 0000000..bad145f
--- /dev/null
+++ b/gui/lib/gui_resource.robot
@@ -0,0 +1,107 @@
+*** Settings ***
+Documentation  This is a resource file containing user-defined keywords for new Vue based OpenBMC GUI.
+
+Library        XvfbRobot
+Library        SeleniumLibrary
+Library        SSHLibrary  30 Seconds
+Resource       ../../lib/state_manager.robot
+Variables      ../data/gui_variables.py
+
+
+*** Variables ***
+${obmc_gui_url}              https://${OPENBMC_HOST}
+
+# Default GUI broswer and mode is set to "Firefox" and "headless"
+# respectively here.
+${GUI_BROWSER}               ff
+${GUI_MODE}                  headless
+
+${CMD_INTERNAL_FAILURE}      busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/logging
+...  xyz.openbmc_project.Logging.Create Create ssa{ss} xyz.openbmc_project.Common.Error.InternalFailure
+...  xyz.openbmc_project.Logging.Entry.Level.Error 0
+
+
+*** Keywords ***
+
+Open Browser With URL
+    [Documentation]  Open browser with specified URL and returns browser id.
+    [Arguments]  ${URL}  ${browser}=ff  ${mode}=${GUI_MODE}
+
+    # Description of argument(s):
+    # URL      Openbmc GUI URL to be open
+    #          (e.g. https://openbmc-test.mybluemix.net/#/login).
+    # browser  Browser used to open above URL
+    #          (e.g. gc for google chrome, ff for firefox).
+    # mode     Browser opening mode(e.g. headless, header).
+
+    ${browser_ID}=  Run Keyword If  '${mode}' == 'headless'
+    ...  Launch Headless Browser  ${URL}  ${browser}
+    ...  ELSE  Open Browser  ${URL}  ${browser}
+
+    [Return]  ${browser_ID}
+
+
+Launch Header Browser
+    [Documentation]  Open the browser with the URL and
+    ...              login on windows platform.
+    [Arguments]  ${browser_type}=${GUI_BROWSER}
+
+    # Description of argument(s):
+    # browser_type  Type of browser (e.g. "firefox", "chrome", etc.).
+
+    ${BROWSER_ID}=  Open Browser  ${obmc_gui_url}  ${browser_type}
+    Maximize Browser Window
+    Set Global Variable  ${BROWSER_ID}
+
+
+Launch Headless Browser
+    [Documentation]  Launch headless browser.
+    [Arguments]  ${URL}=${obmc_gui_url}  ${browser}=${GUI_BROWSER}
+
+    # Description of argument(s):
+    # URL      Openbmc GUI URL to be open
+    #          (e.g. https://openbmc-test.mybluemix.net/#/login).
+    # browser  Browser to open given URL in headless way
+    #          (e.g. gc for google chrome, ff for firefox).
+
+    Start Virtual Display
+    ${browser_ID}=  Open Browser  ${URL}
+    Set Window Size  1920  1080
+
+    [Return]  ${browser_ID}
+
+
+Launch Browser And Login GUI
+    [Documentation]  Launch browser and login to OpenBMC GUI.
+
+    Open Browser With URL  ${obmc_gui_url}
+    Login GUI  ${OPENBMC_USERNAME}  ${OPENBMC_PASSWORD}
+
+
+Login GUI
+    [Documentation]  Login to OpenBMC GUI.
+    [Arguments]  ${username}=${OPENBMC_USERNAME}  ${password}=${OPENBMC_PASSWORD}
+
+    # Description of argument(s):
+    # username  The username to be used for login.
+    # password  The password to be used for login.
+
+    Go To  ${obmc_gui_url}
+    Wait Until Element Is Enabled  ${xpath_textbox_username}
+    Input Text  ${xpath_textbox_username}  ${username}
+    Input Password  ${xpath_textbox_password}  ${password}
+    Click Element  ${xpath_login_button}
+    Wait Until Page Contains  Overview  timeout=30s
+
+
+Logout GUI
+    [Documentation]  Logout of OpenBMC GUI.
+
+    Click Element  ${xpath_logout_button}
+    Wait Until Page Contains Element  ${xpath_login_button}
+
+
+Generate Test Error Log
+    [Documentation]  Generate test error log.
+
+    BMC Execute Command  ${CMD_INTERNAL_FAILURE}
diff --git a/gui/lib/resource.robot b/gui/lib/resource.robot
index f79d413..55324f8 100644
--- a/gui/lib/resource.robot
+++ b/gui/lib/resource.robot
@@ -297,38 +297,3 @@
     Click Button  ${xpath_button_logout}
     Close Browser
 
-
-Launch Browser And Login GUI
-    [Documentation]  Launch browser and login to OpenBMC GUI.
-
-    Open Browser With URL  ${obmc_gui_url}
-    Login GUI  ${OPENBMC_USERNAME}  ${OPENBMC_PASSWORD}
-
-
-Login GUI
-    [Documentation]  Login to OpenBMC GUI.
-    [Arguments]  ${username}=${OPENBMC_USERNAME}  ${password}=${OPENBMC_PASSWORD}
-
-    # Description of argument(s):
-    # username  The username to be used for login.
-    # password  The password to be used for login.
-
-    Go To  ${obmc_gui_url}
-    Wait Until Element Is Enabled  ${xpath_textbox_username}
-    Input Text  ${xpath_textbox_username}  ${username}
-    Input Password  ${xpath_textbox_password}  ${password}
-    Click Element  ${xpath_login_button}
-    Wait Until Page Contains  Overview  timeout=30s
-
-
-Logout GUI
-    [Documentation]  Logout of OpenBMC GUI.
-
-    Click Element  ${xpath_logout_button}
-    Wait Until Page Contains Element  ${xpath_login_button}
-
-
-Generate Test Error Log
-    [Documentation]  Generate test error log.
-
-    BMC Execute Command  ${CMD_INTERNAL_FAILURE}