Added automation testcase for service user login

Testcase added:
     - Verify service user login failure with expired ACF

Change-Id: Ia5ad7635737194b5c980a1216eadf09c2d580d0d
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/openpower/service_account/test_service_login.robot b/openpower/service_account/test_service_login.robot
index a2a583e..fa7280c 100644
--- a/openpower/service_account/test_service_login.robot
+++ b/openpower/service_account/test_service_login.robot
@@ -42,12 +42,25 @@
     ...  Redfish.Login  service  ${SERVICE_USER_PASSWORD}
 
 
+Verify Service Login Failure With Expired ACF
+    [Documentation]  Verify service user login failure with expired ACF.
+    [Tags]  Verify_Service_Login_Failure_With_Expired_ACF
+    [Setup]  Valid Value EXPIRED_SERVICE_FILE_PATH
+
+    Remove Existing ACF
+    Open Connection for SCP
+    scp.Put File  ${EXPIRED_SERVICE_FILE_PATH}  ${acf_dir}
+    Run Keyword And Expect Error  InvalidCredentialsError*
+    ...  Redfish.Login  service  ${SERVICE_PASSWORD}
+
+
 *** Keywords ***
 
 Suite Setup Execution
     [Documentation]  Do suite setup tasks.
 
     # Upload production key in BMC because it is not part of OpenBMC build yet.
+    Open Connection for SCP
     scp.Put File  ${PRODUCTION_KEY_FILE_PATH}  ${acf_dir}