Showing
1 changed file
with
15 additions
and
1 deletions
| ... | ... | @@ -14,6 +14,8 @@ ${locator.tenderPeriod.startDate} jquery=tender-procedure-info>div.row:contai |
| 14 | 14 | ${locator.tenderPeriod.endDate} jquery=tender-procedure-info>div.row:contains("Завершення прийому пропозицій:")>:eq(1)> |
| 15 | 15 | ${locator.enquiryPeriod.startDate} jquery=tender-procedure-info>div.row:contains("Початок періоду уточнень:")>:eq(1)> |
| 16 | 16 | ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contains("Завершення періоду уточнень:")>:eq(1)> |
| 17 | +##Використовую такий шлях у кожного буде мінятись /yboi/. Міняйте на сві шлях до файлу | |
| 18 | +${file_path} /home/yboi/openprocurement.robottests.buildout/Document.docx | |
| 17 | 19 | |
| 18 | 20 | *** Keywords *** |
| 19 | 21 | Підготувати клієнт для користувача |
| ... | ... | @@ -366,4 +368,16 @@ Oтримати internal id по UAid |
| 366 | 368 | |
| 367 | 369 | Click Element xpath=//div[div/pre[1]]/div[1] |
| 368 | 370 | Input text xpath=//div[textarea]/textarea ${answer} |
| 369 | - Click Element xpath=//div[textarea]/span/button[1] | |
| \ No newline at end of file | ||
| 371 | + Click Element xpath=//div[textarea]/span/button[1] | |
| 372 | + | |
| 373 | +Завантажити документ | |
| 374 | + [Arguments] @{ARGUMENTS} | |
| 375 | + [Documentation] | |
| 376 | + ... ${ARGUMENTS[0]} = username | |
| 377 | + ... ${ARGUMENTS[1]} = filename | |
| 378 | + ... ${ARGUMENTS[2]} = ${TENDER_ID} | |
| 379 | + | |
| 380 | + Selenium2Library.Switch Browser ${ARGUMENTS[0]} | |
| 381 | + etender.Пошук тендера по ідентифікатору ${ARGUMENTS[0]} ${ARGUMENTS[2]} ${TENDER_ID} | |
| 382 | + Wait Until Page Contains Element xpath=//button[text()="Завантажити"] 100 | |
| 383 | + Choose File xpath=//button[text()="Завантажити"] ${file_path} | |
| \ No newline at end of file | ... | ... |
Please
register
or
login
to post a comment