Added tests for SOL sub menu

Changes:
    - Added suite to test SOL page
    - Added tests to verify existence of all sections
      and buttons of SOL  page

Change-Id: Ie2f398522b1f4f575b0c87c476add4073bf42a68
Signed-off-by: Sushma M M <sushmm99@in.ibm.com>
diff --git a/gui/data/resource_variables.py b/gui/data/resource_variables.py
index bb42573..f5d1dfe 100644
--- a/gui/data/resource_variables.py
+++ b/gui/data/resource_variables.py
@@ -139,6 +139,7 @@
     xpath_reboot_bmc_sub_menu = "//a[@href='#/control/reboot-bmc']"
     xpath_server_led_sub_menu = "//a[@href='#/control/server-led']"
     xpath_server_power_operations_sub_menu = "//a[@href='#/control/server-power-operations']"
+    xpath_sol_sub_menu = "//a[@href='#/control/serial-over-lan']"
 
     # xpath for configuration menu
     xpath_server_configuration = "//button[@aria-controls='configuration-menu']"
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
new file mode 100644
index 0000000..9a53dd8
--- /dev/null
+++ b/gui/gui_test/control_menu/test_obmc_gui_sol_console.robot
@@ -0,0 +1,38 @@
+*** Settings ***
+
+Documentation  Test OpenBMC GUI "Serial over LAN Console" sub-menu of "Control".
+
+Resource        ../../lib/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 Existence Of All Sections In SOL Console Page
+    [Documentation]  Verify existence of all sections in SOL console page.
+    [Tags]  Verify_Existence_Of_All_Sections_In_SOL_Console_Page
+
+    Page Should Contain  Access the Serial over LAN console
+
+
+Verify Existence Of All Buttons In SOL Console Page
+    [Documentation]  Verify existence of all buttons in SOL console page.
+    [Tags]  Verify_Existence_Of_All_Buttons_In_SOL_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_control_menu}
+    Click Element  ${xpath_sol_sub_menu}
+    Wait Until Keyword Succeeds  30 sec  10 sec  Location Should Contain  serial-over-lan