Commit 95a4ffd20694a841677d5987642a1aea817da88c

Authored by Playtenders
1 parent d1fb58f4

search

Showing 1 changed file with 15 additions and 4 deletions
... ... @@ -63,7 +63,6 @@ Login
63 63 Wait Until Element Is Visible xpath=//*[contains(@data-language, '1')] 10
64 64 Click Link xpath=//*[contains(@data-language, '1')]
65 65 Click Link xpath=//a[@href='#sidebarCollapse']
66   - Sleep 10
67 66
68 67 Wait Until Element Is Visible xpath=//*[contains(@class, 'btn btn-lg btn-default btn-custom waves-effect waves-light')] 10
69 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 559 Sleep 3
561 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 577 Load And Check Text
567 578 [Arguments] ${url} ${wanted_text}
... ... @@ -585,7 +596,8 @@ Load And Wait Text
585 596 Load And Wait Text ${BROKERS['playtender'].homepage} Публічні закупівлі 4
586 597
587 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 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 634 ... ${ARGUMENTS[1]} == ${filepath}
623 635 ... ${ARGUMENTS[2]} == ${TENDER_UAID}
624 636 Selenium2Library.Switch Browser ${ARGUMENTS[0]}
625   - #ubiz.Пошук тендера по ідентифікатору ${ARGUMENTS[0]} ${ARGUMENTS[2]}
626 637 Open Tender
627 638 Wait Until Page Contains Ідентифікатор закупівлі 20
628 639 Click Element xpath=//a[contains(@href, '/tender/update?id=')]
... ...
Please register or login to post a comment