Showing
2 changed files
with
8 additions
and
5 deletions
... | ... | @@ -6,7 +6,7 @@ Library DateTime |
6 | 6 | *** Variables *** |
7 | 7 | ${locator.tenderId} jquery=h3 |
8 | 8 | ##Використовую такий шлях у кожного буде мінятись /yboi/. Міняйте на сві шлях до файлу |
9 | -${file_path} /home/yboi/openprocurement.robottests.buildout/Document.docx | |
9 | +${file_add} /home/yboi/openprocurement.robottests.buildout/Document.docx | |
10 | 10 | |
11 | 11 | *** Keywords *** |
12 | 12 | Підготувати клієнт для користувача |
... | ... | @@ -16,7 +16,9 @@ ${file_path} /home/yboi/openprocurement.robottests.buildout/Document.docx |
16 | 16 | Open Browser ${USERS.users['${ARGUMENTS[0]}'].homepage} ${USERS.users['${username}'].browser} alias=${ARGUMENTS[0]} |
17 | 17 | Set Window Size @{USERS.users['${ARGUMENTS[0]}'].size} |
18 | 18 | Set Window Position @{USERS.users['${ARGUMENTS[0]}'].position} |
19 | -# login | |
19 | + Run Keyword If '${username}' != 'E-tender_Viewer' Login | |
20 | + | |
21 | +Login | |
20 | 22 | Wait Until Page Contains Element id=inputUsername 100 |
21 | 23 | Input text id=inputUsername ${USERS.users['${username}'].login} |
22 | 24 | Wait Until Page Contains Element id=inputPassword 100 | ... | ... |
... | ... | @@ -17,9 +17,9 @@ users: |
17 | 17 | homepage: "http://uat.e-tender.biz/#/profile" |
18 | 18 | login: Misha2 |
19 | 19 | password: Password1 |
20 | - browser: chrome | |
21 | - position: [0, 1000] | |
22 | - size: [740, 550] | |
20 | + browser: firefox | |
21 | + position: [0, 0] | |
22 | + size: [640, 450] | |
23 | 23 | E-tender_Provider1: |
24 | 24 | broker: E-tender |
25 | 25 | username: E-tendertest |
... | ... | @@ -41,6 +41,7 @@ users: |
41 | 41 | E-tender_Viewer: |
42 | 42 | broker: E-tender |
43 | 43 | username: E-tendertest |
44 | + homepage: "http://uat.e-tender.biz/#/profile" | |
44 | 45 | browser: firefox |
45 | 46 | position: [0, 0] |
46 | 47 | size: [640, 450] | ... | ... |
Please
register
or
login
to post a comment