diff --git a/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot b/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot index 94934f8..3129707 100644 --- a/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot +++ b/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot @@ -7,9 +7,9 @@ Resource ../tsg_bfapi/LoginLogout.robot Resource ../tsg_ui/logout/Logout.robot Resource ../tsg_ui/login/Login.robot +Force Tags tsg_adc tsg_bf_api tsg_device *** Keywords *** LoginAndAddLocalIP - [Tags] tsg_adc tsg_bf_api tsg_cli # 获取主机IP #${ip} Get Host IP #Run Keyword If '${ip}' != '${EMPTY}' Set Global Variable ${testClentIP} ${ip} @@ -19,7 +19,6 @@ LoginAndAddLocalIP ... ELSE IF '${loginType}' != '${None}' UiLoginAndAddLocalIP LogoutAndDelLocalIP - [Tags] tsg_adc tsg_bf_api tsg_cli Run Keyword If '${loginType}' == 'api' ApiLogoutAndDelLocalIP ... ELSE IF '${loginType}' == 'cli' CliLogout ... ELSE IF '${loginType}' != '${None}' UiLogoutAndDelLocalIP