X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FRedButton%2Fred_button_keywords.robot;fp=Automation%2FTests%2FRedButton%2Fred_button_keywords.robot;h=23d0875ecda8f679a4b02b2392736012f7d3b2d1;hb=ef8e7b290c648ce0655c0fc0e8d0882fe31f2abc;hp=17f7b50aaa066b5c7004ed59dce991c913817e96;hpb=a3606342337faa83791d41be3a94a7957d8f6ed5;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/RedButton/red_button_keywords.robot b/Automation/Tests/RedButton/red_button_keywords.robot index 17f7b50..23d0875 100644 --- a/Automation/Tests/RedButton/red_button_keywords.robot +++ b/Automation/Tests/RedButton/red_button_keywords.robot @@ -17,6 +17,7 @@ ############################################################################## *** Settings *** +Variables ../Scripts/variables.py Documentation Keywords file Resource ../Resource/resource.robot Resource ../Resource/Keywords.robot @@ -26,13 +27,16 @@ Library OperatingSystem Library json Library REST ${url} +*** Variables *** +${url} ${e2mgr_address} + *** Keywords *** Verify connected and associated Get Request node b gnb Integer response status 200 String response body ranName ${ranName} String response body connectionStatus CONNECTED - String response body associatedE2tInstanceAddress ${e2tinstanceaddress} + String response body associatedE2tInstanceAddress ${e2t_alpha_address} Verify shutdown for gnb Get Request node b gnb @@ -42,7 +46,7 @@ Verify shutdown for gnb Missing response body associatedE2tInstanceAddress Verify E2T instance has no associated RANs - ${result} e2mdbscripts.verify_e2t_instance_has_no_associated_rans ${e2tinstanceaddress} + ${result} e2mdbscripts.verify_e2t_instance_has_no_associated_rans ${e2t_alpha_address} Should Be True ${result} Execute Shutdown