Commit 9ece2631f4617aeacf87668f237c46d9b4aac294

Authored by selurvedu
1 parent 8b7ecb4a

Use "homepage" instead of "url" (Netcast)

@@ -31,8 +31,10 @@ ${locator.questions[0].answer} xpath=//div[@class = 'answer relative']//di @@ -31,8 +31,10 @@ ${locator.questions[0].answer} xpath=//div[@class = 'answer relative']//di
31 [Arguments] @{ARGUMENTS} 31 [Arguments] @{ARGUMENTS}
32 [Documentation] Відкрити брaузер, створити обєкт api wrapper, тощо 32 [Documentation] Відкрити брaузер, створити обєкт api wrapper, тощо
33 ... ${ARGUMENTS[0]} == username 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 Set Window Size @{USERS.users['${ARGUMENTS[0]}'].size} 38 Set Window Size @{USERS.users['${ARGUMENTS[0]}'].size}
37 Set Window Position @{USERS.users['${ARGUMENTS[0]}'].position} 39 Set Window Position @{USERS.users['${ARGUMENTS[0]}'].position}
38 Run Keyword And Ignore Error Pre Login ${ARGUMENTS[0]} 40 Run Keyword And Ignore Error Pre Login ${ARGUMENTS[0]}
@@ -233,8 +235,7 @@ Set Multi Ids @@ -233,8 +235,7 @@ Set Multi Ids
233 ... ${ARGUMENTS[0]} == username 235 ... ${ARGUMENTS[0]} == username
234 ... ${ARGUMENTS[1]} == tenderId 236 ... ${ARGUMENTS[1]} == tenderId
235 Switch browser ${ARGUMENTS[0]} 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 Wait Until Page Contains Держзакупівлі.онлайн 10 239 Wait Until Page Contains Держзакупівлі.онлайн 10
239 Click Element xpath=//a[text()='Закупівлі'] 240 Click Element xpath=//a[text()='Закупівлі']
240 sleep 1 241 sleep 1
Please register or login to post a comment