Automation fix for policies sub menu

Changes:
    - Modified Set SSH And IPMI State Via GUI keyword
    - Modified Test Setup Execution keyword

Tested:
    - Ran successfully test_policies_sub_menu.robot

Change-Id: Ifcfaee429b8433f65e0b103508a901ccd1853a1a
Signed-off-by: Megha G N <Megha.G.N@ibm.com>
diff --git a/gui/gui_test/security_and_access_menu/test_policies_sub_menu.robot b/gui/gui_test/security_and_access_menu/test_policies_sub_menu.robot
index f0da213..e03b918 100644
--- a/gui/gui_test/security_and_access_menu/test_policies_sub_menu.robot
+++ b/gui/gui_test/security_and_access_menu/test_policies_sub_menu.robot
@@ -213,7 +213,7 @@
     Wait Until Keyword Succeeds  30 sec  15 sec  Click Element  ${xpath_secuity_and_accesss_menu}
     Click Element  ${xpath_policies_sub_menu}
     Wait Until Keyword Succeeds  30 sec  15 sec  Location Should Contain  policies
-    Wait Until Element Is Not Visible   ${xpath_page_loading_progress_bar}  timeout=30
+    Wait Until Element Is Not Visible   ${xpath_page_loading_progress_bar}  timeout=1min
 
 Set Policy Via GUI
 
@@ -274,7 +274,7 @@
 
 Set SSH And IPMI State Via GUI
     [Documentation]  Set SSH and IPMI states via GUI.
-    [Arguments]  ${ssh_state}  ${ipmi_state}
+    [Arguments]  ${ssh_state}  ${ipmi_state}  ${persistency_check}=${False}
 
     # Description of argument(s):
     # ssh_state     State of SSH to be set (e.g. Enabled, Disabled).