Commit 4d158ae236bffe3fc6576861d6c3e13f76254061

Authored by selurvedu
1 parent 9ece2631

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

... ... @@ -21,8 +21,10 @@ ${PASSWORD} 1234
21 21 log many @{ARGUMENTS}
22 22 log ${username}
23 23 [Documentation] Відкрити брaвзер, створити обєкт api wrapper, тощо
24   - ${url}= Get Broker Property By Username ${ARGUMENTS[0]} url
25   - Open Browser ${url} ${USERS.users['${username}'].browser} alias=${username}
  24 + Open Browser
  25 + ... ${USERS.users['${username}'].homepage}
  26 + ... ${USERS.users['${username}'].browser}
  27 + ... alias=${username}
26 28 Set Window Position @{USERS.users['${username}'].position}
27 29 #Set Window Size @{USERS.users['${username}'].size}
28 30 Log Variables
... ... @@ -100,9 +102,9 @@ Get tender id
100 102 ... ${ARGUMENTS[2]} == id
101 103 Switch browser ${ARGUMENTS[0]}
102 104 ${current_location}= Get Location
103   - ${url}= Get Broker Property By Username ${ARGUMENTS[0]} url
104   - Run Keyword If '${url}/#/tenderDetailes/${ARGUMENTS[2]}'=='${current_location}' Reload Page
105   - Go to ${url}
  105 + ${homepage}= Set Variable ${USERS.users['${ARGUMENTS[0]}'].homepage}
  106 + Run Keyword If '${homepage}/#/tenderDetailes/${ARGUMENTS[2]}'=='${current_location}' Reload Page
  107 + Go To ${homepage}
106 108 Wait Until Page Contains Допороговые закупки Украины 10
107 109 sleep 1
108 110 Input Text id=search ${ARGUMENTS[1]}
... ...
Please register or login to post a comment