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