Showing
1 changed file
with
6 additions
and
2 deletions
@@ -652,7 +652,11 @@ Require Failure | @@ -652,7 +652,11 @@ Require Failure | ||
652 | 652 | ||
653 | 653 | ||
654 | Оновити LAST_MODIFICATION_DATE | 654 | Оновити LAST_MODIFICATION_DATE |
655 | + [Documentation] | ||
656 | + ... Variable ``${TEST_STATUS}`` is only available in test case teardown. | ||
657 | + ... When we call this keyword from elswere, we need to presume that | ||
658 | + ... test status is ``PASS`` (since previous keywords passed and this | ||
659 | + ... one was called). | ||
655 | ${LAST_MODIFICATION_DATE}= Get Current TZdate | 660 | ${LAST_MODIFICATION_DATE}= Get Current TZdate |
656 | - ${status}= Get Variable Value ${TEST_STATUS} | 661 | + ${status}= Get Variable Value ${TEST_STATUS} PASS |
657 | Run Keyword If '${status}' == 'PASS' Set To Dictionary ${TENDER} LAST_MODIFICATION_DATE=${LAST_MODIFICATION_DATE} | 662 | Run Keyword If '${status}' == 'PASS' Set To Dictionary ${TENDER} LAST_MODIFICATION_DATE=${LAST_MODIFICATION_DATE} |
658 | - ... ELSE IF '${status}' == '${Empty}' Set To Dictionary ${TENDER} LAST_MODIFICATION_DATE=${LAST_MODIFICATION_DATE} |
Please
register
or
login
to post a comment