Example #1
0
 def Click_on_register_button(self):
     ele = Base_Class.getElement(self, "submitAccount", "id")
     Base_Class.action_click(ele)
Example #2
0
 def Mobile_number(self):
     ele = Base_Class.getElement(self, "phone_mobile", "name")
     Base_Class.action_sendkeys(ele, "8790668903")
Example #3
0
 def Address_Alias(self):
     ele = Base_Class.getElement(self, "alias", "name")
     Base_Class.action_sendkeys(ele, "a2")
Example #4
0
 def postal_code(self):
     ele = Base_Class.getElement(self, "postcode", "name")
     Base_Class.action_sendkeys(ele, "00000")
Example #5
0
 def Country(self):
     ele = Base_Class.getElement(self, "id_country", "name")
     Base_Class.action_sendkeys(ele, "India")
Example #6
0
 def Select_state(self):
     ele = Base_Class.getElement(self, "//select[@id = 'id_state']",
                                 "xpath")
     Base_Class.action_sendkeys(ele, "Alaska")
Example #7
0
 def Click_on_SignIn(self):
     ele = Base_Class.getElement(self, "Sign in", "linktext")
     Base_Class.action_click(ele)
Example #8
0
 def address(self):
     ele = Base_Class.getElement(self, "address1", "name")
     Base_Class.action_sendkeys(ele, "H-41,alpha-2,Noida")
Example #9
0
 def city(self):
     ele = Base_Class.getElement(self, "city", "name")
     Base_Class.action_sendkeys(ele, "Noida")
Example #10
0
 def password(self):
     ele = Base_Class.getElement(self, "passwd", "name")
     Base_Class.action_sendkeys(ele, "avk987")
Example #11
0
 def Company(self):
     ele = Base_Class.getElement(self, "company", "id")
     Base_Class.action_sendkeys(ele, "nagarro")
Example #12
0
 def Last_name(self):
     ele = Base_Class.getElement(self, "customer_lastname", "name")
     Base_Class.action_sendkeys(ele, "kumari")
Example #13
0
 def First_name(self):
     ele = Base_Class.getElement(self, "customer_firstname", "name")
     Base_Class.action_sendkeys(ele, "vaibhavi")
Example #14
0
 def Gender(self):
     ele = Base_Class.getElement(self, "id_gender2", "id")
     Base_Class.action_click(ele)
Example #15
0
 def Click_on_create_an_account(self):
     ele = Base_Class.getElement(self, "SubmitCreate", "name")
     Base_Class.action_click(ele)
Example #16
0
 def Enter_email(self):
     ele = Base_Class.getElement(self, "email_create", "name")
     Base_Class.action_sendkeys(ele, "*****@*****.**")