def use_btn_submitAccount(self):
     Do().click(self.btn_submitAccount)
     Wait().ForElementNotDisplayed(self.fld_alias)
     return self
Ejemplo n.º 2
0
 def use_btn_submitCreate(self):
     Do().click(self.btn_submitCreate)
     Wait().ForElementDisplayed(self.fld_customerFirstname)
     return self
 def enterInField_fld_phone_mobile(self, phone_mobile):
     Do().sendKeys(self.fld_phone_mobile, phone_mobile)
     Wait().ForElementPresent(self.fld_postcode)
     return self
 def enterInField_fld_alias(self, alias):
     Do().sendKeys(self.fld_alias, alias)
     Wait().ForElementPresent(self.fld_postcode)
     return self
 def enterInField_fld_address(self, address):
     Do().sendKeys(self.fld_address, address)
     Wait().ForElementPresent(self.fld_city)
     return self
 def enterInField_fld_city(self, city):
     Do().sendKeys(self.fld_city, city)
     Wait().ForElementPresent(self.fld_postcode)
     return self
 def enterInField_fld_password(self, password):
     Do().sendKeys(self.fld_password, password)
     Wait().ForElementPresent(self.fld_firstname)
     return self
 def enterInField_fld_customer_lastname(self, lastName):
     Do().sendKeys(self.fld_customerLastname, lastName)
     Wait().ForElementPresent(self.fld_password)
     return self
 def enterInField_fld_customer_firstname(self, firstName):
     Do().sendKeys(self.fld_customerFirstname, firstName)
     Wait().ForElementPresent(self.fld_customerLastname)
     return self
Ejemplo n.º 10
0
 def proceed_to_checkout(self):
     Wait().ForElementDisplayed(self.popup_layer_cart)
     Do().click(self.btn_proceed_to_checkout)
     Wait().ForElementDisplayed(self.btn_standard_checkout)
     return self
Ejemplo n.º 11
0
 def select_product(self):
     Wait().ForElementDisplayed(self.icon_large)
     Do().scrollToElement(self.product_img_link)
     Do().click(self.product_img_link)
     Wait().ForElementPresent(self.icon_twitter)
     return self