Showing
2 changed files
with
12 additions
and
0 deletions
@@ -1101,7 +1101,13 @@ Resource playtender_agree | @@ -1101,7 +1101,13 @@ Resource playtender_agree | ||
1101 | ## run keyword if ${is_test_role_owner} and '${field_name}' in 'awards[0].complaintPeriod.endDate awards[1].complaintPeriod.endDate awards[2].complaintPeriod.endDate awards[3].complaintPeriod.endDate' fix awards data in global Users variable ${username} | 1101 | ## run keyword if ${is_test_role_owner} and '${field_name}' in 'awards[0].complaintPeriod.endDate awards[1].complaintPeriod.endDate awards[2].complaintPeriod.endDate awards[3].complaintPeriod.endDate' fix awards data in global Users variable ${username} |
1102 | 1102 | ||
1103 | open agreement page by uaid ${agreement_uaid} | 1103 | open agreement page by uaid ${agreement_uaid} |
1104 | + update agreement queue | ||
1105 | + sleep 10 | ||
1104 | ${return_value} = Run Keyword If '${field_name}' == 'changes[0].status' get value by locator on opened page ${agreement_changes_0_status_value_locator} | 1106 | ${return_value} = Run Keyword If '${field_name}' == 'changes[0].status' get value by locator on opened page ${agreement_changes_0_status_value_locator} |
1107 | + ... ELSE Run Keyword If '${field_name}' == 'changes[0].rationaleType' get value by locator on opened page ${agreement_changes_0_rationaleType_value_locator} | ||
1108 | + ... ELSE Run Keyword If '${field_name}' == 'changes[0].rationale' get value by locator on opened page ${agreement_changes_0_rationale_value_locator} | ||
1109 | + ... ELSE Run Keyword If '${field_name}' == 'changes[0].modifications[0].itemId' get value by locator on opened page ${agreement_changes_0_modifications_0_itemId_value_locator} | ||
1110 | + ... ELSE Run Keyword If '${field_name}' == 'changes[0].modifications[0].factor' get value by locator on opened page ${agreement_changes_0_modifications_0_factor_value_locator} | ||
1105 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].rationaleType' get value by locator on opened page ${agreement_changes_1_rationaleType_value_locator} | 1111 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].rationaleType' get value by locator on opened page ${agreement_changes_1_rationaleType_value_locator} |
1106 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].rationale' get value by locator on opened page ${agreement_changes_1_rationale_value_locator} | 1112 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].rationale' get value by locator on opened page ${agreement_changes_1_rationale_value_locator} |
1107 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].modifications[0].itemId' get value by locator on opened page ${agreement_changes_1_modifications_0_itemId_value_locator} | 1113 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].modifications[0].itemId' get value by locator on opened page ${agreement_changes_1_modifications_0_itemId_value_locator} |
@@ -13,6 +13,12 @@ ${agreement_status_value_locator} = jquery=#asid | @@ -13,6 +13,12 @@ ${agreement_status_value_locator} = jquery=#asid | ||
13 | #елемент проверки загрузки формы в попапе | 13 | #елемент проверки загрузки формы в попапе |
14 | #${popup_dynamic_form_loading_element_locator} = jquery=.fancybox-is-open .btn-add .fa-spin | 14 | #${popup_dynamic_form_loading_element_locator} = jquery=.fancybox-is-open .btn-add .fa-spin |
15 | ${agreement_changes_0_status_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .info-row.status span.value .badge__text | 15 | ${agreement_changes_0_status_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .info-row.status span.value .badge__text |
16 | +${agreement_changes_0_rationaleType_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value | ||
17 | +${agreement_changes_0_rationale_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .agreement-contract-info-wrapper.info-wrapper .info-row.rationale span.value | ||
18 | + | ||
19 | +${agreement_changes_0_modifications_0_itemId_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .agreement-contract-info-wrapper.info-wrapper .info-row.itemid span.value | ||
20 | +${agreement_changes_0_modifications_0_addend_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .agreement-contract-info-wrapper.info-wrapper .info-row.addend span.value | ||
21 | + | ||
16 | ${agreement_changes_1_rationaleType_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value | 22 | ${agreement_changes_1_rationaleType_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value |
17 | ${agreement_changes_1_rationale_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale span.value | 23 | ${agreement_changes_1_rationale_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale span.value |
18 | 24 |
Please
register
or
login
to post a comment