From c08bf62e87e3b2584c570d33e75afd6fb692be61 Mon Sep 17 00:00:00 2001 From: dongxiaoyan Date: Tue, 2 Feb 2021 15:09:33 +0800 Subject: [PATCH] =?UTF-8?q?UI=E9=80=80=E5=87=BA=E7=99=BB=E9=99=86=E5=85=B3?= =?UTF-8?q?=E9=94=AE=E5=AD=97=E8=B0=83=E6=95=B4=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02-Keyword/tsg_ui/logout/Logout.robot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/02-Keyword/tsg_ui/logout/Logout.robot b/02-Keyword/tsg_ui/logout/Logout.robot index 880a43b..09618d6 100644 --- a/02-Keyword/tsg_ui/logout/Logout.robot +++ b/02-Keyword/tsg_ui/logout/Logout.robot @@ -4,9 +4,11 @@ Resource ../objects/ObjectPages.robot *** Keywords *** Logout - Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[2]/div/span/div/span + #Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[2]/div/span/div/span + #/html/body/div[1]/div/div[1]/div[2]/div/span[2]/div/span + Mouse Hover xpath=//*[@id="user_avator"]/span sleep 0.5 - click element xpath=//div[@class='SignOut'] + click element xpath=//div[@id='SignOut'] sleep 2 Close All Browsers