Commit 52392a6cc87cc2a9c66a997d02377750133f43f7
1 parent
b73ee7f1
add\remove feature add\remove item new files for viewer
Showing
6 changed files
with
470 additions
and
62 deletions
... | ... | @@ -183,12 +183,10 @@ Resource playtender_tende |
183 | 183 | [Documentation] Отримати значення поля field_name з предмету з item_id в описі для тендера tender_uaid. |
184 | 184 | |
185 | 185 | open tender page by uaid ${tender_uaid} |
186 | - capture page screenshot | |
187 | 186 | #перейти на соответствующий предмет в первом лоте, например, первый |
188 | 187 | run keyword and ignore error click visible element ${tender_lot_1_tabs_item_btn_locator} |
189 | - ${field_name} = set variable if ${NUMBER_OF_LOTS} == 0 tender.item.${field_name}.value tender.lot.item.${field_name}.value | |
190 | - ${value} = get field_value by field_name on opened page ${field_name} | |
191 | - [Return] ${value} | |
188 | + ${return_value} = get value from item ${item_id} ${field_name} | |
189 | + [return] ${return_value} | |
192 | 190 | |
193 | 191 | Видалити предмет закупівлі |
194 | 192 | [Arguments] ${username} ${tender_uaid} ${item_id} ${lot_id}=Empty |
... | ... | @@ -196,6 +194,20 @@ Resource playtender_tende |
196 | 194 | ... (предмет може бути прив'язаним до лоту з lot_id в описі, |
197 | 195 | ... якщо lot_id != Empty). |
198 | 196 | |
197 | + open tender form by uaid ${tender_uaid} | |
198 | + wait until page does not contain element with reloading ${tender_sync_element_locator} | |
199 | + ${tender_form_lots_remove_item_btn_locator} = replace string ${tender_form_lots_remove_item_btn_locator_tpl} %item_id% ${item_id} | |
200 | + wait until page contains element with reloading ${tender_form_lots_remove_item_btn_locator} | |
201 | + click visible element ${tender_form_lots_remove_item_btn_locator} | |
202 | + Wait Until Page Contains ${tender_lots_remove_item_form_submit_success_msg} 60 | |
203 | + click visible element ${not_alert_opened_close_btn_locator} | |
204 | + run keyword and ignore error click visible element ${not_alert_opened_close_btn_locator} | |
205 | + capture page screenshot | |
206 | + Wait Until Page Does Not Contain ${tender_lots_remove_item_form_submit_success_msg} 10 | |
207 | + capture page screenshot | |
208 | + | |
209 | + save tender form and wait synchronization | |
210 | + | |
199 | 211 | |
200 | 212 | ######################################################################################################################## |
201 | 213 | ################################################### END ITEM KEYWORDS ################################################# |
... | ... | @@ -215,8 +227,10 @@ Resource playtender_tende |
215 | 227 | |
216 | 228 | open tender page by uaid ${tender_uaid} |
217 | 229 | #перейти на соответствующий лот, например, первый |
218 | - click visible element ${tender_lot_1_tabs_item_btn_locator} | |
230 | + ${tender_lot_switch_tabs_lot_btn_locator} = replace string ${tender_lot_switch_tabs_lot_btn_locator_tpl} %lot_id% ${lot_id} | |
231 | + click visible element ${tender_lot_switch_tabs_lot_btn_locator} | |
219 | 232 | ${field_name} = set variable tender.lot.${field_name}.value |
233 | +# ${value} = get value from lot ${lot_id} ${field_name} | |
220 | 234 | ${value} = get field_value by field_name on opened page ${field_name} |
221 | 235 | [Return] ${value} |
222 | 236 | |
... | ... | @@ -265,18 +279,16 @@ Resource playtender_tende |
265 | 279 | [Arguments] ${username} ${tender_uaid} ${feature} |
266 | 280 | [Documentation] Додати дані feature про неціновий показник до тендера tender_uaid. |
267 | 281 | |
268 | -# ${tender_data} = generate dictionary from field path and value ${fieldname} ${fieldvalue} | |
269 | 282 | open tender form by uaid ${tender_uaid} |
270 | 283 | fill tender form features2 ${feature} ${tender_form_general_panel_update_feature_btn_locator} |
271 | 284 | save tender form and wait synchronization |
272 | -# add feature ${feature} | |
273 | 285 | |
274 | 286 | Додати неціновий показник на предмет |
275 | 287 | [Arguments] ${username} ${tender_uaid} ${feature} ${item_id} |
276 | 288 | [Documentation] Додати дані feature про неціновий показник до предмету з item_id в описі для тендера tender_uaid. |
277 | 289 | |
278 | 290 | open tender form by uaid ${tender_uaid} |
279 | - fill tender form features2 ${feature} ${tender_form_item_panel_add_feature_btn_locator} | |
291 | + fill tender form features2 ${feature} ${tender_form_item_add_feature_btn_locator} | |
280 | 292 | save tender form and wait synchronization |
281 | 293 | |
282 | 294 | Додати неціновий показник на лот |
... | ... | @@ -284,24 +296,37 @@ Resource playtender_tende |
284 | 296 | [Documentation] Додати дані feature про неціновий показник до лоту з lot_id в описі для тендера tender_uaid. |
285 | 297 | |
286 | 298 | open tender form by uaid ${tender_uaid} |
287 | - fill tender form features2 ${feature} ${tender_form_lot_panel_update_feature_btn_locator} | |
299 | + fill tender form features2 ${feature} ${tender_update_feature_lot_btn_locator} | |
288 | 300 | save tender form and wait synchronization |
289 | 301 | |
290 | 302 | Отримати інформацію із нецінового показника |
291 | 303 | [Arguments] ${username} ${tender_uaid} ${feature_id} ${field_name} |
292 | 304 | [Documentation] Отримати значення поля field_name з нецінового показника з feature_id в описі для тендера tender_uaid. |
293 | 305 | |
294 | - open tender form by uaid ${tender_uaid} | |
295 | -# ${field_name} = set variable ${feature_id}.tender.feature.${field_name}.value | |
296 | - ${value} = get field_value by field_name on opened page ${field_name} | |
306 | + open tender page by uaid ${tender_uaid} | |
307 | + wait until page does not contain element with reloading ${tender_sync_element_locator} | |
308 | + ${return_value} = get value from features ${feature_id} ${field_name} | |
309 | + [return] ${return_value} | |
297 | 310 | |
298 | 311 | Видалити неціновий показник |
299 | 312 | [Arguments] ${username} ${tender_uaid} ${feature_id} ${obj_id}=Empty |
300 | 313 | [Documentation] Видалити неціновий показник з feature_id в описі для тендера tender_uaid. |
301 | 314 | |
315 | + | |
302 | 316 | open tender form by uaid ${tender_uaid} |
303 | - click visible element ${tender_form_general_panel_update_feature_btn_locator} | |
304 | - submit form and check result ${tender_feature_dell_btn_locator} ${tender_feature_form_submit_success_msg} ${tender_feature_dell_submit_btn_locator} | |
317 | + Run Keyword If '${TEST_NAME}' == 'Можливість видалити неціновий показник на предмет' click visible element ${tender_update_feature_item_btn_locator} | |
318 | + Run Keyword If '${TEST_NAME}' == 'Можливість видалити неціновий показник на лот' click visible element ${tender_update_feature_lot_btn_locator} | |
319 | + Run Keyword If '${TEST_NAME}' == 'Можливість видалити неціновий показник на тендер' click visible element ${tender_update_feature_tender_btn_locator} | |
320 | + wait until popup is visible | |
321 | + ${tender_feature_switch_dell_btn_locator} = replace string ${tender_feature_switch_dell_btn_locator_tpl} %feature_id% ${feature_id} | |
322 | + click visible element ${tender_feature_switch_dell_btn_locator} | |
323 | + Wait Until Element Is Visible ${tender_feature_dell_btn_locator} 20 | |
324 | + click visible element ${tender_feature_dell_btn_locator} | |
325 | + Wait Until Page Contains ${tender_feature_form_submit_success_msg} 60 | |
326 | + click visible element ${not_alert_opened_close_btn_locator} | |
327 | + Wait Until Page Does Not Contain ${tender_feature_form_submit_success_msg} 10 | |
328 | + submit current visible popup | |
329 | + save tender form and wait synchronization | |
305 | 330 | |
306 | 331 | |
307 | 332 | ######################################################################################################################## | ... | ... |
... | ... | @@ -298,7 +298,7 @@ submit form and check result |
298 | 298 | |
299 | 299 | click visible element ${submit_btn_locator} |
300 | 300 | run keyword if condition is not none ${wait_msg} wait until alert is visible ${wait_msg} |
301 | - run keyword if condition is not none ${wait_msg} close current visible alert | |
301 | + run keyword and ignore error run keyword if condition is not none ${wait_msg} close current visible alert | |
302 | 302 | run keyword if condition is not none ${wait_element_locator} wait until page contains element ${wait_element_locator} 60s Element was not shown after form submitting |
303 | 303 | |
304 | 304 | wait until popup is visible | ... | ... |
... | ... | @@ -5,6 +5,7 @@ Resource playtender_varia |
5 | 5 | Resource playtender_question.robot |
6 | 6 | Resource playtender_claim.robot |
7 | 7 | Resource playtender_bid.robot |
8 | +Resource playtender_viewer.robot | |
8 | 9 | |
9 | 10 | *** Keywords *** |
10 | 11 | |
... | ... | @@ -65,17 +66,13 @@ fill tender general info |
65 | 66 | [Documentation] обирає потрібний тип закупівлі, чекає оновлення форми, вказує мультилотовість, заповнює |
66 | 67 | ... приховані поля + відкриває попап основних даних, заповнює його і закриває |
67 | 68 | |
68 | - LOG MANY ${data} | |
69 | 69 | Execute Javascript $(window).scrollTop(0) |
70 | 70 | wait until page does not contain element ${tender_load_form_after_mode_locator} |
71 | - capture page screenshot | |
72 | 71 | wait until page contains element ${tender_form_procurement_method_type_input_locator} |
73 | 72 | capture page screenshot |
74 | 73 | ${procurement_method_type} = get from dictionary by keys ${data} procurementMethodType |
75 | 74 | capture page screenshot |
76 | 75 | run keyword if condition is not none ${procurement_method_type} select from list by value ${tender_form_procurement_method_type_input_locator} ${procurement_method_type} |
77 | - #run keyword if condition is not none ${procurement_method_type} select from visible list by value ${tender_form_procurement_method_type_input_locator} ${procurement_method_type} | |
78 | - capture page screenshot | |
79 | 76 | wait until page does not contain element ${tender_load_form_after_mode_locator} |
80 | 77 | |
81 | 78 | ${lots} = get from dictionary by keys ${data} lots |
... | ... | @@ -371,7 +368,7 @@ fill award reporting form in opened popup |
371 | 368 | run keyword if condition is not none ${contact_point_phone} input text to exist visible input ${tender_form_award_organization_contact_point_phone_locator} ${contact_point_phone} |
372 | 369 | # ${duration_days} = get from dictionary by keys ${data} contactPoint days |
373 | 370 | # run keyword if condition is not none ${duration_days} input text to exist visible input ${milestone_form_popup_duration_days_input_locator} ${duration_days} |
374 | - input number to exist visible input ${tender_form_award_budget_locator} ${budget} | |
371 | + input number to exist visible input ${tender_form_award_budget_locator} ${budget} | |
375 | 372 | |
376 | 373 | open tender search form |
377 | 374 | [Documentation] відкриває сторінку з пошуком тендерів | ... | ... |
... | ... | @@ -117,6 +117,7 @@ ${tender_form_general_panel_edit_add_document_btn_locator} = jquery=div[d |
117 | 117 | #последняя кнопка “Додати” для номенклатуры (для лотовой и безлотовой и репортинг) |
118 | 118 | ${tender_form_item_add_edit_btn_locator} = jquery=.form-group-popup-panel[data-attribute="items"]:last > .panel-heading .js-form-popup-add |
119 | 119 | ${tender_form_item_panel_add_feature_btn_locator} = jquery=.form-group-popup-panel[data-attribute="items"]:last .js-form-popup-panel-list:first > .js-form-popup-panel-item:last .actions-wrapper .btn[data-attribute="features"] |
120 | +${tender_form_item_add_feature_btn_locator} = jquery=.form-group-popup-panel[data-attribute="items"]:last .js-form-popup-panel-list:first > .js-form-popup-panel-item:last .js-form-popup-panel[data-attribute="features"] .actions-wrapper .btn.js-form-popup-update | |
120 | 121 | ${tender_form_item_edit_btn_locator} = jquery=.form-group-popup-panel[data-attribute="items"]:last > .panel-heading .js-form-popup-add |
121 | 122 | |
122 | 123 | #${tender_form_milestones_panel_edit_btn_locator} = jquery=[data-url$="#milestones-form-popup"] |
... | ... | @@ -146,11 +147,6 @@ ${tender_form_lot_panel_update_feature_btn_locator} = jquery=#Lots |
146 | 147 | ${tender_form_lot_panel_add_document_btn_locator_tpl} = jquery=#Lots #collapseLots div[data-title*="%lot_id%"] .actions-wrapper a.js-btn-add-form-popup-panel:last |
147 | 148 | ${tender_form_lot_panel_edit_add_document_btn_locator} = jquery=#Lots #collapseLots div[data-title*="%lot_id%"] .js-form-hidden-popup-panel:last .actions-wrapper a.js-form-popup-update |
148 | 149 | |
149 | -#${tender_form_milestones_percentage_locator} = jquery=.js-item.tab-pane.active [id$="-percentage"] | |
150 | -#${tender_form_milestones_code_locator} = jquery=.tab-pane.active [id$="-code"] | |
151 | -#${tender_form_milestones_duration_days_locator} = jquery=-pane.active [id$="-duration_days"] | |
152 | -#${tender_form_milestones_duration_type_locator} = jquery=-pane.active [id$="-duration_type"] | |
153 | - | |
154 | 150 | |
155 | 151 | ${tender_form_procuringEntity_contactPoint_edit_btn_locator} = jquery=(#tender-form .panel.panel-default.form-popup-panel.js-form-popup-panel .panel-heading .actions-wrapper .js-form-popup-update)[4] |
156 | 152 | ${tender_form_submit_btn_locator} = jquery=#tender-form .js-submit-btn |
... | ... | @@ -182,18 +178,21 @@ ${tender_tenderID_value_locator} = jquery=#tend |
182 | 178 | ${tender_milestones_0_code_value_locator} = jquery=#tender-part-pjax .tabs.tabs .milestone-info-wrapper.hidden.info-wrapper:first .info-row.code |
183 | 179 | ${tender_milestones_0_title_value_locator} = jquery=#tender-part-pjax .tabs.tabs .milestone-info-wrapper.hidden.info-wrapper:first .info-row.title |
184 | 180 | ${tender_milestones_0_percentage_value_locator} = jquery=#tender-part-pjax .tabs.tabs .milestone-info-wrapper.hidden.info-wrapper:first .info-row.percentage |
181 | +${tender_milestones_0_percentage_value_type} = integer | |
185 | 182 | ${tender_milestones_0_duration_days_value_locator} = jquery=#tender-part-pjax .tabs.tabs .milestone-info-wrapper.hidden.info-wrapper:first .info-row.duration_days |
186 | 183 | ${tender_milestones_0_duration_days_value_type} = integer |
187 | 184 | ${tender_milestones_0_duration_type_value_locator} = jquery=#tender-part-pjax .tabs.tabs .milestone-info-wrapper.hidden.info-wrapper:first .info-row.duration_type |
188 | 185 | ${tender_milestones_1_code_value_locator} = jquery=#milestones .pseudo-table__row:nth(2) .milestone-info-wrapper.hidden.info-wrapper .info-row.code |
189 | 186 | ${tender_milestones_1_title_value_locator} = jquery=#milestones .pseudo-table__row:nth(2) .milestone-info-wrapper.hidden.info-wrapper .info-row.title |
190 | 187 | ${tender_milestones_1_percentage_value_locator} = jquery=#milestones .pseudo-table__row:nth(2) .milestone-info-wrapper.hidden.info-wrapper .info-row.percentage |
188 | +${tender_milestones_1_percentage_value_type} = integer | |
191 | 189 | ${tender_milestones_1_duration_days_value_locator} = jquery=#milestones .pseudo-table__row:nth(2) .milestone-info-wrapper.hidden.info-wrapper .info-row.duration_days |
192 | 190 | ${tender_milestones_1_duration_days_value_type} = integer |
193 | 191 | ${tender_milestones_1_duration_type_value_locator} = jquery=#milestones .pseudo-table__row:nth(2) .milestone-info-wrapper.hidden.info-wrapper .info-row.duration_type |
194 | 192 | ${tender_milestones_2_code_value_locator} = jquery=#tender-part-pjax .tabs.tabs .milestone-info-wrapper.hidden.info-wrapper:last .info-row.code |
195 | 193 | ${tender_milestones_2_title_value_locator} = jquery=#tender-part-pjax .tabs.tabs .milestone-info-wrapper.hidden.info-wrapper:last .info-row.title |
196 | 194 | ${tender_milestones_2_percentage_value_locator} = jquery=#tender-part-pjax .tabs.tabs .milestone-info-wrapper.hidden.info-wrapper:last .info-row.percentage |
195 | +${tender_milestones_2_percentage_value_type} = integer | |
197 | 196 | ${tender_milestones_2_duration_days_value_locator} = jquery=#tender-part-pjax .tabs.tabs .milestone-info-wrapper.hidden.info-wrapper:last .info-row.duration_days |
198 | 197 | ${tender_milestones_2_duration_days_value_type} = integer |
199 | 198 | ${tender_milestones_2_duration_type_value_locator} = jquery=#tender-part-pjax .tabs.tabs .milestone-info-wrapper.hidden.info-wrapper:last .info-row.duration_type |
... | ... | @@ -212,20 +211,20 @@ ${tender_tenderPeriod_endDate_value_locator} = jquery=#tend |
212 | 211 | ${tender_items_0_description_value_locator} = jquery=#tender-part-pjax .info-row.tender-period-end-date.hidden |
213 | 212 | |
214 | 213 | #lots |
214 | +${tender_lot_switch_tabs_lot_btn_locator_tpl} jquery=#lots .tabs__list .tabs__item span.tabs__tab-big-text:contains("%lot_id%") | |
215 | 215 | ${tender_lot_1_tabs_item_btn_locator} jquery=#lots .tabs__item:first > a |
216 | -${tender_lot_2_tabs_item_btn_locator} jquery=#lots .tabs__item:nth(1) > a | |
217 | -${tender_lot_3_tabs_item_btn_locator} jquery=#lots .tabs__item:nth(2) > a | |
218 | -${tender_lot_title_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible > span div.textvalue.hidden | |
216 | +${tender_lot_title_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible > span div.textvalue:first | |
217 | +${tender_lot_description_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible > span div.textvalue.hidden | |
219 | 218 | ${tender_lot_value_amount_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden |
220 | 219 | ${tender_lot_value_amount_value_type} = float |
221 | -${tender_lot_lots_0_description_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible > span div.textvalue.hidden | |
222 | 220 | ${tender_lot_value_currency_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden |
223 | 221 | ${tender_lot_value_value_added_tax_included_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden |
224 | -${tender_lot_minimalStep_amount_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden | |
225 | -${tender_lot_minimalStep_amount_value_type} = float | |
226 | -${tender_lot_lot_0_minimal_step_amount_currency_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden | |
227 | -${tender_lot_lot_0_minimal_step_amount_value_added_tax_included_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden | |
222 | +${tender_lot_minimal_step_amount_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden | |
223 | +${tender_lot_minimal_step_amount_value_type} = float | |
224 | +${tender_lot_minimal_step_amount_currency_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden | |
225 | +${tender_lot_minimal_step_amount_value_added_tax_included_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden | |
228 | 226 | |
227 | +##### BOF - TMP ##### | |
229 | 228 | ${tender_lot_0_title_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible > span div.textvalue.hidden |
230 | 229 | ${tender_lot_0_value_amount_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden |
231 | 230 | ${tender_lot_0_value_amount_value_type} = float |
... | ... | @@ -237,50 +236,32 @@ ${tender_lot_0_minimal_step_amount_value_type} = float |
237 | 236 | ${tender_lot_0_lot_0_minimal_step_amount_currency_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden |
238 | 237 | ${tender_lot_0_lot_0_minimal_step_amount_value_added_tax_included_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden |
239 | 238 | ${tender_form_lots_edit_lot1_btn_locator} = jquery=#Lots #collapseLots #Lots0 .actions-wrapper a.btn.btn-default.btn-update.js-form-popup-update:first |
239 | +${tender_form_lots_add_item_btn_locator} = jquery=#Lots #collapseLots #Lots0 .actions-wrapper a.js-form-popup-add | |
240 | +${tender_form_lots_remove_item_btn_locator_tpl} = jquery=#collapseLots0 .js-form-popup-panel[data-title*="%item_id%"] .actions-wrapper .js-form-popup-remove | |
241 | +${tender_lots_remove_item_form_submit_success_msg} = Ви дійсно бажаєте видалити цей елемент? | |
242 | +${not_alert_opened_close_btn_locator} = jquery=.animated-content .js-btn-confirm | |
240 | 243 | ${tender_form_lots_add_item_reporting_btn_locator} = jquery=.form-group-popup-panel[data-attribute="items"]:last #Items0 .js-form-popup-update |
244 | +##### EOF - TMP ##### | |
241 | 245 | |
242 | 246 | #item |
243 | 247 | ${tender_item_1_tabs_item_btn_locator} jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) |
244 | 248 | ${tender_item_2_tabs_item_btn_locator} jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(1) |
245 | 249 | ${tender_item_3_tabs_item_btn_locator} jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(2) |
246 | 250 | |
247 | -${tender_item_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .textvalue.hidden | |
248 | -${tender_item_description_ru_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper [id$='-description_ru'] | |
249 | -${tender_item_description_en_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper [id$='-description_en'] | |
250 | -${tender_item_quantity_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .quantity-source | |
251 | -${tender_item_quantity_value_type} = float | |
252 | -${tender_item_unit_title_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .unit-title-source | |
253 | -${tender_item_unit_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .unit-code-source | |
254 | -${tender_item_classification_scheme_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-scheme | |
255 | -${tender_item_classification_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-code | |
256 | -${tender_item_classification_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-description | |
257 | -${tender_item_additional_classification_scheme_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-scheme | |
258 | -${tender_item_additional_classification_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-code | |
259 | -${tender_item_additional_classification_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-description | |
260 | -${tender_item_delivery_region_id_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-country | |
261 | -${tender_item_delivery_postal_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-postalcode | |
262 | -${tender_item_delivery_locality_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-locality | |
263 | -${tender_item_delivery_street_address_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-street-address | |
264 | -${tender_item_delivery_start_date_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-start-date-source | |
265 | -${tender_item_delivery_end_date_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-end-date-source | |
266 | -${tender_item_delivery_latitude_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-latitude | |
267 | -${tender_item_delivery_longitude_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-longitude | |
268 | - | |
269 | -${tender_lot_item_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .textvalue.hidden | |
270 | - | |
271 | - | |
272 | 251 | ${tender_form_general_panel_update_award_reporting_btn_locator} = jquery=#Award .js-form-popup-update |
273 | 252 | |
274 | -#add feature | |
253 | +#add\remove feature | |
275 | 254 | #${tender_form_features_panel_edit_btn_locator} = jquery=.fancybox-content [href$="#add-features"] |
276 | 255 | ${tender_form_general_panel_update_feature_btn_locator} = jquery=#collapseGeneral .js-form-popup-update:nth(0) |
256 | +${tender_update_feature_tender_btn_locator} = jquery=#collapseGeneral .js-form-popup-update:nth(0) | |
257 | +${tender_update_feature_lot_btn_locator} = jquery=#collapseLots #Lots0 #collapseLots0 .js-form-hidden-popup-panel .js-form-popup-panel[data-attribute*="features"] .actions-wrapper .js-form-popup-update:last | |
258 | +${tender_update_feature_item_btn_locator} = jquery=#collapseLots #Lots0 #collapseLots0 .js-form-hidden-popup-panel:nth(0) .actions-wrapper .js-form-popup-update:nth(0) | |
277 | 259 | ${tender_feature_dell_btn_locator} = jquery=.fancybox-is-open .nav.nav-pills.js-nav.allow-empty .fa.fa-times:last |
278 | 260 | ${tender_feature_form_submit_success_msg} = Ви впевнені що бажаєте видалити поточний неціновий критерій? |
279 | 261 | ${tender_feature_dell_submit_btn_locator} = jquery=.animated-content .js-btn-confirm |
280 | 262 | |
281 | -${tender_features_0_title_value_locator} = jquery=.row--value-list .value .underline__inner:nth(1) | |
282 | -${tender_features_1_title_value_locator} = jquery=.row--value-list .value .underline__inner:nth(0) | |
283 | -${tender_features_2_title_value_locator} = jquery=.row--value-list .value .underline__inner:nth(2)${tender_form_general_tender_plan_id_locator} = jquery=[id$="form-plan_id"] | |
263 | +${tender_form_general_tender_plan_id_locator} = jquery=[id$="form-plan_id"] | |
264 | +${tender_feature_switender_lot_minimalStep_amount_value_locatortch_dell_btn_locator_tpl} = jquery=.fancybox-is-open .nav.nav-pills.js-nav.allow-empty li[data-title*="%feature_id%"] a[href*="#features"] | |
284 | 265 | |
285 | 266 | #award reporting |
286 | 267 | ${tender_form_award_organization_name_locator} = jquery=[id$="-award_organization_name"] |
... | ... | @@ -294,3 +275,5 @@ ${tender_form_award_organization_contact_point_name_locator} = jquery=[id$= |
294 | 275 | ${tender_form_award_organization_contact_point_email_locator} = jquery=[id$="-award_organization_contact_point_email"] |
295 | 276 | ${tender_form_award_organization_contact_point_phone_locator} = jquery=[id$="-award_organization_contact_point_phone"] |
296 | 277 | ${tender_form_award_budget_locator} = jquery=[id$="-award_value_amount"] |
278 | + | |
279 | + | ... | ... |
playtender_viewer.robot
0 → 100644
1 | +*** Settings *** | |
2 | + | |
3 | +Resource playtender_common.robot | |
4 | +Resource playtender_variables.robot | |
5 | +Resource playtender_question.robot | |
6 | +Resource playtender_claim.robot | |
7 | +Resource playtender_bid.robot | |
8 | +Resource playtender_viewer.robot | |
9 | +Resource playtender_viewer_variables.robot | |
10 | + | |
11 | +*** Keywords *** | |
12 | + | |
13 | +get value from features | |
14 | + [Arguments] ${feature_id} ${field_name} | |
15 | + [Documentation] Отримати значення поля field_name з нецінового показника з feature_id в описі для тендера tender_uaid. | |
16 | + | |
17 | + ${return_value} = Run Keyword If 'title' == '${field_name}' Отримати інформацію із нецінового показника title ${feature_id} | |
18 | + ... ELSE IF 'description' == '${field_name}' Отримати інформацію із нецінового показника description ${feature_id} | |
19 | + ... ELSE IF 'featureOf' == '${field_name}' Отримати інформацію із нецінового показника featureOf ${feature_id]} | |
20 | + [return] ${return_value} | |
21 | + | |
22 | +Отримати інформацію із нецінового показника title | |
23 | + [Arguments] ${feature_id} | |
24 | + [Documentation] Отримати значення поля title з нецінового показника з feature_id в описі для тендера tender_uaid. | |
25 | + | |
26 | + ${tender_features_title_value_locator} = replace string ${tender_features_title_value_locator_tpl} %feature_id% ${feature_id} | |
27 | + ${return_value} = get value by locator on opened page ${tender_features_title_value_locator} | |
28 | + [return] ${return_value} | |
29 | + | |
30 | +Отримати інформацію із нецінового показника description | |
31 | + [Arguments] ${feature_id} | |
32 | + [Documentation] Отримати значення поля description з нецінового показника з feature_id в описі для тендера tender_uaid. | |
33 | + | |
34 | + ${tender_features_description_value_locator} = replace string ${tender_features_description_value_locator_tpl} %feature_id% ${feature_id} | |
35 | + ${return_value} = get text ${tender_features_title_value_locator} | |
36 | + [return] ${return_value} | |
37 | + | |
38 | +Отримати інформацію із нецінового показника featureOf | |
39 | + [Arguments] ${feature_id} | |
40 | + [Documentation] Отримати значення поля featureOf з нецінового показника з feature_id в описі для тендера tender_uaid. | |
41 | + | |
42 | + ${tender_features_featureof_value_locator} = replace string ${tender_features_featureof_value_locator_tpl} %feature_id% ${feature_id} | |
43 | + ${return_value} = get text ${tender_features_title_value_locator} | |
44 | + [return] ${return_value} | |
45 | + | |
46 | + | |
47 | +get value from item | |
48 | + [Arguments] ${item_id} ${field_name} | |
49 | + [Documentation] Отримати значення поля field_name з предмету з item_id в описі для тендера tender_uaid. | |
50 | + | |
51 | +# ${return_value} = Run Keyword If 'title' == '${field_name}' Отримати інформацію із предмету title ${item_id} | |
52 | +# ... ELSE IF 'description' == '${field_name}' Отримати інформацію із предмету description ${item_id} | |
53 | +# ... ELSE IF 'featureOf' == '${field_name}' Отримати інформацію із предмету featureOf ${item_id]} | |
54 | + Run Keyword And Return If 'description' == '${field_name}' Отримати інформацію із предмету description ${item_id} | |
55 | + Run Keyword And Return If 'deliveryDate.startDate' == '${field_name}' Отримати інформацію із предмету deliveryDate.startDate ${item_id} | |
56 | + Run Keyword And Return If 'deliveryDate.endDate' == '${field_name}' Отримати інформацію із предмету deliveryDate.endDate ${item_id} | |
57 | + Run Keyword And Return If 'deliveryAddress.countryName' == '${field_name}' Отримати інформацію із предмету deliveryAddress.countryName ${item_id} | |
58 | + Run Keyword And Return If 'deliveryAddress.postalCode' == '${field_name}' Отримати інформацію із предмету deliveryAddress.postalCode ${item_id} | |
59 | + Run Keyword And Return If 'deliveryAddress.region' == '${field_name}' Отримати інформацію із предмету deliveryAddress.region ${item_id} | |
60 | + Run Keyword And Return If 'deliveryAddress.locality' == '${field_name}' Отримати інформацію із предмету deliveryAddress.locality ${item_id} | |
61 | + Run Keyword And Return If 'deliveryAddress.streetAddress' == '${field_name}' Отримати інформацію із предмету deliveryAddress.streetAddress ${item_id} | |
62 | + Run Keyword And Return If 'classification.scheme' == '${field_name}' Отримати інформацію із предмету classification.scheme ${item_id} | |
63 | + Run Keyword And Return If 'classification.id' == '${field_name}' Отримати інформацію із предмету classification.id ${item_id} | |
64 | + Run Keyword And Return If 'classification.description' == '${field_name}' Отримати інформацію із предмету classification.description ${item_id} | |
65 | + Run Keyword And Return If 'additionalClassifications[0].scheme' == '${field_name}' Отримати інформацію із предмету additionalClassifications[0].scheme ${item_id} | |
66 | + Run Keyword And Return If 'additionalClassifications[0].id' == '${field_name}' Отримати інформацію із предмету additionalClassifications[0].id ${item_id} | |
67 | + Run Keyword And Return If 'additionalClassifications[0].description' == '${field_name}' Отримати інформацію із предмету additionalClassifications[0].description ${item_id} | |
68 | + Run Keyword And Return If 'unit.name' == '${field_name}' Отримати інформацію із предмету unit.name ${item_id} | |
69 | + Run Keyword And Return If 'unit.code' == '${field_name}' Отримати інформацію із предмету unit.code ${item_id} | |
70 | + Run Keyword And Return If 'quantity' == '${field_name}' Отримати інформацію із предмету quantity ${item_id} | |
71 | +# [return] ${return_value} | |
72 | + | |
73 | + | |
74 | +Отримати інформацію із предмету description | |
75 | + [Arguments] ${item_id} | |
76 | + [Documentation] Отримати значення поля description з предмету з item_id в описі для тендера tender_uaid. | |
77 | + | |
78 | + ${tender_items_description_value_locator} = replace string ${tender_items_description_value_locator_tpl} %item_id% ${item_id} | |
79 | + ${return_value} = get value by locator on opened page ${tender_items_description_value_locator} | |
80 | + [return] ${return_value} | |
81 | + | |
82 | +Отримати інформацію із предмету deliveryDate.startDate | |
83 | + [Arguments] ${item_id} | |
84 | + [Documentation] Отримати значення поля deliveryDate.startDate з предмету з item_id в описі для тендера tender_uaid. | |
85 | + | |
86 | + ${tender_items_delivery_start_date_value_locator} = replace string ${tender_items_delivery_start_date_value_locator_tpl} %item_id% ${item_id} | |
87 | + ${return_value} = get value by locator on opened page ${tender_items_delivery_start_date_value_locator} | |
88 | + [return] ${return_value} | |
89 | + | |
90 | +Отримати інформацію із предмету deliveryDate.endDate | |
91 | + [Arguments] ${item_id} | |
92 | + [Documentation] Отримати значення поля deliveryDate.endDate з предмету з item_id в описі для тендера tender_uaid. | |
93 | + | |
94 | + ${tender_items_delivery_end_date_value_locator} = replace string ${tender_features_featureof_value_locator_tpl} %item_id% ${item_id} | |
95 | + ${return_value} = get value by locator on opened page ${tender_items_delivery_end_date_value_locator} | |
96 | + [return] ${return_value} | |
97 | + | |
98 | +Отримати інформацію із предмету deliveryAddress.countryName | |
99 | + [Arguments] ${item_id} | |
100 | + [Documentation] Отримати значення поля deliveryAddress.countryName з предмету з item_id в описі для тендера tender_uaid. | |
101 | + | |
102 | + ${tender_items_delivery_country_value_locator} = replace string ${tender_items_delivery_country_value_locator_tpl} %item_id% ${item_id} | |
103 | + ${return_value} = get value by locator on opened page ${tender_items_delivery_country_value_locator} | |
104 | + [return] ${return_value} | |
105 | + | |
106 | +Отримати інформацію із предмету deliveryAddress.postalCode | |
107 | + [Arguments] ${item_id} | |
108 | + [Documentation] Отримати значення поля deliveryAddress.postalCode з предмету з item_id в описі для тендера tender_uaid. | |
109 | + | |
110 | + ${tender_items_delivery_postal_code_value_locator} = replace string ${tender_items_delivery_postal_code_value_locator_tpl} %item_id% ${item_id} | |
111 | + ${return_value} = get value by locator on opened page ${tender_items_delivery_postal_code_value_locator} | |
112 | + [return] ${return_value} | |
113 | + | |
114 | +Отримати інформацію із предмету deliveryAddress.region | |
115 | + [Arguments] ${item_id} | |
116 | + [Documentation] Отримати значення поля deliveryAddress.region з предмету з item_id в описі для тендера tender_uaid. | |
117 | + | |
118 | + ${tender_items_delivery_region_id_value_locator} = replace string ${tender_items_delivery_region_id_value_locator_tpl} %item_id% ${item_id} | |
119 | + ${return_value} = get value by locator on opened page ${tender_items_delivery_region_id_value_locator} | |
120 | + [return] ${return_value} | |
121 | + | |
122 | +Отримати інформацію із предмету deliveryAddress.locality | |
123 | + [Arguments] ${item_id} | |
124 | + [Documentation] Отримати значення поля deliveryAddress.locality з предмету з item_id в описі для тендера tender_uaid. | |
125 | + | |
126 | + ${tender_items_delivery_locality_value_locator} = replace string ${tender_items_delivery_locality_value_locator_tpl} %item_id% ${item_id} | |
127 | + ${return_value} = get value by locator on opened page ${tender_items_delivery_locality_value_locator} | |
128 | + [return] ${return_value} | |
129 | + | |
130 | +Отримати інформацію із предмету deliveryAddress.streetAddress | |
131 | + [Arguments] ${item_id} | |
132 | + [Documentation] Отримати значення поля deliveryAddress.streetAddress з предмету з item_id в описі для тендера tender_uaid. | |
133 | + | |
134 | + ${tender_items_delivery_street_address_value_locator} = replace string ${tender_items_delivery_street_address_value_locator_tpl} %item_id% ${item_id} | |
135 | + ${return_value} = get value by locator on opened page ${tender_items_delivery_street_address_value_locator} | |
136 | + [return] ${return_value} | |
137 | + | |
138 | +Отримати інформацію із предмету classification.scheme | |
139 | + [Arguments] ${item_id} | |
140 | + [Documentation] Отримати значення поля classification.scheme з предмету з item_id в описі для тендера tender_uaid. | |
141 | + | |
142 | + ${tender_items_classification_scheme_value_locator} = replace string ${tender_items_classification_scheme_value_locator_tpl} %item_id% ${item_id} | |
143 | + ${return_value} = get value by locator on opened page ${tender_items_classification_scheme_value_locator_tpl} | |
144 | + [return] ${return_value} | |
145 | + | |
146 | +Отримати інформацію із предмету classification.id | |
147 | + [Arguments] ${item_id} | |
148 | + [Documentation] Отримати значення поля classification.id з предмету з item_id в описі для тендера tender_uaid. | |
149 | + | |
150 | + ${tender_items_classification_code_value_locator} = replace string ${tender_items_classification_code_value_locator_tpl} %item_id% ${item_id} | |
151 | + ${return_value} = get value by locator on opened page ${tender_items_classification_code_value_locator} | |
152 | + [return] ${return_value} | |
153 | + | |
154 | +Отримати інформацію із предмету classification.description | |
155 | + [Arguments] ${item_id} | |
156 | + [Documentation] Отримати значення поля classification.description з предмету з item_id в описі для тендера tender_uaid. | |
157 | + | |
158 | + ${tender_items_classification_description_value_locator_tpl} = replace string ${tender_items_classification_description_value_locator_tpl} %item_id% ${item_id} | |
159 | + ${return_value} = get value by locator on opened page ${tender_items_classification_description_value_locator} | |
160 | + [return] ${return_value} | |
161 | + | |
162 | +Отримати інформацію із предмету additionalClassifications[0].scheme | |
163 | + [Arguments] ${item_id} | |
164 | + [Documentation] Отримати значення поля additionalClassifications[0].scheme з предмету з item_id в описі для тендера tender_uaid. | |
165 | + | |
166 | + ${tender_items_additional_classification_scheme_value_locator} = replace string ${tender_items_additional_classification_scheme_value_locator_tpl} %item_id% ${item_id} | |
167 | + ${return_value} = get value by locator on opened page ${tender_items_additional_classification_scheme_value_locator} | |
168 | + [return] ${return_value} | |
169 | + | |
170 | +Отримати інформацію із предмету additionalClassifications[0].id | |
171 | + [Arguments] ${item_id} | |
172 | + [Documentation] Отримати значення поля additionalClassifications[0].id з предмету з item_id в описі для тендера tender_uaid. | |
173 | + | |
174 | + ${tender_items_additional_classification_code_value_locator} = replace string ${tender_items_additional_classification_code_value_locator_tpl} %item_id% ${item_id} | |
175 | + ${return_value} = get value by locator on opened page ${tender_items_additional_classification_code_value_locator} | |
176 | + [return] ${return_value} | |
177 | + | |
178 | +Отримати інформацію із предмету additionalClassifications[0].description | |
179 | + [Arguments] ${item_id} | |
180 | + [Documentation] Отримати значення поля additionalClassifications[0].description з предмету з item_id в описі для тендера tender_uaid. | |
181 | + | |
182 | + ${tender_items_additional_classification_description_value_locator} = replace string ${tender_items_additional_classification_description_value_locator_tpl} %item_id% ${item_id} | |
183 | + ${return_value} = get value by locator on opened page ${tender_items_additional_classification_description_value_locator} | |
184 | + [return] ${return_value} | |
185 | + | |
186 | +Отримати інформацію із предмету unit.name | |
187 | + [Arguments] ${item_id} | |
188 | + [Documentation] Отримати значення поля unit.name з предмету з item_id в описі для тендера tender_uaid. | |
189 | + | |
190 | + ${tender_items_unit_title_value_locator} = replace string ${tender_items_unit_title_value_locator_tpl} %item_id% ${item_id} | |
191 | + ${return_value} = get value by locator on opened page ${tender_items_unit_title_value_locator} | |
192 | + [return] ${return_value} | |
193 | + | |
194 | +Отримати інформацію із предмету unit.code | |
195 | + [Arguments] ${item_id} | |
196 | + [Documentation] Отримати значення поля unit.code з предмету з item_id в описі для тендера tender_uaid. | |
197 | + | |
198 | + ${tender_items_unit_code_value_locator} = replace string ${tender_items_unit_code_value_locator_tpl} %item_id% ${item_id} | |
199 | + ${return_value} = get value by locator on opened page ${tender_items_unit_code_value_locator_tpl} | |
200 | + [return] ${return_value} | |
201 | + | |
202 | +Отримати інформацію із предмету quantity | |
203 | + [Arguments] ${item_id} | |
204 | + [Documentation] Отримати значення поля quantity з предмету з item_id в описі для тендера tender_uaid. | |
205 | + | |
206 | + ${tender_items_quantity_value_locator} = replace string ${tender_items_quantity_value_locator_tpl} %item_id% ${item_id} | |
207 | + ${return_value} = get value by locator on opened page ${tender_items_quantity_value_locator} | |
208 | + [return] ${return_value} | |
209 | + | |
210 | +get value from lot | |
211 | + [Arguments] ${lot_id} ${field_name} | |
212 | + [Documentation] Отримати значення поля field_name з лоту з lot_id в описі для тендера tender_uaid. | |
213 | + | |
214 | + Run Keyword And Return If 'title' == '${field_name}' Отримати інформацію із лоту title ${lot_id} | |
215 | + Run Keyword And Return If 'description' == '${field_name}' Отримати інформацію із лоту description ${lot_id} | |
216 | + Run Keyword And Return If 'value.amount' == '${field_name}' Отримати інформацію із лоту value.amount ${lot_id} | |
217 | + Run Keyword And Return If 'minimalStep.amount' == '${field_name}' Отримати інформацію із лоту minimalStep.amount ${lot_id} | |
218 | + Run Keyword And Return If 'value.currency' == '${field_name}' Отримати інформацію із лоту value.currency ${lot_id} | |
219 | + Run Keyword And Return If 'value.valueAddedTaxIncluded' == '${field_name}' Отримати інформацію із лоту value.valueAddedTaxIncluded ${lot_id} | |
220 | + Run Keyword And Return If 'minimalStep.currency' == '${field_name}' Отримати інформацію із лоту minimalStep.currency ${lot_id} | |
221 | + Run Keyword And Return If 'minimalStep.valueAddedTaxIncluded' == '${field_name}' Отримати інформацію із лоту minimalStep.valueAddedTaxIncluded ${lot_id} | |
222 | + Run Keyword And Return If 'auctionPeriod.startDate' == '${field_name}' get_invisible_text jquery=#accordionLots .panel-collapse.in .lot-info-wrapper .auction-period-start-date.hidden | |
223 | + Run Keyword And Return If 'auctionPeriod.endDate' == '${field_name}' get_invisible_text jquery=#accordionLots .panel-collapse.in .lot-info-wrapper .auction-period-end-date.hidden | |
224 | + Run Keyword And Return If 'minimalStepPercentage' == '${field_name}' Get invisible text number by locator jquery=#accordionLots .panel-collapse.in .lot-info-wrapper .minimal-step-percentage-source.hidden | |
225 | + Run Keyword And Return If 'fundingKind' == '${field_name}' get_invisible_text jquery=#accordionLots .lot-info-wrapper:first .funding-kind-source.hidden | |
226 | + Run Keyword And Return If 'yearlyPaymentsPercentageRange' == '${field_name}' Get invisible text number by locator jquery=#accordionLots .lot-info-wrapper:first .yearly-payments-percentage-range-source.hidden | |
227 | + | |
228 | + | |
229 | +Отримати інформацію із лоту title | |
230 | + [Arguments] ${lot_id} | |
231 | + [Documentation] Отримати значення поля title з лоту з lot_id в описі для тендера tender_uaid. | |
232 | + | |
233 | + ${tender_lot_description_value_locator} = replace string ${tender_lot_description_value_locator_tpl} %lot_id% ${lot_id} | |
234 | + ${return_value} = get value by locator on opened page ${tender_lot_title_value_locator} | |
235 | + [return] ${return_value} | |
236 | + | |
237 | +Отримати інформацію із лоту description | |
238 | + [Arguments] ${lot_id} | |
239 | + [Documentation] Отримати значення поля description з лоту з lot_id в описі для тендера tender_uaid. | |
240 | + | |
241 | + ${tender_lot_description_value_locator} = replace string ${tender_lot_description_value_locator_tpl} %lot_id% ${lot_id} | |
242 | + ${return_value} = get value by locator on opened page ${tender_lot_description_value_locator} | |
243 | + [return] ${return_value} | |
244 | + | |
245 | +Отримати інформацію із лоту value.amount | |
246 | + [Arguments] ${lot_id} | |
247 | + [Documentation] Отримати значення поля description з лоту з lot_id в описі для тендера tender_uaid. | |
248 | + | |
249 | + ${tender_lot_value_amount_value_locator} = replace string ${tender_lot_value_amount_value_locator_tpl} %lot_id% ${lot_id} | |
250 | + ${return_value} = get value by locator on opened page ${tender_lot_value_amount_value_locator} | |
251 | + [return] ${return_value} | |
252 | + | |
253 | +Отримати інформацію із лоту minimalStep.amount | |
254 | + [Arguments] ${lot_id} | |
255 | + [Documentation] Отримати значення поля featureOf з лоту з lot_id в описі для тендера tender_uaid. | |
256 | + | |
257 | + ${tender_lot_minimal_step_amount_value_locator} = replace string ${tender_lot_minimal_step_amount_value_locator_tpl} %lot_id% ${lot_id} | |
258 | + ${return_value} = get value by locator on opened page ${tender_lot_minimal_step_amount_value_locator} | |
259 | + [return] ${return_value} | |
260 | + | |
261 | +Отримати інформацію із лоту value.currency | |
262 | + [Arguments] ${lot_id} | |
263 | + [Documentation] Отримати значення поля title з лоту з lot_id в описі для тендера tender_uaid. | |
264 | + | |
265 | + ${tender_lot_value_currency_value_locator} = replace string ${tender_lot_value_currency_value_locator_tpl} %lot_id% ${lot_id} | |
266 | + ${return_value} = get value by locator on opened page ${tender_lot_value_currency_value_locator} | |
267 | + [return] ${return_value} | |
268 | + | |
269 | +Отримати інформацію із лоту value.valueAddedTaxIncluded | |
270 | + [Arguments] ${lot_id} | |
271 | + [Documentation] Отримати значення поля description з лоту з lot_id в описі для тендера tender_uaid. | |
272 | + | |
273 | + ${tender_lot_value_value_added_tax_included_value_locator} = replace string ${tender_lot_value_value_added_tax_included_value_locator_tpl} %lot_id% ${lot_id} | |
274 | + ${return_value} = get value by locator on opened page ${tender_lot_value_value_added_tax_included_value_locator} | |
275 | + [return] ${return_value} | |
276 | + | |
277 | +Отримати інформацію із лоту minimalStep.currency | |
278 | + [Arguments] ${lot_id} | |
279 | + [Documentation] Отримати значення поля title з лоту з lot_id в описі для тендера tender_uaid. | |
280 | + | |
281 | + ${tender_lot_minimal_step_currency_value_locator} = replace string ${tender_lot_minimal_step_currency_value_locator_tpl} %lot_id% ${lot_id} | |
282 | + ${return_value} = get value by locator on opened page ${tender_lot_minimal_step_currency_value_locator} | |
283 | + [return] ${return_value} | |
284 | + | |
285 | +Отримати інформацію із лоту minimalStep.valueAddedTaxIncluded | |
286 | + [Arguments] ${lot_id} | |
287 | + [Documentation] Отримати значення поля description з лоту з lot_id в описі для тендера tender_uaid. | |
288 | + | |
289 | + ${tender_lot_value_minimal_step_added_tax_included_value_locator} = replace string ${tender_lot_minimal_step_value_added_tax_included_value_locator_tpl} %lot_id% ${lot_id} | |
290 | + ${return_value} = get value by locator on opened page ${tender_lot_minimal_step_value_added_tax_included_value_locator} | |
291 | + [return] ${return_value} | |
292 | + | |
293 | +Отримати інформацію із лоту auctionPeriod.startDate | |
294 | + [Arguments] ${lot_id} | |
295 | + [Documentation] Отримати значення поля featureOf з лоту з lot_id в описі для тендера tender_uaid. | |
296 | + | |
297 | + ${tender_lot_delivery_region_id_value_locator} = replace string ${tender_lot_delivery_region_id_value_locator_tpl} %lot_id% ${lot_id} | |
298 | + ${return_value} = get value by locator on opened page ${tender_lot_delivery_region_id_value_locator} | |
299 | + [return] ${return_value} | |
300 | + | |
301 | +Отримати інформацію із лоту auctionPeriod.endDate | |
302 | + [Arguments] ${lot_id} | |
303 | + [Documentation] Отримати значення поля title з лоту з lot_id в описі для тендера tender_uaid. | |
304 | + | |
305 | + ${tender_lot_delivery_locality_value_locator} = replace string ${tender_lot_delivery_locality_value_locator_tpl} %lot_id% ${lot_id} | |
306 | + ${return_value} = get value by locator on opened page ${tender_lot_delivery_locality_value_locator} | |
307 | + [return] ${return_value} | |
308 | + | |
309 | +Отримати інформацію із лоту minimalStepPercentage | |
310 | + [Arguments] ${lot_id} | |
311 | + [Documentation] Отримати значення поля description з лоту з lot_id в описі для тендера tender_uaid. | |
312 | + | |
313 | + ${tender_lot_delivery_street_address_value_locator} = replace string ${tender_lot_delivery_street_address_value_locator_tpl} %lot_id% ${lot_id} | |
314 | + ${return_value} = get value by locator on opened page ${tender_lot_delivery_street_address_value_locator} | |
315 | + [return] ${return_value} | |
316 | + | |
317 | +Отримати інформацію із лоту fundingKind | |
318 | + [Arguments] ${lot_id} | |
319 | + [Documentation] Отримати значення поля featureOf з лоту з lot_id в описі для тендера tender_uaid. | |
320 | + | |
321 | + ${tender_lot_classification_scheme_value_locator} = replace string ${tender_lot_classification_scheme_value_locator_tpl} %lot_id% ${lot_id} | |
322 | + ${return_value} = get value by locator on opened page ${tender_lot_classification_scheme_value_locator_tpl} | |
323 | + [return] ${return_value} | |
324 | + | |
325 | +Отримати інформацію із лоту yearlyPaymentsPercentageRange | |
326 | + [Arguments] ${lot_id} | |
327 | + [Documentation] Отримати значення поля title з лоту з lot_id в описі для тендера tender_uaid. | |
328 | + | |
329 | + ${tender_lot_classification_code_value_locator} = replace string ${tender_lot_classification_code_value_locator_tpl} %lot_id% ${lot_id} | |
330 | + ${return_value} = get value by locator on opened page ${tender_lot_classification_code_value_locator} | |
331 | + [return] ${return_value} | |
332 | + | ... | ... |
playtender_viewer_variables.robot
0 → 100644
1 | +*** Variables *** | |
2 | + | |
3 | +#features | |
4 | +${tender_features_title_value_locator_tpl} = jquery=#lots .tabs__pane--visible .feature-list-wrapper [data-title*="%feature_id%"] .hidden.info-wrapper .title | |
5 | +${tender_features_description_value_locator_tpl} = jquery=#lots .tabs__pane--visible .feature-list-wrapper [data-title*="%feature_id%"] .hidden.info-wrapper .description | |
6 | +${tender_features_featureof_value_locator_tpl} = jquery=#lots .tabs__pane--visible .feature-list-wrapper [data-title*="%feature_id%"] .hidden.info-wrapper .featureOf | |
7 | + | |
8 | +#item view | |
9 | +${tender_items_description_value_locator_tpl} = jquery=#lots .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] div.textvalue | |
10 | +${tender_items_quantity_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .quantity-source | |
11 | +${tender_items_quantity_value_type} = float | |
12 | +${tender_items_unit_title_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .unit-title-source | |
13 | +${tender_items_unit_code_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .unit-code-source | |
14 | +${tender_items_classification_scheme_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .main-classification-scheme | |
15 | +${tender_items_classification_code_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .main-classification-code | |
16 | +${tender_items_classification_description_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .main-classification-description | |
17 | +${tender_items_additional_classification_scheme_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .additional-classification-scheme | |
18 | +${tender_items_additional_classification_code_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .additional-classification-code | |
19 | +${tender_items_additional_classification_description_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .additional-classification-description | |
20 | +${tender_items_delivery_country_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .delivery-country | |
21 | +${tender_items_delivery_region_id_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .delivery-region | |
22 | +${tender_items_delivery_postal_code_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .delivery-postalcode | |
23 | +${tender_items_delivery_locality_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .delivery-locality | |
24 | +${tender_items_delivery_street_address_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .delivery-street-address | |
25 | +${tender_items_delivery_start_date_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .delivery-start-date-source | |
26 | +${tender_items_delivery_end_date_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .delivery-end-date-source | |
27 | +${tender_items_delivery_latitude_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .delivery-latitude | |
28 | +${tender_items_delivery_longitude_value_locator_tpl} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper[data-title*="%item_id%"] .item-info-wrapper.hidden.info-wrapper .delivery-longitude | |
29 | + | |
30 | +${tender_item_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .textvalue.hidden | |
31 | +${tender_item_description_ru_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper [id$='-description_ru'] | |
32 | +${tender_item_description_en_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper [id$='-description_en'] | |
33 | +${tender_item_quantity_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .quantity-source | |
34 | +${tender_item_quantity_value_type} = float | |
35 | +${tender_item_unit_title_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .unit-title-source | |
36 | +${tender_item_unit_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .unit-code-source | |
37 | +${tender_item_classification_scheme_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-scheme | |
38 | +${tender_item_classification_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-code | |
39 | +${tender_item_classification_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-description | |
40 | +${tender_item_additional_classification_scheme_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-scheme | |
41 | +${tender_item_additional_classification_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-code | |
42 | +${tender_item_additional_classification_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-description | |
43 | +${tender_item_delivery_region_id_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-country | |
44 | +${tender_item_delivery_postal_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-postalcode | |
45 | +${tender_item_delivery_locality_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-locality | |
46 | +${tender_item_delivery_street_address_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-street-address | |
47 | +${tender_item_delivery_start_date_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-start-date-source | |
48 | +${tender_item_delivery_end_date_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-end-date-source | |
49 | +${tender_item_delivery_latitude_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-latitude | |
50 | +${tender_item_delivery_longitude_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-longitude | |
51 | + | |
52 | +${tender_lot_item_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .item-item-wrapper div.textvalue | |
53 | +${tender_lot_item_quantity_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .quantity-source | |
54 | +${tender_lot_item_quantity_value_type} = float | |
55 | +${tender_lot_item_unit_title_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .unit-title-source | |
56 | +${tender_lot_item_unit_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .unit-code-source | |
57 | +${tender_lot_item_classification_scheme_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-scheme | |
58 | +${tender_lot_item_classification_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-code | |
59 | +${tender_lot_item_classification_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-description | |
60 | +${tender_lot_item_additional_classification_scheme_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-scheme | |
61 | +${tender_lot_item_additional_classification_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-code | |
62 | +${tender_lot_item_additional_classification_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-description | |
63 | +${tender_lot_item_delivery_region_id_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-country | |
64 | +${tender_lot_item_delivery_postal_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-postalcode | |
65 | +${tender_lot_item_delivery_locality_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-locality | |
66 | +${tender_lot_item_delivery_street_address_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-street-address | |
67 | +${tender_lot_item_delivery_start_date_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-start-date-source | |
68 | +${tender_lot_item_delivery_end_date_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-end-date-source | |
69 | +${tender_lot_item_delivery_latitude_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-latitude | |
70 | +${tender_lot_item_delivery_longitude_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-longitude | |
71 | + | ... | ... |
Please
register
or
login
to post a comment