Fix the input entry for Verify SetStateEffecterStates

Resolves openbmc-test-automation/issues/#2080

Earlier

pldmtool platform GetPDR -d <effecterID, requestSet, effecterState>

pldmtool platform SetStateEffecterStates -d 1 1 1

Now

pldmtool platform GetPDR -i <effter_handle> -c <count>  -d <effecterID, effecterState>

pldmtool platform SetStateEffecterStates -i 1 -c 1 -d 1 1

Change-Id: Ic89f5e1a204cd5536aaed765dc91e987113f138c
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/pldm/test_pldm_platform.robot b/pldm/test_pldm_platform.robot
index 2793741..3c1c0a3 100644
--- a/pldm/test_pldm_platform.robot
+++ b/pldm/test_pldm_platform.robot
@@ -30,9 +30,11 @@
     [Tags]  Verify_SetStateEffecterStates
     [Template]  Verify SetStateEffecterStates For Effecter States
 
-    # EffecterStates (effecterID requestSet effecterState)
-    '1 1 1'  # (effecterState -> 1 move OSStatus to 'standby')
-    '1 1 2'  # (effecterState -> 2 move OSStatus to 'BootComplete')
+    # EffecterHandle  Count  EffecterStates (effecterID effecterState)
+
+    '1'  '1'  '1 1'  # (effecterState -> 1 -> 'Boot Not Active')
+    '1'  '1'  '1 2'  # (effecterState -> 2 -> 'Boot Completed')
+    '2'  '1'  '1 9'  # (effecterState -> 9 -> 'System Power is in soft off mode')
 
 *** Keywords ***
 
@@ -41,7 +43,9 @@
     [Arguments]  ${record_handle}
 
     # Description of argument(s):
-    # ${record_handle}  Record handle (e.g. '1').
+    # ${record_handle}  Record handle.
+    #                   e.g. '1' is record handle 'Boot Progress'.
+    #                        '2' is record handle 'System Power State'.
 
     # pldm_output:
     # [responseCount]:                               29
@@ -71,16 +75,20 @@
 
 Verify SetStateEffecterStates For Effecter States
     [Documentation]  Verify set state effecter states for given input effecter states.
-    [Arguments]  ${effecter_states}
+    [Arguments]  ${effecter_handle}  ${count}  ${effecter_states}
 
     # Description of argument(s):
-    # ${effecter_states}   (effecterID requestSet effecterState).
-    #                      e.g. '1 1 1'.
+    # ${effecter_handle}   A handle that is used to identify and access the effecter (e.g. '1').
+    #                      e.g. '1' is effecter handle 'Boot Progress'.
+    #                           '2' is effecter handle 'System Power State'.
+    # ${count}             The number of individual sets of effecter information (e.g. '1').
+    # ${effecter_states}   (effecterID effecterState).
+    #                      e.g. '1 1'.
 
     # Example output:
     # SetStateEffecterStates ]: SUCCESS
 
-    ${pldm_cmd}=  Evaluate  $CMD_SETSTATEEFFECTERSTATES % ${effecter_states}
+    ${pldm_cmd}=  Evaluate  $CMD_SETSTATEEFFECTERSTATES % (${effecter_handle}, ${count}, ${effecter_states})
     ${pldm_output}=  Pldmtool  ${pldm_cmd}
     Rprint Vars  pldm_output
     Valid Value  pldm_output['setstateeffecterstates']  ['SUCCESS']