Commit 15309123f96e385c4768c17b4493b8537fab27b6
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,9 +221,12 @@ Wait For Page Create Tender | ||
221 | ########## | 221 | ########## |
222 | JsSetScrollToElementBySelector \#submitBtn | 222 | JsSetScrollToElementBySelector \#submitBtn |
223 | Capture Page Screenshot | 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 | Capture Page Screenshot | 227 | Capture Page Screenshot |
226 | Sleep 1 | 228 | Sleep 1 |
229 | +# Run Keyword And Ignore Error Click Element xpath=//*[@id='submitBtn'] | ||
227 | Wait Until Page Contains Закупівля створена, дочекайтесь опублікування на сайті уповноваженого органу. 60 | 230 | Wait Until Page Contains Закупівля створена, дочекайтесь опублікування на сайті уповноваженого органу. 60 |
228 | Click Element xpath=//div[contains(@class, 'jconfirm-box')]//button[contains(@class, 'btn btn-default waves-effect waves-light btn-lg')] | 231 | Click Element xpath=//div[contains(@class, 'jconfirm-box')]//button[contains(@class, 'btn btn-default waves-effect waves-light btn-lg')] |
229 | Sleep 1 | 232 | Sleep 1 |
@@ -1171,7 +1174,8 @@ Save Tender | @@ -1171,7 +1174,8 @@ Save Tender | ||
1171 | [Arguments] ${od}=${None} | 1174 | [Arguments] ${od}=${None} |
1172 | Sleep 1 | 1175 | Sleep 1 |
1173 | JsSetScrollToElementBySelector \#submitBtn | 1176 | JsSetScrollToElementBySelector \#submitBtn |
1174 | - Click Button xpath=//*[text()='Зберегти зміни'] | 1177 | + Execute Javascript $("#submitBtn").trigger("click") |
1178 | +# Click Button xpath=//*[text()='Зберегти зміни'] | ||
1175 | Wait Until Page Contains Закупівля оновлена 60 | 1179 | Wait Until Page Contains Закупівля оновлена 60 |
1176 | Sleep 1 | 1180 | Sleep 1 |
1177 | Click Element xpath=//div[contains(@class, 'jconfirm-box')]//button[contains(@class, 'btn btn-default waves-effect waves-light btn-lg')] | 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