Commit eec902244e7c7fffd12552369dd5b1882aec9b82

Authored by Playtenders
1 parent 133d7dbd

add document in belowThreshold openua openeu open_competitive_dialogue openua_de…

…fense below_funders open_esco for create tender
Showing 1 changed file with 16 additions and 0 deletions
@@ -198,14 +198,30 @@ Login @@ -198,14 +198,30 @@ Login
198 ${Ids}= Створити тендер Збереження форми 198 ${Ids}= Створити тендер Збереження форми
199 [return] ${Ids} 199 [return] ${Ids}
200 200
  201 +Створити FakeDocs
  202 + ${file_path} ${file_name} ${file_content}= create_fake_doc
  203 + Choose File xpath=//input[@type='file'] ${file_path}
  204 + Sleep 2
  205 +
201 Створити тендер Збереження форми 206 Створити тендер Збереження форми
  207 +#########
  208 + Run Keyword If '${mode}' in 'belowThreshold openua openeu open_competitive_dialogue openua_defense below_funders open_esco' Click Element xpath=//*[@class='form-nav-tabs nav nav-tabs nav-justified']//*[@href='#collapseDocuments']
  209 + Run Keyword If '${mode}' in 'belowThreshold openua openeu open_competitive_dialogue openua_defense below_funders open_esco' Sleep 1
  210 +# Run Keyword If '${mode}' in 'belowThreshold openua openeu open_competitive_dialogue openua_defense below_funders open_esco' Click Element xpath=//a[contains(@data-url, '/tender/get-document-form')]
  211 + Run Keyword If '${mode}' in 'belowThreshold openua openeu open_competitive_dialogue openua_defense below_funders open_esco' Wait Until Page Contains Element xpath=//input[@type='file'] 10
  212 + Run Keyword If '${mode}' in 'belowThreshold openua openeu open_competitive_dialogue openua_defense below_funders open_esco' Створити FakeDocs
  213 + Run Keyword If '${mode}' in 'belowThreshold openua openeu open_competitive_dialogue openua_defense below_funders open_esco' Sleep 2
  214 +##########
202 JsSetScrollToElementBySelector \#submitBtn 215 JsSetScrollToElementBySelector \#submitBtn
  216 + Capture Page Screenshot
203 Click Element xpath=//*[@id='submitBtn'] 217 Click Element xpath=//*[@id='submitBtn']
  218 + Capture Page Screenshot
204 Sleep 1 219 Sleep 1
205 Wait Until Page Contains Закупівля створена, дочекайтесь опублікування на сайті уповноваженого органу. 10 220 Wait Until Page Contains Закупівля створена, дочекайтесь опублікування на сайті уповноваженого органу. 10
206 Click Element xpath=//div[contains(@class, 'jconfirm-box')]//button[contains(@class, 'btn btn-default waves-effect waves-light btn-lg')] 221 Click Element xpath=//div[contains(@class, 'jconfirm-box')]//button[contains(@class, 'btn btn-default waves-effect waves-light btn-lg')]
207 Sleep 1 222 Sleep 1
208 223
  224 +
209 Wait For Sync Tender 360 225 Wait For Sync Tender 360
210 226
211 ${passed}= Run Keyword And Return Status Wait Until Keyword Succeeds 360 s 0 s Wait For UAID 227 ${passed}= Run Keyword And Return Status Wait Until Keyword Succeeds 360 s 0 s Wait For UAID
Please register or login to post a comment