summaryrefslogtreecommitdiff
path: root/02-Keyword/tsg_ui/Logout/Logout.robot
diff options
context:
space:
mode:
Diffstat (limited to '02-Keyword/tsg_ui/Logout/Logout.robot')
-rw-r--r--02-Keyword/tsg_ui/Logout/Logout.robot17
1 files changed, 17 insertions, 0 deletions
diff --git a/02-Keyword/tsg_ui/Logout/Logout.robot b/02-Keyword/tsg_ui/Logout/Logout.robot
new file mode 100644
index 0000000..f4ea7f1
--- /dev/null
+++ b/02-Keyword/tsg_ui/Logout/Logout.robot
@@ -0,0 +1,17 @@
+*** Settings ***
+Library Selenium2Library
+Resource ../Objects/ObjectPages.robot
+
+*** Keywords ***
+Logout
+ Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[2]/div/span/div/span
+ sleep 0.5
+ click element xpath=//div[@class='SignOut']
+ sleep 2
+ Close All Browsers
+
+UiLogoutAndDelLocalIP
+ [Arguments] ${tempParm}
+ log UiLogoutAndDelLocalIP${tempParm}
+ Objects.DeletePage ${LocahIPName}
+ Logout.Logout