Showing
1 changed file
with
41 additions
and
27 deletions
| @@ -15,8 +15,12 @@ ${locator.enquiryPeriod.endDate} xpath=//td[./text()='Завершення | @@ -15,8 +15,12 @@ ${locator.enquiryPeriod.endDate} xpath=//td[./text()='Завершення | ||
| 15 | ${locator.tenderPeriod.endDate} xpath=//td[./text()='Завершення періоду прийому пропозицій']/following-sibling::td[1] | 15 | ${locator.tenderPeriod.endDate} xpath=//td[./text()='Завершення періоду прийому пропозицій']/following-sibling::td[1] |
| 16 | ${locator.items[0].deliveryAddress.countryName} xpath=//td[@class='nameField'][./text()='Адреса поставки']/following-sibling::td[1] | 16 | ${locator.items[0].deliveryAddress.countryName} xpath=//td[@class='nameField'][./text()='Адреса поставки']/following-sibling::td[1] |
| 17 | ${locator.items[0].deliveryDate} xpath=//td[./text()='Кінцева дата поставки']/following-sibling::td[1] | 17 | ${locator.items[0].deliveryDate} xpath=//td[./text()='Кінцева дата поставки']/following-sibling::td[1] |
| 18 | +${locator.items[0].classification.scheme} xpath=//td[@class = 'nameField'][./text()='Клас CPV'] | ||
| 18 | ${locator.items[0].classification.id} xpath=//td[./text()='Клас CPV']/following-sibling::td[1]/span[1] | 19 | ${locator.items[0].classification.id} xpath=//td[./text()='Клас CPV']/following-sibling::td[1]/span[1] |
| 19 | ${locator.items[0].classification.description} xpath=//td[./text()='Клас CPV']/following-sibling::td[1]/span[2] | 20 | ${locator.items[0].classification.description} xpath=//td[./text()='Клас CPV']/following-sibling::td[1]/span[2] |
| 21 | +${locator.items[0].additionalClassifications[0].scheme} xpath=//td[@class = 'nameField'][./text()='Клас ДКПП'] | ||
| 22 | +${locator.items[0].additionalClassifications[0].id} xpath=//td[./text()='Клас ДКПП']/following-sibling::td[1]/span[1] | ||
| 23 | +${locator.items[0].additionalClassifications[0].description} xpath=//td[./text()='Клас ДКПП']/following-sibling::td[1]/span[2] | ||
| 20 | 24 | ||
| 21 | *** Keywords *** | 25 | *** Keywords *** |
| 22 | Підготувати клієнт для користувача | 26 | Підготувати клієнт для користувача |
| @@ -123,12 +127,6 @@ Set Multi Ids | @@ -123,12 +127,6 @@ Set Multi Ids | ||
| 123 | ${id}= Get Text xpath=//*/section[6]/table/tbody/tr[1]/td[2] | 127 | ${id}= Get Text xpath=//*/section[6]/table/tbody/tr[1]/td[2] |
| 124 | ${Ids}= Create List ${tender_UAid} ${id} | 128 | ${Ids}= Create List ${tender_UAid} ${id} |
| 125 | 129 | ||
| 126 | -Get Rough Copy Tender Id | ||
| 127 | - [Arguments] @{ARGUMENTS} | ||
| 128 | - ${tender_id}= Get Text xpath=//*/section[6]/table/tbody/tr[2]/td[2] | ||
| 129 | - ${tender_UA_ID}= Convert To String ${tender_UAid} | ||
| 130 | - [return] ${tender_UA_ID} | ||
| 131 | - | ||
| 132 | Додати предмет | 130 | Додати предмет |
| 133 | [Arguments] @{ARGUMENTS} | 131 | [Arguments] @{ARGUMENTS} |
| 134 | [Documentation] | 132 | [Documentation] |
| @@ -211,16 +209,15 @@ Get Rough Copy Tender Id | @@ -211,16 +209,15 @@ Get Rough Copy Tender Id | ||
| 211 | Go to ${BROKERS['${USERS.users['${username}'].broker}'].url} | 209 | Go to ${BROKERS['${USERS.users['${username}'].broker}'].url} |
| 212 | Wait Until Page Contains Держзакупівлі.онлайн 10 | 210 | Wait Until Page Contains Держзакупівлі.онлайн 10 |
| 213 | Click Element xpath=//a[text()='Закупівлі'] | 211 | Click Element xpath=//a[text()='Закупівлі'] |
| 214 | - sleep 5 | 212 | + sleep 1 |
| 215 | Click Element xpath=//select[@name='filter[object]']/option[@value='tenderID'] | 213 | Click Element xpath=//select[@name='filter[object]']/option[@value='tenderID'] |
| 216 | Input text xpath=//input[@name='filter[search]'] ${ARGUMENTS[1]} | 214 | Input text xpath=//input[@name='filter[search]'] ${ARGUMENTS[1]} |
| 217 | Click Element xpath=//button[@class='btn'][./text()='Пошук'] | 215 | Click Element xpath=//button[@class='btn'][./text()='Пошук'] |
| 218 | Wait Until Page Contains ${ARGUMENTS[1]} 10 | 216 | Wait Until Page Contains ${ARGUMENTS[1]} 10 |
| 219 | Capture Page Screenshot | 217 | Capture Page Screenshot |
| 220 | - sleep 5 | 218 | + sleep 1 |
| 221 | Click Element xpath=//a[@class='reverse tenderLink'] | 219 | Click Element xpath=//a[@class='reverse tenderLink'] |
| 222 | 220 | ||
| 223 | - | ||
| 224 | Задати питання | 221 | Задати питання |
| 225 | [Arguments] @{ARGUMENTS} | 222 | [Arguments] @{ARGUMENTS} |
| 226 | [Documentation] | 223 | [Documentation] |
| @@ -273,8 +270,7 @@ Get Rough Copy Tender Id | @@ -273,8 +270,7 @@ Get Rough Copy Tender Id | ||
| 273 | 270 | ||
| 274 | Selenium2Library.Switch Browser ${ARGUMENTS[0]} | 271 | Selenium2Library.Switch Browser ${ARGUMENTS[0]} |
| 275 | netcast.Пошук тендера по ідентифікатору ${ARGUMENTS[0]} ${ARGUMENTS[1]} | 272 | netcast.Пошук тендера по ідентифікатору ${ARGUMENTS[0]} ${ARGUMENTS[1]} |
| 276 | - | ||
| 277 | - sleep 5 | 273 | + sleep 1 |
| 278 | Click Element xpath=//a[@class='reverse openCPart'][span[text()='Скарги']] | 274 | Click Element xpath=//a[@class='reverse openCPart'][span[text()='Скарги']] |
| 279 | Wait Until Page Contains Element name=title 20 | 275 | Wait Until Page Contains Element name=title 20 |
| 280 | Input text name=title ${complaint} | 276 | Input text name=title ${complaint} |
| @@ -321,43 +317,61 @@ Get Rough Copy Tender Id | @@ -321,43 +317,61 @@ Get Rough Copy Tender Id | ||
| 321 | [return] ${return_value} | 317 | [return] ${return_value} |
| 322 | 318 | ||
| 323 | отримати інформацію про title | 319 | отримати інформацію про title |
| 324 | - ${return_value}= отримати тест із поля і показати на сторінці title | ||
| 325 | - [return] ${return_value} | 320 | + ${title}= отримати тест із поля і показати на сторінці title |
| 321 | + [return] ${title} | ||
| 326 | 322 | ||
| 327 | отримати інформацію про description | 323 | отримати інформацію про description |
| 328 | - ${return_value}= отримати тест із поля і показати на сторінці description | ||
| 329 | - [return] ${return_value} | 324 | + ${description}= отримати тест із поля і показати на сторінці description |
| 325 | + [return] ${description} | ||
| 330 | 326 | ||
| 331 | отримати інформацію про tenderId | 327 | отримати інформацію про tenderId |
| 332 | - ${return_value}= отримати тест із поля і показати на сторінці tenderId | ||
| 333 | - [return] ${return_value} | 328 | + ${tenderId}= отримати тест із поля і показати на сторінці tenderId |
| 329 | + [return] ${tenderId} | ||
| 334 | 330 | ||
| 335 | отримати інформацію про value.amount | 331 | отримати інформацію про value.amount |
| 336 | - ${return_value}= отримати тест із поля і показати на сторінці value.amount | ||
| 337 | - ${return_value}= Evaluate "".join("${return_value}".split(' ')[:-3]) | ||
| 338 | - ${return_value}= Convert To Number ${return_value} | ||
| 339 | - [return] ${return_value} | 332 | + ${valueAmount}= отримати тест із поля і показати на сторінці value.amount |
| 333 | + ${valueAmount}= Evaluate "".join("${valueAmount}".split(' ')[:-3]) | ||
| 334 | + ${valueAmount}= Convert To Number ${valueAmount} | ||
| 335 | + [return] ${valueAmount} | ||
| 340 | 336 | ||
| 341 | отримати інформацію про minimalStep.amount | 337 | отримати інформацію про minimalStep.amount |
| 342 | - ${return_value}= отримати тест із поля і показати на сторінці minimalStep.amount | ||
| 343 | - [return] ${return_value} | 338 | + ${minimalStepAamount}= отримати тест із поля і показати на сторінці minimalStep.amount |
| 339 | + [return] ${minimalStepAmount} | ||
| 344 | 340 | ||
| 345 | отримати інформацію про enquiryPeriod.endDate | 341 | отримати інформацію про enquiryPeriod.endDate |
| 346 | - ${return_value}= отримати тест із поля і показати на сторінці enquiryPeriod.endDate | ||
| 347 | - [return] ${return_value} | 342 | + ${enquiryPeriodEndDate}= отримати тест із поля і показати на сторінці enquiryPeriod.endDate |
| 343 | + [return] ${enquiryPeriodEndDate} | ||
| 348 | 344 | ||
| 349 | отримати інформацію про tenderPeriod.endDate | 345 | отримати інформацію про tenderPeriod.endDate |
| 350 | - ${return_value}= отримати тест із поля і показати на сторінці tenderPeriod.endDate | ||
| 351 | - [return] ${return_value} | 346 | + ${enquiryPeriodEndDate}= отримати тест із поля і показати на сторінці tenderPeriod.endDate |
| 347 | + [return] ${enquiryPeriodEndDate} | ||
| 352 | 348 | ||
| 353 | отримати інформацію про items[0].deliveryAddress.countryName | 349 | отримати інформацію про items[0].deliveryAddress.countryName |
| 354 | ${return_value}= отримати тест із поля і показати на сторінці items[0].deliveryAddress.countryName | 350 | ${return_value}= отримати тест із поля і показати на сторінці items[0].deliveryAddress.countryName |
| 355 | [return] ${return_value} | 351 | [return] ${return_value} |
| 356 | 352 | ||
| 353 | +отримати інформацію про items[0].classification.scheme | ||
| 354 | + ${return_value}= отримати тест із поля і показати на сторінці items[0].classification.scheme | ||
| 355 | + ${return_value}= Get Substring ${return_value} 5 | ||
| 356 | + [return] ${return_value} | ||
| 357 | + | ||
| 357 | отримати інформацію про items[0].classification.id | 358 | отримати інформацію про items[0].classification.id |
| 358 | ${return_value}= отримати тест із поля і показати на сторінці items[0].classification.id | 359 | ${return_value}= отримати тест із поля і показати на сторінці items[0].classification.id |
| 359 | [return] ${return_value} | 360 | [return] ${return_value} |
| 360 | 361 | ||
| 361 | отримати інформацію про items[0].classification.description | 362 | отримати інформацію про items[0].classification.description |
| 362 | ${return_value}= отримати тест із поля і показати на сторінці items[0].classification.description | 363 | ${return_value}= отримати тест із поля і показати на сторінці items[0].classification.description |
| 364 | + [return] ${return_value} | ||
| 365 | + | ||
| 366 | +отримати інформацію про items[0].additionalClassifications[0].scheme | ||
| 367 | + ${return_value}= отримати тест із поля і показати на сторінці items[0].additionalClassifications[0].scheme | ||
| 368 | + ${return_value}= Get Substring ${return_value} 5 | ||
| 369 | + [return] ${return_value} | ||
| 370 | + | ||
| 371 | +отримати інформацію про items[0].additionalClassifications[0].id | ||
| 372 | +${return_value}= отримати тест із поля і показати на сторінці items[0].additionalClassifications[0].id | ||
| 373 | + [return] ${return_value} | ||
| 374 | + | ||
| 375 | +отримати інформацію про items[0].additionalClassifications[0].description | ||
| 376 | +${return_value}= отримати тест із поля і показати на сторінці items[0].additionalClassifications[0].description | ||
| 363 | [return] ${return_value} | 377 | [return] ${return_value} |
Please
register
or
login
to post a comment