summaryrefslogtreecommitdiffstats
path: root/robot/resources/vid/create_service_instance.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/vid/create_service_instance.robot')
-rw-r--r--robot/resources/vid/create_service_instance.robot4
1 files changed, 3 insertions, 1 deletions
diff --git a/robot/resources/vid/create_service_instance.robot b/robot/resources/vid/create_service_instance.robot
index aa0d32a7..76597260 100644
--- a/robot/resources/vid/create_service_instance.robot
+++ b/robot/resources/vid/create_service_instance.robot
@@ -8,7 +8,7 @@ Library UUID
Library String
Library DateTime
-Resource ../mso_interface.robot
+Resource ../so_interface.robot
Resource vid_interface.robot
*** Keywords ***
@@ -21,12 +21,14 @@ Create VID Service Instance
${uuid}= Generate UUID
Wait Until Page Contains Element xpath=//input[@parameter-name='Instance Name'] ${GLOBAL_VID_UI_TIMEOUT_LONG}
Wait Until Element Is Visible xpath=//input[@parameter-name='Instance Name'] ${GLOBAL_VID_UI_TIMEOUT_LONG}
+ Click On Element When Visible //select[@prompt='Select Subscriber Name']
Select From List When Enabled //select[@prompt='Select Subscriber Name'] ${customer_name} timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
Select From List When Enabled //select[@prompt='Select Service Type'] ${service_type} timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
Select From List When Enabled //select[@prompt='Select Project Name'] ${project_name} timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
Select From List When Enabled //select[@prompt='Select Owning Entity'] ${owning_entity} timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
Capture Page Screenshot
Xpath Should Match X Times //input[@parameter-name='Instance Name'] 1
+ Focus //input[@parameter-name='Instance Name']
Wait Until Keyword Succeeds 120s 5s Input Text When Enabled //input[@parameter-name='Instance Name'] ${service_name} timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
Capture Page Screenshot
Click On Button When Enabled //div[@class = 'buttonRow']/button[text() = 'Confirm']