예제 #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, "*****@*****.**")