summaryrefslogtreecommitdiffstats
path: root/robot/resources/vid/vid_interface.robot
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-06-01 17:05:42 -0400
committerJerry Flood <jf9860@att.com>2017-06-01 17:08:20 -0400
commitedbeafbff76baa94d2d45df02a169073a5ec9e86 (patch)
tree62236d07d16cabd2e4dcc4ac5d3a07cdd46a7e69 /robot/resources/vid/vid_interface.robot
parenta9ee25c0d93e8e1496ae5535e65e38ec76b4dd25 (diff)
Update VID URLs and elements for 1.1
Round 1 Issue: TEST-35 Change-Id: I2edab3849259017baa36963fef51c0ece6b4f466 Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'robot/resources/vid/vid_interface.robot')
-rw-r--r--robot/resources/vid/vid_interface.robot20
1 files changed, 13 insertions, 7 deletions
diff --git a/robot/resources/vid/vid_interface.robot b/robot/resources/vid/vid_interface.robot
index cb625d47..788df0aa 100644
--- a/robot/resources/vid/vid_interface.robot
+++ b/robot/resources/vid/vid_interface.robot
@@ -10,9 +10,10 @@ Resource ../browser_setup.robot
*** Variables ***
${VID_ENV} /vid
-${VID_LOGIN_URL} ${GLOBAL_VID_SERVER}${VID_ENV}/login_external.htm
+${VID_LOGIN_URL} ${GLOBAL_VID_SERVER}${VID_ENV}/login.htm
${VID_HEALTHCHECK_PATH} ${VID_ENV}/api/v2/users
-${VID_HOME_URL} ${GLOBAL_VID_SERVER}${VID_ENV}/vidhome.htm
+${VID_HOME_URL} ${GLOBAL_VID_SERVER}${VID_ENV}/welcome.htm
+${VID_SERVICE_MODELS_URL} ${GLOBAL_VID_SERVER}${VID_ENV}/serviceModels.htm#/models/services
*** Keywords ***
Run VID Health Check
@@ -43,17 +44,22 @@ Login To VID GUI
Set Browser Implicit Wait ${GLOBAL_SELENIUM_BROWSER_IMPLICIT_WAIT}
Log Logging in to ${GLOBAL_VID_SERVER}${VID_ENV}
Handle Proxy Warning
- Title Should Be VID Login
- Input Text xpath=//input[@ng-model='loginId'] ${GLOBAL_VID_USERNAME}
- Input Password xpath=//input[@ng-model='password'] ${GLOBAL_VID_PASSWORD}
+ Title Should Be Login
+ Input Text xpath=//input[@id='loginId'] ${GLOBAL_VID_USERNAME}
+ Input Password xpath=//input[@id='password'] ${GLOBAL_VID_PASSWORD}
Click Button xpath=//input[@id='loginBtn']
- Wait Until Page Contains Element xpath=//div[@class='applicationWindow'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
+ Wait Until Page Contains Welcome to VID ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
Log Logged in to ${GLOBAL_VID_SERVER}${VID_ENV}
Go To VID HOME
[Documentation] Naviage to VID Home
Go To ${VID_HOME_URL}
- Wait Until Page Contains Element xpath=//div[@class='applicationWindow'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
+ Wait Until Page Contains Welcome to VID ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
+
+Go To VID Browse Service Models
+ [Documentation] Naviage to VID Browse Service Models
+ Go To ${VID_SERVICE_MODELS_URL}
+ Wait Until Page Contains Browse SDC Service Models ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
Click On Button When Enabled
[Arguments] ${xpath} ${timeout}=${GLOBAL_VID_UI_TIMEOUT_MEDIUM}