コード例 #1
0
 def use_btn_submitAccount(self):
     Do().click(self.btn_submitAccount)
     Wait().ForElementNotDisplayed(self.fld_alias)
     return self
コード例 #2
0
 def use_btn_submitCreate(self):
     Do().click(self.btn_submitCreate)
     Wait().ForElementDisplayed(self.fld_customerFirstname)
     return self
コード例 #3
0
 def enterInField_fld_phone_mobile(self, phone_mobile):
     Do().sendKeys(self.fld_phone_mobile, phone_mobile)
     Wait().ForElementPresent(self.fld_postcode)
     return self
コード例 #4
0
 def enterInField_fld_alias(self, alias):
     Do().sendKeys(self.fld_alias, alias)
     Wait().ForElementPresent(self.fld_postcode)
     return self
コード例 #5
0
 def enterInField_fld_address(self, address):
     Do().sendKeys(self.fld_address, address)
     Wait().ForElementPresent(self.fld_city)
     return self
コード例 #6
0
 def enterInField_fld_city(self, city):
     Do().sendKeys(self.fld_city, city)
     Wait().ForElementPresent(self.fld_postcode)
     return self
コード例 #7
0
 def enterInField_fld_password(self, password):
     Do().sendKeys(self.fld_password, password)
     Wait().ForElementPresent(self.fld_firstname)
     return self
コード例 #8
0
 def enterInField_fld_customer_lastname(self, lastName):
     Do().sendKeys(self.fld_customerLastname, lastName)
     Wait().ForElementPresent(self.fld_password)
     return self
コード例 #9
0
 def enterInField_fld_customer_firstname(self, firstName):
     Do().sendKeys(self.fld_customerFirstname, firstName)
     Wait().ForElementPresent(self.fld_customerLastname)
     return self
コード例 #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
コード例 #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