Commit a966823396898b8f19aa4d39ae791bc89d14d2d0
1 parent
f451e93a
Додано sleep у метод Пошук тендера по ідентифікатору для Хром браузера
Showing
2 changed files
with
8 additions
and
8 deletions
@@ -76,9 +76,6 @@ Pre Login | @@ -76,9 +76,6 @@ Pre Login | ||
76 | Input text name=items[0][item_quantity] ${quantity} | 76 | Input text name=items[0][item_quantity] ${quantity} |
77 | Input text name=items[0][item_deliveryAddress_countryName] ${countryName} | 77 | Input text name=items[0][item_deliveryAddress_countryName] ${countryName} |
78 | Input text name=items[0][item_deliveryDate_endDate] ${delivery_end_date} | 78 | Input text name=items[0][item_deliveryDate_endDate] ${delivery_end_date} |
79 | - Click Element xpath=//a[@class ='uploadFile'] | ||
80 | - Choose File xpath=//a[@class ='uploadFile'] ${file_path} | ||
81 | - Debug | ||
82 | Click Element xpath=//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'] | 79 | Click Element xpath=//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'] |
83 | Select Frame xpath=//iframe[contains(@src,'/js/classifications/cpv/uk.htm?relation=true')] | 80 | Select Frame xpath=//iframe[contains(@src,'/js/classifications/cpv/uk.htm?relation=true')] |
84 | Input text id=search ${cpv} | 81 | Input text id=search ${cpv} |
@@ -196,6 +193,7 @@ Set Multi Ids | @@ -196,6 +193,7 @@ Set Multi Ids | ||
196 | Wait Until Page Contains Держзакупівлі.онлайн 10 | 193 | Wait Until Page Contains Держзакупівлі.онлайн 10 |
197 | # sleep 1 | 194 | # sleep 1 |
198 | Click Element xpath=//a[text()='Закупівлі'] | 195 | Click Element xpath=//a[text()='Закупівлі'] |
196 | + sleep 5 | ||
199 | Click Element xpath=//select[@name='filter[object]']/option[@value='tenderID'] | 197 | Click Element xpath=//select[@name='filter[object]']/option[@value='tenderID'] |
200 | Input text xpath=//input[@name='filter[search]'] ${ARGUMENTS[1]} | 198 | Input text xpath=//input[@name='filter[search]'] ${ARGUMENTS[1]} |
201 | Click Element xpath=//button[@class='btn'][./text()='Пошук'] | 199 | Click Element xpath=//button[@class='btn'][./text()='Пошук'] |
@@ -89,18 +89,20 @@ users: | @@ -89,18 +89,20 @@ users: | ||
89 | homepage: "http://dz2.byustudio.in.ua" | 89 | homepage: "http://dz2.byustudio.in.ua" |
90 | login: ovramet.s@gmail.com | 90 | login: ovramet.s@gmail.com |
91 | password: Password1 | 91 | password: Password1 |
92 | - browser: firefox | 92 | + #browser: firefox |
93 | + browser: chrome | ||
93 | position: [0, 0] | 94 | position: [0, 0] |
94 | - size: [1920, 1080] | 95 | + size: [640, 450] |
95 | Netcast_Provider1: | 96 | Netcast_Provider1: |
96 | broker: Netcast | 97 | broker: Netcast |
97 | username: Netcasttest | 98 | username: Netcasttest |
98 | homepage: "http://dz2.byustudio.in.ua" | 99 | homepage: "http://dz2.byustudio.in.ua" |
99 | login: halyna.khimka@gmail.com | 100 | login: halyna.khimka@gmail.com |
100 | password: JHO5VUp5n | 101 | password: JHO5VUp5n |
101 | - browser: firefox | ||
102 | - position: [0, 450] | ||
103 | - size: [1920, 1080] | 102 | + #browser: firefox |
103 | + browser: chrome | ||
104 | + position: [0, 0] | ||
105 | + size: [640, 450] | ||
104 | Publicbid_Owner: | 106 | Publicbid_Owner: |
105 | broker: Publicbid | 107 | broker: Publicbid |
106 | username: Publicbid | 108 | username: Publicbid |
Please
register
or
login
to post a comment