Modified Xpath for console and Change headline from sol console to Host console

Change-Id: I28fa50d85755eadfb644acde5573c27913308d1c
Signed-off-by: rramyasr-in <rramyasr@in.ibm.com>
diff --git a/gui/data/gui_variables.py b/gui/data/gui_variables.py
index f56cd62..ff31a30 100644
--- a/gui/data/gui_variables.py
+++ b/gui/data/gui_variables.py
@@ -42,9 +42,9 @@
     xpath_factory_reset_sub_menu = "//*[@data-test-id='nav-item-factory-reset']"
     xpath_firmware_update_sub_menu = "//*[@data-test-id='nav-item-firmware']"
     xpath_reboot_bmc_sub_menu = "//*[@data-test-id='nav-item-reboot-bmc']"
-    xpath_sol_sub_menu = "//*[@data-test-id='nav-item-serial-over-lan']"
+    xpath_host_console_sub_menu = " //*[@data-test-id='nav-item-host-console']"
     xpath_server_power_operations_sub_menu = "//*[@data-test-id='nav-item-server-power-operations']"
-    xpath_sol_console_heading = "//h1[text()='Serial over LAN (SOL) console']"
+    xpath_host_console_heading = "//h1[text()='Host console']"
 
     # Settings menu
     xpath_settings_menu = "//*[@data-test-id='nav-button-settings']"
diff --git a/gui/gui_test/operations_menu/test_host_console_sub_menu.robot b/gui/gui_test/operations_menu/test_host_console_sub_menu.robot
new file mode 100644
index 0000000..c6c2cb2
--- /dev/null
+++ b/gui/gui_test/operations_menu/test_host_console_sub_menu.robot
@@ -0,0 +1,42 @@
+*** Settings ***
+
+Documentation  Test OpenBMC GUI "Host console" sub-menu of "Operations".
+
+Resource        ../../lib/gui_resource.robot
+
+Suite Setup     Launch Browser And Login GUI
+Suite Teardown  Close Browser
+Test Setup      Test Setup Execution
+
+
+*** Variables ***
+
+${xpath_open_in_new_tab_button}  //button[contains(text(),'Open in new tab')]
+
+
+*** Test Cases ***
+
+Verify Navigation To Host Console Page
+    [Documentation]  Verify navigation to Host console page.
+    [Tags]  Verify_Navigation_To_Host_Console_Page
+
+    Page Should Contain Element  ${xpath_host_console_heading}
+
+
+Verify Existence Of All Buttons In Host Console Page
+    [Documentation]  Verify existence of all buttons in Host console page.
+    [Tags]  Verify_Existence_Of_All_Buttons_In_Host_Console_Page
+
+    Page Should Contain Element  ${xpath_open_in_new_tab_button}
+
+
+*** Keywords ***
+
+Test Setup Execution
+    [Documentation]  Do test case setup tasks.
+
+    Click Element  ${xpath_operations_menu}
+    Click Element  ${xpath_host_console_sub_menu}
+    Wait Until Keyword Succeeds  30 sec  10 sec  Location Should Contain  host-console
+
+