Showing
1 changed file
with
15 additions
and
4 deletions
@@ -63,7 +63,6 @@ Login | @@ -63,7 +63,6 @@ Login | ||
63 | Wait Until Element Is Visible xpath=//*[contains(@data-language, '1')] 10 | 63 | Wait Until Element Is Visible xpath=//*[contains(@data-language, '1')] 10 |
64 | Click Link xpath=//*[contains(@data-language, '1')] | 64 | Click Link xpath=//*[contains(@data-language, '1')] |
65 | Click Link xpath=//a[@href='#sidebarCollapse'] | 65 | Click Link xpath=//a[@href='#sidebarCollapse'] |
66 | - Sleep 10 | ||
67 | 66 | ||
68 | Wait Until Element Is Visible xpath=//*[contains(@class, 'btn btn-lg btn-default btn-custom waves-effect waves-light')] 10 | 67 | Wait Until Element Is Visible xpath=//*[contains(@class, 'btn btn-lg btn-default btn-custom waves-effect waves-light')] 10 |
69 | Click Link xpath=//*[contains(@class, 'btn btn-lg btn-default btn-custom waves-effect waves-light') and contains(.,'Увійти')] | 68 | Click Link xpath=//*[contains(@class, 'btn btn-lg btn-default btn-custom waves-effect waves-light') and contains(.,'Увійти')] |
@@ -560,8 +559,20 @@ Wait For UAID | @@ -560,8 +559,20 @@ Wait For UAID | ||
560 | Sleep 3 | 559 | Sleep 3 |
561 | Wait Until Page Contains Element ${wanted_locator} ${timeout} | 560 | Wait Until Page Contains Element ${wanted_locator} ${timeout} |
562 | 561 | ||
562 | +Клацнути і дочекатися пошук | ||
563 | + [Arguments] ${click_locator} ${wanted_locator} ${timeout} | ||
564 | + [Documentation] | ||
565 | + ... click_locator: Where to click | ||
566 | + ... wanted_locator: What are we waiting for | ||
567 | + ... timeout: Timeout | ||
568 | + Press key ${click_locator} \\13 | ||
569 | + Sleep 3 | ||
570 | + Wait Until Page Contains Element ${wanted_locator} ${timeout} | ||
571 | + | ||
563 | Шукати і знайти | 572 | Шукати і знайти |
564 | - Клацнути і дочекатися xpath=//button[contains(text(), 'Пошук')] xpath=(//div[@id='tender-list'])//a[contains(@href, '/tender/')][1] 5 | 573 | +#cat Клацнути і дочекатися xpath=//button[contains(text(), 'Пошук')] xpath=(//div[@id='tender-list'])//a[contains(@href, '/tender/')][1] 5 |
574 | +#cat Press key xpath=//div[contains(@id, 'classification-modal')]//input[@class='form-control js-input'] \\13 | ||
575 | + Клацнути і дочекатися пошук xpath=//input[@data-ds='query-input'] xpath=(//div[@id='tender-list'])//a[contains(@href, '/tender/')][1] 5 | ||
565 | 576 | ||
566 | Load And Check Text | 577 | Load And Check Text |
567 | [Arguments] ${url} ${wanted_text} | 578 | [Arguments] ${url} ${wanted_text} |
@@ -585,7 +596,8 @@ Load And Wait Text | @@ -585,7 +596,8 @@ Load And Wait Text | ||
585 | Load And Wait Text ${BROKERS['playtender'].homepage} Публічні закупівлі 4 | 596 | Load And Wait Text ${BROKERS['playtender'].homepage} Публічні закупівлі 4 |
586 | 597 | ||
587 | Wait Until Page Contains Element id=tendersearchform-query 20 | 598 | Wait Until Page Contains Element id=tendersearchform-query 20 |
588 | - Input Text id=tendersearchform-query ${ARGUMENTS[1]} | 599 | +#cat Input Text id=tendersearchform-query ${ARGUMENTS[1]} |
600 | + Input Text xpath=//input[@data-ds='query-input'] ${ARGUMENTS[1]} | ||
589 | 601 | ||
590 | ${timeout_on_wait}= Get Broker Property By Username ${ARGUMENTS[0]} timeout_on_wait | 602 | ${timeout_on_wait}= Get Broker Property By Username ${ARGUMENTS[0]} timeout_on_wait |
591 | 603 | ||
@@ -622,7 +634,6 @@ Load And Wait Text | @@ -622,7 +634,6 @@ Load And Wait Text | ||
622 | ... ${ARGUMENTS[1]} == ${filepath} | 634 | ... ${ARGUMENTS[1]} == ${filepath} |
623 | ... ${ARGUMENTS[2]} == ${TENDER_UAID} | 635 | ... ${ARGUMENTS[2]} == ${TENDER_UAID} |
624 | Selenium2Library.Switch Browser ${ARGUMENTS[0]} | 636 | Selenium2Library.Switch Browser ${ARGUMENTS[0]} |
625 | - #ubiz.Пошук тендера по ідентифікатору ${ARGUMENTS[0]} ${ARGUMENTS[2]} | ||
626 | Open Tender | 637 | Open Tender |
627 | Wait Until Page Contains Ідентифікатор закупівлі 20 | 638 | Wait Until Page Contains Ідентифікатор закупівлі 20 |
628 | Click Element xpath=//a[contains(@href, '/tender/update?id=')] | 639 | Click Element xpath=//a[contains(@href, '/tender/update?id=')] |
Please
register
or
login
to post a comment