diff options
| author | dongxiaoyan <[email protected]> | 2021-06-15 19:37:46 +0800 |
|---|---|---|
| committer | dongxiaoyan <[email protected]> | 2021-06-15 19:37:46 +0800 |
| commit | 0847bdd64d47f18ca995a81d3560b4bae9b04e1b (patch) | |
| tree | 6def734f9ecb7fc2a97196f5e48839ae6c1dd0d6 /keyword/common/login_logout_switch.robot | |
| parent | 3c8341971455d3d1b0981607426cff9674496c0b (diff) | |
Diffstat (limited to 'keyword/common/login_logout_switch.robot')
| -rw-r--r-- | keyword/common/login_logout_switch.robot | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/keyword/common/login_logout_switch.robot b/keyword/common/login_logout_switch.robot new file mode 100644 index 0000000..646ac5e --- /dev/null +++ b/keyword/common/login_logout_switch.robot @@ -0,0 +1,22 @@ +*** Settings *** +Resource ../../variable/common_variable.txt +Library Collections +Resource login_logout.robot +#Resource logout.robot +#Resource login.robot + + +*** Keywords *** +LoginAndAddLocalIP + [Tags] tsg_adc tsg_bf_api tsg_device tsg_adc_wp adc_api adc_verify adc_log + #[Tags] 分步骤之外的全流程 毕方接口 设备相关 分步骤全部 分步骤策略 分步骤功能端验证 分步骤日志验证 + # 获取主机IP + #${ip} Get Host IP + #Run Keyword If '${ip}' != '${EMPTY}' Set Global Variable ${testClentIP} ${ip} + + Run Keyword If '${loginType}' == 'ui' UiLoginAndAddLocalIP + + +LogoutAndDelLocalIP + [Tags] tsg_adc tsg_bf_api tsg_device tsg_adc_wp adc_api adc_verify adc_log + Run Keyword If '${loginType}' == 'ui' UiLogoutAndDelLocalIP |
