Add testcase to check radio button in factory reset page

    Verify Existence Of All Radio Buttons In Factory Reset Page

Change-Id: Icf4121bd528ebf4c6033faf5854bfd0ec2d985c4
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/gui/gui_test/control_menu/test_factory_reset_sub_menu.robot b/gui/gui_test/control_menu/test_factory_reset_sub_menu.robot
index d377a5a..bec8a03 100644
--- a/gui/gui_test/control_menu/test_factory_reset_sub_menu.robot
+++ b/gui/gui_test/control_menu/test_factory_reset_sub_menu.robot
@@ -10,8 +10,10 @@
 
 *** Variables ***
 
-${xpath_factory_reset_heading}  //h1[text()="Factory reset"]
-${xpath_reset_button}           //button[contains(text(),'Reset')]
+${xpath_factory_reset_heading}          //h1[text()="Factory reset"]
+${xpath_reset_button}                   //button[contains(text(),'Reset')]
+${xpath_reset_server_radio_button}      //*[@data-test-id='factoryReset-radio-resetBios']
+${xpath_reset_bmc_server_radio_button}  //*[@data-test-id='factoryReset-radio-resetToDefaults']
 
 
 *** Test Cases ***
@@ -37,6 +39,14 @@
     Page Should Contain Element  ${xpath_reset_button}
 
 
+Verify Existence Of All Radio Buttons In Factory Reset Page
+     [Documentation]  Verify existence of all radio buttons in factory reset page.
+     [Tags]  Verify_Existence_Of_All_Radio_Buttons_In_Factory_Reset_Page
+
+     Page Should Contain Element  ${xpath_reset_server_radio_button}
+     Page Should Contain Element  ${xpath_reset_bmc_server_radio_button}
+
+
 *** Keywords ***
 
 Suite Setup Execution