Corrected XPath for input element of login page
Change-Id: I4c9c2367bf2d1fae882ccd5a3be9cbbb1a6b30c5
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/gui/data/resource_variables.py b/gui/data/resource_variables.py
index 875ef7b..2f4220f 100644
--- a/gui/data/resource_variables.py
+++ b/gui/data/resource_variables.py
@@ -8,9 +8,9 @@
class resource_variables():
- xpath_textbox_hostname = "//*[@id='login__form']/input[1]"
- xpath_textbox_username = "//*[@id='username']"
- xpath_textbox_password = "//*[@id='password']"
+ xpath_textbox_hostname = "//input[@id='host']"
+ xpath_textbox_username = "//input[@id='username']"
+ xpath_textbox_password = "//input[@id='password']"
xpath_button_login = "//*[@id='login__submit']"
xpath_button_logout = "//*[@id='header']/a"
xpath_yes_button = "//button[text()='Yes']"