Showing
3 changed files
with
14 additions
and
0 deletions
... | ... | @@ -977,6 +977,7 @@ Resource playtender_agree |
977 | 977 | |
978 | 978 | open tender page by uaid ${tender_uaid} |
979 | 979 | ${return_value} = Run Keyword If 'title' == '${field}' Отримати інформацію із документа title ${doc_id} |
980 | + ... ELSE IF 'documentOf' == '${field}' Отримати інформацію із документа documentOf ${doc_id} | |
980 | 981 | [return] ${return_value} |
981 | 982 | |
982 | 983 | Отримати документ | ... | ... |
... | ... | @@ -380,6 +380,18 @@ get value from lot |
380 | 380 | ${return_value} = Execute Javascript return ${tender_new_doc__title_locator} |
381 | 381 | [return] ${return_value} |
382 | 382 | |
383 | +Отримати інформацію із документа documentOf | |
384 | + [Arguments] ${doc_id} | |
385 | + [Documentation] Отримати значення поля title з документу з doc_id в описі для тендера tender_uaid. | |
386 | + | |
387 | + ${tender_new_doc_locator} = replace string ${tender_new_doc_contract_locator_tpl} %doc_id% ${doc_id} | |
388 | + wait until page contains element with reloading ${tender_new_doc_locator} | |
389 | + | |
390 | + ${tender_new_doc__title_locator} = replace string ${tender_new_doc_contract_document_of_locator_tpl} %doc_id% ${doc_id} | |
391 | + | |
392 | + ${return_value} = Execute Javascript return ${tender_new_doc__title_locator} | |
393 | + [return] ${return_value} | |
394 | + | |
383 | 395 | wait for tender status |
384 | 396 | [Documentation] Очикування відповідного статусу закупівлі, в залежності від кейворда |
385 | 397 | ... | ... |
... | ... | @@ -108,6 +108,7 @@ ${tender_lots_0_auctionPeriod_endDate_value_locator} = jquery=#tend |
108 | 108 | |
109 | 109 | ${tender_new_doc_contract_locator_tpl} = jquery=#contracts-pjax div[data-title*="%doc_id%"] |
110 | 110 | ${tender_new_doc_contract_title_locator_tpl} = $('#contracts-pjax div[data-title*="%doc_id%"]').attr("data-title") |
111 | +${tender_new_doc_contract_document_of_locator_tpl} = $('#contracts-pjax div[data-title*="%doc_id%"] [name*="document_of"]').val() | |
111 | 112 | |
112 | 113 | #wait for status |
113 | 114 | ${tender_status_active_tendering_value_locator} = xpath=//*[contains(text(), "active.tendering")] | ... | ... |
Please
register
or
login
to post a comment