Commit e487beb497712b5e6526d41f437bc41eebd2e8f4
1 parent
2f7edbff
створення_тендеру_і_багатопредметного_тендеру_etendet+netcast
Showing
2 changed files
with
1 additions
and
25 deletions
| ... | ... | @@ -24,7 +24,7 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 24 | 24 | [Arguments] @{ARGUMENTS} |
| 25 | 25 | [Documentation] Відкрити брaвзер, створити обєкт api wrapper, тощо |
| 26 | 26 | ... ${ARGUMENTS[0]} == username |
| 27 | - Open Browser ${USERS.users['${ARGUMENTS[0]}'].homepage} alias=${ARGUMENTS[0]} | |
| 27 | + Open Browser ${USERS.users['${ARGUMENTS[0]}'].homepage} ${USERS.users['${username}'].browser} alias=${ARGUMENTS[0]} | |
| 28 | 28 | Set Window Size @{USERS.users['${ARGUMENTS[0]}'].size} |
| 29 | 29 | Set Window Position @{USERS.users['${ARGUMENTS[0]}'].position} |
| 30 | 30 | ... | ... |
| ... | ... | @@ -73,21 +73,13 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 73 | 73 | Click Element jquery=a[href="/tenders/new"] |
| 74 | 74 | Wait Until Page Contains Element name=tender_title 100 |
| 75 | 75 | Input text name=tender_title ${title} |
| 76 | - Wait Until Page Contains Element name=tender_description 100 | |
| 77 | 76 | Input text name=tender_description ${description} |
| 78 | - Wait Until Page Contains Element name=tender_value_amount 100 | |
| 79 | 77 | Input text name=tender_value_amount ${budget} |
| 80 | - Wait Until Page Contains Element name=tender_minimalStep_amount 100 | |
| 81 | 78 | Input text name=tender_minimalStep_amount ${step_rate} |
| 82 | - Wait Until Page Contains Element name=items[0][item_description] 100 | |
| 83 | 79 | Input text name=items[0][item_description] ${items_description} |
| 84 | - Wait Until Page Contains Element name=items[0][item_quantity] 100 | |
| 85 | 80 | Input text name=items[0][item_quantity] ${quantity} |
| 86 | - Wait Until Page Contains Element name=items[0][item_deliveryAddress_countryName] 100 | |
| 87 | 81 | Input text name=items[0][item_deliveryAddress_countryName] ${countryName} |
| 88 | - Wait Until Page Contains Element name=items[0][item_deliveryDate_endDate] 100 | |
| 89 | 82 | Input text name=items[0][item_deliveryDate_endDate] ${delivery_end_date} |
| 90 | - Wait Until Page Contains Element xpath=//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'] 100 | |
| 91 | 83 | Click Element xpath=//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'] |
| 92 | 84 | Select Frame xpath=//iframe[contains(@src,'/js/classifications/cpv/uk.htm?relation=true')] |
| 93 | 85 | Input text id=search ${cpv} |
| ... | ... | @@ -95,7 +87,6 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 95 | 87 | Click Element xpath=//a[contains(@id,'${cpv_id1}')] |
| 96 | 88 | Click Element xpath=.//*[@id='select'] |
| 97 | 89 | Unselect Frame |
| 98 | - Wait Until Page Contains Element xpath=//a[contains(@data-class, 'dkpp')][./text()='Визначити за довідником'] 100 | |
| 99 | 90 | Click Element xpath=//a[contains(@data-class, 'dkpp')][./text()='Визначити за довідником'] |
| 100 | 91 | Select Frame xpath=//iframe[contains(@src,'/js/classifications/dkpp/uk.htm?relation=true')] |
| 101 | 92 | Input text id=search ${dkpp_desc} |
| ... | ... | @@ -103,9 +94,7 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 103 | 94 | Click Element xpath=//a[contains(@id,'${dkpp_id1}')] |
| 104 | 95 | Click Element xpath=.//*[@id='select'] |
| 105 | 96 | Unselect Frame |
| 106 | - Wait Until Page Contains Element name=tender_enquiryPeriod_endDate 100 | |
| 107 | 97 | Input text name=tender_enquiryPeriod_endDate ${enquiry_end_date} |
| 108 | - Wait Until Page Contains Element name=tender_tenderPeriod_endDate 100 | |
| 109 | 98 | Input text name=tender_tenderPeriod_endDate ${end_date} |
| 110 | 99 | Run Keyword if '${mode}' == 'multi' Додати предмет items |
| 111 | 100 | Wait Until Page Contains Element name=do 100 |
| ... | ... | @@ -136,9 +125,7 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 136 | 125 | Click Element xpath=//a[contains(@class, 'addMultiItem')][./text()='Додати предмет закупівлі'] |
| 137 | 126 | Wait Until Page Contains Element name=items[1][item_description] 100 |
| 138 | 127 | Input text name=items[1][item_description] ${description} |
| 139 | - Wait Until Page Contains Element name=items[1][item_quantity] 100 | |
| 140 | 128 | Input text name=items[1][item_quantity] ${quantity} |
| 141 | - Wait Until Page Contains Element xpath=(//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'])[2] 100 | |
| 142 | 129 | Click Element xpath=(//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'])[2] |
| 143 | 130 | Select Frame xpath=//iframe[contains(@src,'/js/classifications/cpv/uk.htm?relation=true')] |
| 144 | 131 | Input text id=search ${cpv} |
| ... | ... | @@ -146,7 +133,6 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 146 | 133 | Click Element xpath=//a[contains(@id,'${cpv_id1}')] |
| 147 | 134 | Click Element xpath=.//*[@id='select'] |
| 148 | 135 | Unselect Frame |
| 149 | - Wait Until Page Contains Element xpath=(//a[contains(@data-class, 'dkpp')][./text()='Визначити за довідником'])[2] 100 | |
| 150 | 136 | Click Element xpath=(//a[contains(@data-class, 'dkpp')][./text()='Визначити за довідником'])[2] |
| 151 | 137 | Select Frame xpath=//iframe[contains(@src,'/js/classifications/dkpp/uk.htm?relation=true')] |
| 152 | 138 | Input text id=search ${dkpp_desc1} |
| ... | ... | @@ -154,13 +140,10 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 154 | 140 | Click Element xpath=//a[contains(@id,'${dkpp_1id}')] |
| 155 | 141 | Click Element xpath=.//*[@id='select'] |
| 156 | 142 | Unselect Frame |
| 157 | - Wait Until Page Contains Element xpath=//a[contains(@class, 'addMultiItem')][./text()='Додати предмет закупівлі'] | |
| 158 | 143 | Click Element xpath=//a[contains(@class, 'addMultiItem')][./text()='Додати предмет закупівлі'] |
| 159 | 144 | Wait Until Page Contains Element name=items[2][item_description] 100 |
| 160 | 145 | Input text name=items[2][item_description] ${description} |
| 161 | - Wait Until Page Contains Element name=items[2][item_quantity] 100 | |
| 162 | 146 | Input text name=items[2][item_quantity] ${quantity} |
| 163 | - Wait Until Page Contains Element xpath=(//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'])[3] 100 | |
| 164 | 147 | Click Element xpath=(//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'])[3] |
| 165 | 148 | Select Frame xpath=//iframe[contains(@src,'/js/classifications/cpv/uk.htm?relation=true')] |
| 166 | 149 | Input text id=search ${cpv} |
| ... | ... | @@ -168,7 +151,6 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 168 | 151 | Click Element xpath=//a[contains(@id,'${cpv_id1}')] |
| 169 | 152 | Click Element xpath=.//*[@id='select'] |
| 170 | 153 | Unselect Frame |
| 171 | - Wait Until Page Contains Element xpath=(//a[contains(@data-class, 'dkpp')][./text()='Визначити за довідником'])[3] 100 | |
| 172 | 154 | Click Element xpath=(//a[contains(@data-class, 'dkpp')][./text()='Визначити за довідником'])[3] |
| 173 | 155 | Select Frame xpath=//iframe[contains(@src,'/js/classifications/dkpp/uk.htm?relation=true')] |
| 174 | 156 | Input text id=search ${dkpp_desc2} |
| ... | ... | @@ -176,13 +158,10 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 176 | 158 | Click Element xpath=//a[contains(@id,'${dkpp_id2_1}')] |
| 177 | 159 | Click Element xpath=.//*[@id='select'] |
| 178 | 160 | Unselect Frame |
| 179 | - Wait Until Page Contains Element xpath=//a[contains(@class, 'addMultiItem')][./text()='Додати предмет закупівлі'] | |
| 180 | 161 | Click Element xpath=//a[contains(@class, 'addMultiItem')][./text()='Додати предмет закупівлі'] |
| 181 | 162 | Wait Until Page Contains Element name=items[3][item_description] 100 |
| 182 | 163 | Input text name=items[3][item_description] ${description} |
| 183 | - Wait Until Page Contains Element name=items[3][item_quantity] 100 | |
| 184 | 164 | Input text name=items[3][item_quantity] ${quantity} |
| 185 | - Wait Until Page Contains Element xpath=(//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'])[4] 100 | |
| 186 | 165 | Click Element xpath=(//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'])[4] |
| 187 | 166 | Select Frame xpath=//iframe[contains(@src,'/js/classifications/cpv/uk.htm?relation=true')] |
| 188 | 167 | Input text id=search ${cpv} |
| ... | ... | @@ -190,7 +169,6 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 190 | 169 | Click Element xpath=//a[contains(@id,'${cpv_id1}')] |
| 191 | 170 | Click Element xpath=.//*[@id='select'] |
| 192 | 171 | Unselect Frame |
| 193 | - Wait Until Page Contains Element xpath=(//a[contains(@data-class, 'dkpp')][./text()='Визначити за довідником'])[4] 100 | |
| 194 | 172 | Click Element xpath=(//a[contains(@data-class, 'dkpp')][./text()='Визначити за довідником'])[4] |
| 195 | 173 | Select Frame xpath=//iframe[contains(@src,'/js/classifications/dkpp/uk.htm?relation=true')] |
| 196 | 174 | Input text id=search ${dkpp_desc3} |
| ... | ... | @@ -198,9 +176,7 @@ ${locator.enquiryPeriod.endDate} jquery=tender-procedure-info>div.row:contai |
| 198 | 176 | Click Element xpath=//a[contains(@id,'${dkpp_id3_1}')] |
| 199 | 177 | Click Element xpath=.//*[@id='select'] |
| 200 | 178 | Unselect Frame |
| 201 | - Wait Until Page Contains Element name=tender_enquiryPeriod_endDate 100 | |
| 202 | 179 | Input text name=tender_enquiryPeriod_endDate ${enquiry_end_date} |
| 203 | - Wait Until Page Contains Element name=tender_tenderPeriod_endDate 100 | |
| 204 | 180 | Input text name=tender_tenderPeriod_endDate ${end_date} |
| 205 | 181 | |
| 206 | 182 | ... | ... |
Please
register
or
login
to post a comment