Base code update automation - Phase 1.

Resolves openbmc/openbmc-test-automation#1346

Change-Id: Ice4cf46638be4ec327318ec2384a16a94bd3789d
Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>
diff --git a/gui/obmc_gui/test/server_config/test_obmc_gui_firmware_update.robot b/gui/obmc_gui/test/server_config/test_obmc_gui_firmware_update.robot
new file mode 100644
index 0000000..79d6192
--- /dev/null
+++ b/gui/obmc_gui/test/server_config/test_obmc_gui_firmware_update.robot
@@ -0,0 +1,41 @@
+*** Settings ***
+
+Documentation  Test Open BMC GUI server configuration firmware update.
+
+Resource        ../../lib/resource.robot
+
+Suite Setup     Launch Browser And Login OpenBMC GUI
+Suite Teardown  Logout And Close Browser
+Test Setup      Test Setup Execution
+
+*** Variables ***
+${xpath_select_server_config}   //*[@id="nav__top-level"]/li[4]/button
+${xpath_select_firmware}        //a[@href='#/configuration/firmware']
+${xpath_choose_file_button}     //*[@id="firmware__upload-form"]/div[1]/label/span[1]
+
+*** Test Cases ***
+
+Verify Select Firmware From Server Configuration
+    [Documentation]  Verify ability to select firmware option from server
+    ...  configuration sub-menu.
+    [Tags]  Verify_Select_Firmware_From_Server_Configuration
+
+    Wait Until Page Contains  Firmware
+    Page Should contain  Manage BMC and server firmware
+
+Verify Choose File Button Click
+    [Documentation]  Verify choose file button is clickable.
+    [Tags]  Verify_Choose_File_Button_Click
+
+    Page Should Contain  No file chosen
+    Page Should Contain Element  ${xpath_choose_file_button}
+    Click Element  ${xpath_choose_file_button}
+
+*** Keywords ***
+
+Test Setup Execution
+   [Documentation]  Do test case setup tasks.
+
+    Click Element  ${xpath_select_server_config}
+    Wait Until Page Does Not Contain Element  ${xpath_refresh_circle}
+    Click Element  ${xpath_select_firmware}