Commit 9ece2631f4617aeacf87668f237c46d9b4aac294
1 parent
8b7ecb4a
Use "homepage" instead of "url" (Netcast)
Showing
1 changed file
with
5 additions
and
4 deletions
... | ... | @@ -31,8 +31,10 @@ ${locator.questions[0].answer} xpath=//div[@class = 'answer relative']//di |
31 | 31 | [Arguments] @{ARGUMENTS} |
32 | 32 | [Documentation] Відкрити брaузер, створити обєкт api wrapper, тощо |
33 | 33 | ... ${ARGUMENTS[0]} == username |
34 | - ${url}= Get Broker Property By Username ${ARGUMENTS[0]} url | |
35 | - Open Browser ${url} ${USERS.users['${ARGUMENTS[0]}'].browser} alias=${ARGUMENTS[0]} | |
34 | + Open Browser | |
35 | + ... ${USERS.users['${ARGUMENTS[0]}'].homepage} | |
36 | + ... ${USERS.users['${ARGUMENTS[0]}'].browser} | |
37 | + ... alias=${ARGUMENTS[0]} | |
36 | 38 | Set Window Size @{USERS.users['${ARGUMENTS[0]}'].size} |
37 | 39 | Set Window Position @{USERS.users['${ARGUMENTS[0]}'].position} |
38 | 40 | Run Keyword And Ignore Error Pre Login ${ARGUMENTS[0]} |
... | ... | @@ -233,8 +235,7 @@ Set Multi Ids |
233 | 235 | ... ${ARGUMENTS[0]} == username |
234 | 236 | ... ${ARGUMENTS[1]} == tenderId |
235 | 237 | Switch browser ${ARGUMENTS[0]} |
236 | - ${url}= Get Broker Property By Username ${ARGUMENTS[0]} url | |
237 | - Go To ${url} | |
238 | + Go To ${USERS.users['${ARGUMENTS[0]}'].homepage} | |
238 | 239 | Wait Until Page Contains Держзакупівлі.онлайн 10 |
239 | 240 | Click Element xpath=//a[text()='Закупівлі'] |
240 | 241 | sleep 1 | ... | ... |
Please
register
or
login
to post a comment