Showing
2 changed files
with
19 additions
and
4 deletions
... | ... | @@ -53,9 +53,11 @@ ${file_path} /home/yboi/openprocurement.robottests.buildout/Document.docx |
53 | 53 | ${enquiry_end_time}= Get From Dictionary ${tender_data.data.enquiryPeriod} endDate |
54 | 54 | ${enquiry_end_time}= convert_time_to_etender_format ${enquiry_end_time} |
55 | 55 | Selenium2Library.Switch Browser ${ARGUMENTS[0]} |
56 | - Wait Until Page Contains Мої закупівлі 100 | |
56 | + Wait Until Page Contains Мої закупівлі 100 | |
57 | + Sleep 1 | |
57 | 58 | Click Element xpath=//a[contains(@class, 'ng-binding')][./text()='Мої закупівлі'] |
58 | 59 | Wait Until Page Contains Element xpath=//a[contains(@class, 'btn btn-info')] |
60 | + Sleep 1 | |
59 | 61 | Click Element xpath=//a[contains(@class, 'btn btn-info')] |
60 | 62 | Wait Until Page Contains Element id=title |
61 | 63 | Input text id=title ${title} |
... | ... | @@ -65,7 +67,7 @@ ${file_path} /home/yboi/openprocurement.robottests.buildout/Document.docx |
65 | 67 | Input text id=minimalStep ${step_rate} |
66 | 68 | Input text id=itemsDescription ${items_description} |
67 | 69 | Input text id=itemsQuantity ${quantity} |
68 | - Wait Until Page Contains Element xpath=//select[@name="itemsUnit"]/option[@value='kilogram'] 100 | |
70 | + Wait Until Page Contains Element xpath=//select[@name="itemsUnit"]/option[@value='kilogram'] | |
69 | 71 | Click Element xpath=//select[@name="itemsUnit"]/option[@value='kilogram'] |
70 | 72 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//input[@name='enqPEndDate'] ${enquiry_end_date} |
71 | 73 | 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} |
... | ... | @@ -73,21 +75,30 @@ ${file_path} /home/yboi/openprocurement.robottests.buildout/Document.docx |
73 | 75 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//div[contains(@class, 'col-sm-2')]//input[@ng-model='data.tenderPeriod.startDate'] ${start_time} |
74 | 76 | Input text xpath=//div[contains(@class, 'form-group col-sm-8')]//input[@name='endDate'] ${end_date} |
75 | 77 | 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} |
78 | + Sleep 2 | |
76 | 79 | Click Element xpath=//div[contains(@class, 'col-sm-2')]//input[@data-target='#classification'] |
77 | 80 | Wait Until Element Is Visible xpath=//div[contains(@role,'dialog')] |
81 | + Sleep 1 | |
78 | 82 | Input text xpath=//div[contains(@class, 'modal-content')]//input[@ng-model='searchstring'] ${cpv} |
83 | + Sleep 2 | |
79 | 84 | Wait Until Page Contains ${cpv} |
80 | 85 | Click Element xpath=//td[contains(., '${cpv}')] |
86 | + Sleep 1 | |
81 | 87 | Click Element xpath=//div[contains(@class, 'modal-content')]//button[@ng-click='choose()'] |
88 | + Sleep 1 | |
82 | 89 | Click Element xpath=//div[contains(@class, 'col-sm-2')]//input[@data-target='#addClassification'] |
83 | 90 | Wait Until Element Is Visible xpath=//div[contains(@id,'addClassification')] |
91 | + Sleep 1 | |
84 | 92 | Input text xpath=//div[contains(@class, 'modal fade ng-scope in')]//input[@ng-model='searchstring'] ${dkpp_desc} |
85 | 93 | Wait Until Page Contains ${dkpp_id} |
94 | + Sleep 1 | |
86 | 95 | Click Element xpath=//td[contains(., '${dkpp_id}')] |
87 | 96 | Click Element xpath=//div[contains(@class, 'modal fade ng-scope in')]//button[@ng-click='choose()'] |
88 | 97 | Run Keyword if '${mode}' == 'multi' Додати предмет items |
98 | + Sleep 1 | |
89 | 99 | Wait Until Page Contains Element xpath=//div[contains(@class, 'form-actions')]//button[@type='submit'] |
90 | 100 | Click Element xpath=//div[contains(@class, 'form-actions')]//button[@type='submit'] |
101 | + Sleep 1 | |
91 | 102 | Wait Until Page Contains [ТЕСТУВАННЯ] 100 |
92 | 103 | Click Element xpath=//table[contains(@class, 'table table-hover table-striped table-bordered ng-scope ng-table')]//tr[1]//a |
93 | 104 | Sleep 5 |
... | ... | @@ -116,12 +127,14 @@ Set Multi Ids |
116 | 127 | ${dkpp_id3}= Get From Dictionary ${items[3].additionalClassifications[0]} id |
117 | 128 | |
118 | 129 | Wait Until Page Contains Element xpath=.//*[@id='myform']/tender-form/div/button 100 |
130 | + Sleep 2 | |
119 | 131 | Click Element xpath=.//*[@id='myform']/tender-form/div/button |
120 | 132 | Sleep 2 |
121 | 133 | Click Element xpath=(//div[contains(@class, 'col-sm-2')]//input[@data-target='#addClassification'])[2] |
122 | 134 | Wait Until Element Is Visible xpath=//div[contains(@id,'addClassification')] |
123 | 135 | Input text xpath=//div[contains(@class, 'modal fade ng-scope in')]//input[@ng-model='searchstring'] ${dkpp_desc1} |
124 | 136 | Wait Until Page Contains ${dkpp_id1} |
137 | + Sleep 1 | |
125 | 138 | Click Element xpath=//td[contains(., '${dkpp_id1}')] |
126 | 139 | Click Element xpath=//div[contains(@class, 'modal fade ng-scope in')]//button[@ng-click='choose()'] |
127 | 140 | Sleep 2 |
... | ... | @@ -131,6 +144,7 @@ Set Multi Ids |
131 | 144 | Wait Until Element Is Visible xpath=//div[contains(@id,'addClassification')] |
132 | 145 | Input text xpath=//div[contains(@class, 'modal fade ng-scope in')]//input[@ng-model='searchstring'] ${dkpp_desc2} |
133 | 146 | Wait Until Page Contains ${dkpp_id2} |
147 | + Sleep 1 | |
134 | 148 | Click Element xpath=//td[contains(., '${dkpp_id2}')] |
135 | 149 | Click Element xpath=//div[contains(@class, 'modal fade ng-scope in')]//button[@ng-click='choose()'] |
136 | 150 | Sleep 2 |
... | ... | @@ -140,6 +154,7 @@ Set Multi Ids |
140 | 154 | Wait Until Element Is Visible xpath=//div[contains(@id,'addClassification')] |
141 | 155 | Input text xpath=//div[contains(@class, 'modal fade ng-scope in')]//input[@ng-model='searchstring'] ${dkpp_desc3} |
142 | 156 | Wait Until Page Contains ${dkpp_id3} |
157 | + Sleep 1 | |
143 | 158 | Click Element xpath=//td[contains(., '${dkpp_id3}')] |
144 | 159 | Click Element xpath=//div[contains(@class, 'modal fade ng-scope in')]//button[@ng-click='choose()'] |
145 | 160 | ... | ... |
... | ... | @@ -17,8 +17,8 @@ users: |
17 | 17 | homepage: "http://uat.e-tender.biz/#/profile" |
18 | 18 | login: Misha2 |
19 | 19 | password: Password1 |
20 | - browser: firefox | |
21 | - position: [0, 0] | |
20 | + browser: chrome | |
21 | + position: [0, 1000] | |
22 | 22 | size: [740, 550] |
23 | 23 | E-tender_Provider1: |
24 | 24 | broker: E-tender | ... | ... |
Please
register
or
login
to post a comment