Commit 3c11e64fe5859e21e0fc0fb4c0863e8a129f9826
1 parent
e13f99af
E-tender: Update tender creation keyword
Showing
1 changed file
with
19 additions
and
19 deletions
| @@ -109,20 +109,20 @@ Login | @@ -109,20 +109,20 @@ Login | ||
| 109 | Input text id=value ${budget} | 109 | Input text id=value ${budget} |
| 110 | Click Element xpath=//div[contains(@class, 'form-group col-sm-6')]//input[@type='checkbox'] | 110 | Click Element xpath=//div[contains(@class, 'form-group col-sm-6')]//input[@type='checkbox'] |
| 111 | Input text id=minimalStep ${step_rate} | 111 | Input text id=minimalStep ${step_rate} |
| 112 | - Input text id=itemsDescription ${items_description} | ||
| 113 | - Input text id=itemsQuantity ${quantity} | ||
| 114 | - Input text name=delStartDate ${deliveryDate} | 112 | + Input text id=itemsDescription0 ${items_description} |
| 113 | + Input text id=itemsQuantity0 ${quantity} | ||
| 114 | + Input text name=delStartDate0 ${deliveryDate} | ||
| 115 | Sleep 2 | 115 | Sleep 2 |
| 116 | - Input text xpath=//input[@ng-model='data.items[0].deliveryDate.endDate'] ${deliveryDate} | ||
| 117 | - Input text name=latitude ${latitude} | ||
| 118 | - Input text name=longitude ${longitude} | 116 | + Input text name=delEndDate0 ${deliveryDate} |
| 117 | +# Input text name=latitude ${latitude} | ||
| 118 | +# Input text name=longitude ${longitude} | ||
| 119 | Click Element xpath=//select[@name='region']//option[@label='Київська'] | 119 | Click Element xpath=//select[@name='region']//option[@label='Київська'] |
| 120 | Sleep 2 | 120 | Sleep 2 |
| 121 | Click Element xpath=//select[@name='city']//option[@label='Київ'] | 121 | Click Element xpath=//select[@name='city']//option[@label='Київ'] |
| 122 | Input text name=addressStr ${streetAddress} | 122 | Input text name=addressStr ${streetAddress} |
| 123 | Input text name=postIndex ${postalCode} | 123 | Input text name=postIndex ${postalCode} |
| 124 | - Wait Until Page Contains Element xpath=//select[@name="itemsUnit"]/option[@value='kilogram'] | ||
| 125 | - Click Element xpath=//select[@name="itemsUnit"]/option[@value='kilogram'] | 124 | + Wait Until Page Contains Element xpath=//select[@name="itemsUnit0"]/option[@value='kilogram'] |
| 125 | + Click Element xpath=//select[@name="itemsUnit0"]/option[@value='kilogram'] | ||
| 126 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//input[@name='enqPEndDate'] ${enquiry_end_date} | 126 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//input[@name='enqPEndDate'] ${enquiry_end_date} |
| 127 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//div[contains(@class, 'col-sm-2')]//input[@ng-model='data.enquiryPeriod.endDate'] ${enquiry_end_time} | 127 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//div[contains(@class, 'col-sm-2')]//input[@ng-model='data.enquiryPeriod.endDate'] ${enquiry_end_time} |
| 128 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//input[@name='startDate'] ${start_date} | 128 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//input[@name='startDate'] ${start_date} |
| @@ -130,14 +130,14 @@ Login | @@ -130,14 +130,14 @@ Login | ||
| 130 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//input[@name='endDate'] ${end_date} | 130 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//input[@name='endDate'] ${end_date} |
| 131 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//div[contains(@class, 'col-sm-2')]//input[@ng-model='data.tenderPeriod.endDate'] ${end_time} | 131 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//div[contains(@class, 'col-sm-2')]//input[@ng-model='data.tenderPeriod.endDate'] ${end_time} |
| 132 | Sleep 2 | 132 | Sleep 2 |
| 133 | - Click Element xpath=//div[contains(@class, 'col-sm-2')]//input[@data-target='#classification'] | 133 | + Click Element xpath=//input[starts-with(@ng-click, 'openClassificationModal')] |
| 134 | Sleep 1 | 134 | Sleep 1 |
| 135 | - Input text xpath=//div[contains(@class, 'modal-content')]//input[@ng-model='searchstring'] ${cpv} | 135 | + Input text xpath=//div[contains(@class, 'modal-content')]//input[@ng-model='searchstring'] ${cpv} |
| 136 | + Wait Until Element Is Visible xpath=//td[contains(., '${cpv}')] | ||
| 136 | Sleep 2 | 137 | Sleep 2 |
| 137 | - Wait Until Page Contains ${cpv} | ||
| 138 | - Click Element xpath=//td[contains(., '${cpv}')] | 138 | + Click Element xpath=//td[contains(., '${cpv}')] |
| 139 | Sleep 1 | 139 | Sleep 1 |
| 140 | - Click Element xpath=//div[contains(@class, 'modal-content')]//button[@ng-click='choose()'] | 140 | + Click Element xpath=//div[@id='classification']//button[starts-with(@ng-click, 'choose(')] |
| 141 | Sleep 1 | 141 | Sleep 1 |
| 142 | Додати предмет ${items[0]} 0 | 142 | Додати предмет ${items[0]} 0 |
| 143 | Run Keyword if '${mode}' == 'multi' Додати багато предметів items | 143 | Run Keyword if '${mode}' == 'multi' Додати багато предметів items |
| @@ -171,14 +171,14 @@ Set Multi Ids | @@ -171,14 +171,14 @@ Set Multi Ids | ||
| 171 | ${dkpp_desc}= Get From Dictionary ${ARGUMENTS[0].additionalClassifications[0]} description | 171 | ${dkpp_desc}= Get From Dictionary ${ARGUMENTS[0].additionalClassifications[0]} description |
| 172 | ${dkpp_id}= Get From Dictionary ${ARGUMENTS[0].additionalClassifications[0]} id | 172 | ${dkpp_id}= Get From Dictionary ${ARGUMENTS[0].additionalClassifications[0]} id |
| 173 | Sleep 2 | 173 | Sleep 2 |
| 174 | - Click Element xpath=(//div[contains(@class, 'col-sm-2')]//input[@data-target='#addClassification'])[${ARGUMENTS[1]}+1] | 174 | + Click Element xpath=(//input[starts-with(@ng-click, 'openAddClassificationModal')])[${ARGUMENTS[1]}+1] |
| 175 | Wait Until Element Is Visible xpath=//div[contains(@id,'addClassification')] | 175 | Wait Until Element Is Visible xpath=//div[contains(@id,'addClassification')] |
| 176 | - Sleep 2 | ||
| 177 | - Input text xpath=//div[contains(@class, 'modal fade ng-scope in')]//input[@ng-model='searchstring'] ${dkpp_desc} | ||
| 178 | - Wait Until Page Contains ${dkpp_id} | ||
| 179 | Sleep 1 | 176 | Sleep 1 |
| 180 | - Click Element xpath=//td[contains(., '${dkpp_id}')] | ||
| 181 | - Click Element xpath=//div[contains(@class, 'modal fade ng-scope in')]//button[@ng-click='choose()'] | 177 | + Input text xpath=//div[contains(@class, 'modal fade ng-scope in')]//input[@ng-model='searchstring'] ${dkpp_desc} |
| 178 | + Wait Until Element Is Visible xpath=//td[contains(., '${dkpp_id}')] | ||
| 179 | + Sleep 2 | ||
| 180 | + Click Element xpath=//td[contains(., '${dkpp_id}')] | ||
| 181 | + Click Element xpath=//div[@id='addClassification']//button[starts-with(@ng-click, 'choose(')] | ||
| 182 | Sleep 2 | 182 | Sleep 2 |
| 183 | 183 | ||
| 184 | Додати багато предметів | 184 | Додати багато предметів |
Please
register
or
login
to post a comment