...
|
...
|
@@ -843,7 +843,7 @@ Resource playtender_contr |
843
|
843
|
${tender_new_doc_locator} = replace string ${tender_new_doc_locator_tpl} %doc_id% ${doc_id}
|
844
|
844
|
wait until page contains element with reloading ${tender_new_doc_locator}
|
845
|
845
|
|
846
|
|
- ${file_link} = Execute Javascript return $('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-sandbox.prozorro.gov.ua"]').val('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-sandbox.prozorro.gov.ua"]').attr("href")
|
|
846
|
+ ${file_link} = Execute Javascript return $('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-staging.prozorro.gov.ua"]').val('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-staging.prozorro.gov.ua"]').attr("href")
|
847
|
847
|
${file_name} = get text ${tender_new_doc_locator}
|
848
|
848
|
download_file ${file_link} ${file_name} ${OUTPUT_DIR}
|
849
|
849
|
[return] ${file_name}
|
...
|
...
|
@@ -857,7 +857,7 @@ Resource playtender_contr |
857
|
857
|
open tender page by uaid ${tender_uaid}
|
858
|
858
|
${tender_new_doc_locator} = replace string ${tender_new_doc_locator_tpl} %doc_id% ${doc_id}
|
859
|
859
|
wait until page contains element with reloading ${tender_new_doc_locator}
|
860
|
|
- ${file_link} = Execute Javascript return $('.docs__list .docs__item.js-item:last a.doc__link[href*="https://public-docs-sandbox.prozorro.gov.ua"]').val('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-sandbox.prozorro.gov.ua"]').attr("href")
|
|
860
|
+ ${file_link} = Execute Javascript return $('.docs__list .docs__item.js-item:last a.doc__link[href*="https://public-docs-staging.prozorro.gov.ua"]').val('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-staging.prozorro.gov.ua"]').attr("href")
|
861
|
861
|
${file_name} = get text ${tender_new_doc_locator}
|
862
|
862
|
download_file ${file_link} ${file_name} ${OUTPUT_DIR}
|
863
|
863
|
[return] ${file_name}
|
...
|
...
|
@@ -871,9 +871,9 @@ Resource playtender_contr |
871
|
871
|
log many ${mode}
|
872
|
872
|
run keyword if "${mode}" not in "belowThreshold" wait until page contains element with reloading ${tender_auction_locator} 10
|
873
|
873
|
run keyword if "${mode}" in "belowThreshold" wait until page contains element with reloading ${tender_auction_belowThreshold_input_locator}
|
874
|
|
- ${return_value} = run keyword if "${mode}" not in "belowThreshold below_funders" Execute Javascript return $('#auction-info a[href*="https://auction-sandbox"]').attr("href")
|
875
|
|
-# ${return_value} = run keyword if "${mode}" in "belowThreshold" Execute Javascript return $('#aside-part-pjax a[href*="https://auction-sandbox"]').attr("href")
|
876
|
|
- ... ELSE IF '${mode}' in 'belowThreshold below_funders' Execute Javascript return $('#aside-part-pjax a[href*="https://auction-sandbox"]').attr("href")
|
|
874
|
+ ${return_value} = run keyword if "${mode}" not in "belowThreshold below_funders" Execute Javascript return $('#auction-info a[href*="https://auction-staging"]').attr("href")
|
|
875
|
+# ${return_value} = run keyword if "${mode}" in "belowThreshold" Execute Javascript return $('#aside-part-pjax a[href*="https://auction-staging"]').attr("href")
|
|
876
|
+ ... ELSE IF '${mode}' in 'belowThreshold below_funders' Execute Javascript return $('#aside-part-pjax a[href*="https://auction-staging"]').attr("href")
|
877
|
877
|
[return] ${return_value}
|
878
|
878
|
|
879
|
879
|
Отримати посилання на аукціон для учасника
|
...
|
...
|
@@ -885,9 +885,9 @@ Resource playtender_contr |
885
|
885
|
log many ${mode}
|
886
|
886
|
run keyword if "${mode}" not in "belowThreshold" wait until page contains element with reloading ${tender_auction_locator} 10
|
887
|
887
|
run keyword if "${mode}" in "belowThreshold" wait until page contains element with reloading ${tender_auction_belowThreshold_input_locator}
|
888
|
|
- ${return_value} = run keyword if "${mode}" not in "belowThreshold" Execute Javascript return $('#auction-info a[href*="https://auction-sandbox"]').attr("href")
|
889
|
|
-# ${return_value} = run keyword if "${mode}" in "belowThreshold" Execute Javascript return $('#aside-part-pjax a[href*="https://auction-sandbox"]').attr("href")
|
890
|
|
- ... ELSE IF '${mode}' in 'belowThreshold' Execute Javascript return $('#aside-part-pjax a[href*="https://auction-sandbox"]').attr("href")
|
|
888
|
+ ${return_value} = run keyword if "${mode}" not in "belowThreshold" Execute Javascript return $('#auction-info a[href*="https://auction-staging"]').attr("href")
|
|
889
|
+# ${return_value} = run keyword if "${mode}" in "belowThreshold" Execute Javascript return $('#aside-part-pjax a[href*="https://auction-staging"]').attr("href")
|
|
890
|
+ ... ELSE IF '${mode}' in 'belowThreshold' Execute Javascript return $('#aside-part-pjax a[href*="https://auction-staging"]').attr("href")
|
891
|
891
|
[return] ${return_value}
|
892
|
892
|
########################################################################################################################
|
893
|
893
|
################################################### END DOCUMENT KEYWORDS ###############################
|
...
|
...
|
|