Commit 15309123f96e385c4768c17b4493b8537fab27b6

Authored by Playtenders
1 parent 66c53dac

edit Execute Javascript submitBtn for reporting and negotiation

Showing 1 changed file with 6 additions and 2 deletions
... ... @@ -221,9 +221,12 @@ Wait For Page Create Tender
221 221 ##########
222 222 JsSetScrollToElementBySelector \#submitBtn
223 223 Capture Page Screenshot
224   - Click Element xpath=//*[@id='submitBtn']
  224 + Sleep 1
  225 + Execute Javascript $("#submitBtn").trigger("click")
  226 +# Click Element xpath=//*[@id='submitBtn']
225 227 Capture Page Screenshot
226 228 Sleep 1
  229 +# Run Keyword And Ignore Error Click Element xpath=//*[@id='submitBtn']
227 230 Wait Until Page Contains Закупівля створена, дочекайтесь опублікування на сайті уповноваженого органу. 60
228 231 Click Element xpath=//div[contains(@class, 'jconfirm-box')]//button[contains(@class, 'btn btn-default waves-effect waves-light btn-lg')]
229 232 Sleep 1
... ... @@ -1171,7 +1174,8 @@ Save Tender
1171 1174 [Arguments] ${od}=${None}
1172 1175 Sleep 1
1173 1176 JsSetScrollToElementBySelector \#submitBtn
1174   - Click Button xpath=//*[text()='Зберегти зміни']
  1177 + Execute Javascript $("#submitBtn").trigger("click")
  1178 +# Click Button xpath=//*[text()='Зберегти зміни']
1175 1179 Wait Until Page Contains Закупівля оновлена 60
1176 1180 Sleep 1
1177 1181 Click Element xpath=//div[contains(@class, 'jconfirm-box')]//button[contains(@class, 'btn btn-default waves-effect waves-light btn-lg')]
... ...
Please register or login to post a comment