Corrected logout XPath

Change-Id: Icf61181b59f9e5f46487c5d370c030bb22864e5a
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/gui/obmc_gui/lib/resource.robot b/gui/obmc_gui/lib/resource.robot
index 82b01bf..c12f785 100644
--- a/gui/obmc_gui/lib/resource.robot
+++ b/gui/obmc_gui/lib/resource.robot
@@ -378,5 +378,5 @@
 Logout And Close Browser
     [Documentation]  Logout from openbmc application and close the browser.
 
-    Click Element  header
+    Click Element  //*[text()='Log out']
     Close Browser