Commit 57ec6dd29ef1ebc8e50871a1eacfde31f6ac2f3e
1 parent
0c1f418b
add document in belowThreshold openua openeu open_competitive_dialogue openua_de…
…fense below_funders open_esco for edit tender
Showing
1 changed file
with
4 additions
and
3 deletions
| ... | ... | @@ -670,7 +670,8 @@ Load And Wait Text |
| 670 | 670 | |
| 671 | 671 | Click Element xpath=//a[contains(@data-url, '/tender/get-document-form')] |
| 672 | 672 | Wait Until Page Contains Element xpath=//input[@type='file'] 10 |
| 673 | - Choose File xpath=//input[@type='file'] ${ARGUMENTS[1]} | |
| 673 | + Run Keyword If '${mode}' in 'belowThreshold openua openeu open_competitive_dialogue openua_defense below_funders open_esco' Choose File xpath=(//input[@type='file'])[2] ${ARGUMENTS[1]} | |
| 674 | + ... ELSE Choose File xpath=//input[@type='file'] ${ARGUMENTS[1]} | |
| 674 | 675 | Sleep 2 |
| 675 | 676 | |
| 676 | 677 | Save Tender |
| ... | ... | @@ -1348,8 +1349,8 @@ Save Tender |
| 1348 | 1349 | |
| 1349 | 1350 | Sync Tender |
| 1350 | 1351 | Go To ${BROKERS['playtender'].basepage}/tender/question-answer?id=${tender_id} |
| 1351 | - Click Element xpath=//select[@id='questionanswerform-question'] | |
| 1352 | - Click Element xpath=//select[@id='questionanswerform-question']//option[contains(text(), '${question_id}')] | |
| 1352 | + Click Element xpath=//select[@id='questionanswerform-pk'] | |
| 1353 | + Click Element xpath=//select[@id='questionanswerform-pk']//option[contains(text(), '${question_id}')] | |
| 1353 | 1354 | Input text xpath=//textarea[contains(@id, 'questionanswerform-answer')] ${answer.data.answer} |
| 1354 | 1355 | |
| 1355 | 1356 | Click Element xpath=//button[contains(text(), 'Надати відповідь')] | ... | ... |
Please
register
or
login
to post a comment