File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
tests/robot/_resources/keywords Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -912,7 +912,12 @@ extract ehrstatus_uid (JSON)
912912 [Documentation] Extracts uuid of ehr_status from response of preceding request.
913913 ... DEPENDENCY: `create new EHR`
914914
915- Set Suite Variable ${ehrstatus_uid } ${resp.json()['ehr_status']['id']['value'] }
915+ ${is_ehr_status_id_value_present } Run Keyword And Return Status
916+ ... Set Suite Variable ${ehrstatus_uid } ${resp.json()['ehr_status']['id']['value'] }
917+ ## Below case is for Message API, as there is still ehr_status.uid.value
918+ IF not ${is_ehr_status_id_value_present }
919+ Set Suite Variable ${ehrstatus_uid } ${resp.json()['ehr_status']['uid']['value'] }
920+ END
916921 #Log To Console \n\tDEBUG OUTPUT - EHR_STATUS UUID: \n${ehrstatus_uid}
917922 @{ehr_status_uid } Split String ${ehrstatus_uid } ::
918923 Set Suite Variable ${versioned_status_uid } ${ehr_status_uid } [0 ]
You can’t perform that action at this time.
0 commit comments