Commit 8b7ecb4a61490aca992c473a819983e88191f6f4
1 parent
a3c5b9a5
Use "homepage" instead of "url" (SmartTender)
Showing
1 changed file
with
7 additions
and
5 deletions
... | ... | @@ -7,8 +7,10 @@ Library DateTime |
7 | 7 | Підготувати клієнт для користувача |
8 | 8 | [Arguments] ${username} |
9 | 9 | [Documentation] Відкрити брaвзер, створити обєкт api wrapper, тощо |
10 | - ${url}= Get Broker Property By Username ${username} url | |
11 | - Open Browser ${url} ${USERS.users['${username}'].browser} alias=${username} | |
10 | + Open Browser | |
11 | + ... ${USERS.users['${username}'].homepage} | |
12 | + ... ${USERS.users['${username}'].browser} | |
13 | + ... alias=${username} | |
12 | 14 | Set Window Position @{USERS.users['${username}'].position} |
13 | 15 | Set Window Size @{USERS.users['${username}'].size} |
14 | 16 | Log Variables |
... | ... | @@ -21,9 +23,9 @@ Library DateTime |
21 | 23 | ... ${ARGUMENTS[2]} == id |
22 | 24 | Switch browser ${ARGUMENTS[0]} |
23 | 25 | ${current_location}= Get Location |
24 | - ${url}= Get Broker Property By Username ${ARGUMENTS[0]} url | |
25 | - Run Keyword If '${url}/#/tenderDetailes/${ARGUMENTS[2]}'=='${current_location}' Reload Page | |
26 | - Go To ${url} | |
26 | + ${homepage}= Set Variable ${USERS.users['${ARGUMENTS[0]}'].homepage} | |
27 | + Run Keyword If '${homepage}/#/tenderDetailes/${ARGUMENTS[2]}'=='${current_location}' Reload Page | |
28 | + Go To ${homepage} | |
27 | 29 | Wait Until Page Contains Офіційний майданчик державних закупівель України 10 |
28 | 30 | sleep 1 |
29 | 31 | Input Text id=j_idt18:datalist:j_idt67 ${ARGUMENTS[1]} | ... | ... |
Please
register
or
login
to post a comment