X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FRedButton%2Fred_button_keywords.robot;h=c808cf8af3eba9c4ceb7c65ee0f9807019d2c857;hb=refs%2Fchanges%2F73%2F4473%2F1;hp=17f7b50aaa066b5c7004ed59dce991c913817e96;hpb=0995008bd70d98ea5c374f71f710b920d2939765;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..c808cf8 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,23 +27,26 @@ Library OperatingSystem Library json Library REST ${url} +*** Variables *** +${url} ${e2mgr_address} + *** Keywords *** Verify connected and associated - Get Request node b gnb + Get Request nodeb 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 + Get Request nodeb Integer response status 200 String response body ranName ${ranName} String response body connectionStatus SHUT_DOWN 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