From 809e9b8409e58efbccce682984e1e8682037c711 Mon Sep 17 00:00:00 2001 From: zhangwenqing Date: Tue, 7 Apr 2020 14:24:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot b/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot index 05805bd..cb9000a 100644 --- a/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot +++ b/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot @@ -11,8 +11,7 @@ Resource ../tsg_ui/Login/Login.robot LoginAndAddLocalIP # 获取主机IP ${ip} Get Host IP - Set Global Variable ${testClentIP} ${ip} - Should Not Be Empty ${testClentIP} + Run Keyword If '${ip}' != '${EMPTY}' Set Global Variable ${testClentIP} ${ip} Run Keyword If '${loginType}' == 'api' ApiLoginAndAddLocalIP aa ... ELSE IF '${loginType}' == 'cli' CliLogin