OBMC GUI POC: Test Power Operations
Resolves openbmc/openbmc-test-automation#407
Change-Id: I74e47344add5bf20dec38461d52714610e049e5e
Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>
diff --git a/gui/data/variables.py b/gui/data/variables.py
index 1abc2e2..6acefd4 100644
--- a/gui/data/variables.py
+++ b/gui/data/variables.py
@@ -16,9 +16,27 @@
xpath_uname= "xpath=//*[@id='nosession']/form/input[1]"
xpath_password= "xpath=//*[@id='nosession']/form/input[2]"
xpath_signin= "xpath=//*[@id='sign-in']"
+
xpath_search= "xpath=//*[@id='searchbox']/input"
scan_name= "OP Full Scan"
xpath_op_scan= "xpath=//*[@id='main']/div[1]/section/table/tbody"
xpath_launch= "xpath=//*[@id='scans-show-launch-dropdown']/span"
xpath_default= "xpath=//*[@id='scans-show-launch-default']"
xpath_status= "xpath=//*[@id='main']/div[1]/section/div[2]/table/tbody/tr[1]/td[4]"
+ obmc_BMC_URL= "https://openbmc-test.mybluemix.net/#/login"
+ obmc_uname= "username"
+ obmc_user_name= "root"
+ obmc_password= "0penBmc"
+
+ # Power Operation Elements needed for power on
+ header_wrapper= "2"
+ header_wrapper_elt= "2"
+
+ # Power Operation Elements needed for power operations confirmation
+ power_operations= "4"
+ warm_boot= "3"
+ cold_boot= "4"
+ shut_down= "5"
+ power_off= "6"
+ confirm_msg= "2"
+ yes= "1"