Ejemplo n.º 1
0
 def input_current_datename(self):
     app_name_date = get_current_date()
     helper.wait_element_invisible(self.driver,*AppInfoLocator.popup)
     helper.wait_element_visible(self.driver, *AppInfoLocator.app_display_name)
     app_name = self.driver.find_element(*AppInfoLocator.app_display_name)
     app_name.clear()
     app_name.send_keys(app_name_date)
Ejemplo n.º 2
0
    def test_batch_Pay_datail(self):
        self.driver.refresh()
        self.order_page.click_batchPay_tab()
        self.order_page.click_first_pay_row()

        batch_no,batch_date,batch_account,batch_account_name, order_no,order_status, order_account,order_name = self.order_page.return_order_detail()
        self.assertIn(get_current_date(),batch_no.text)
        self.assertIn(get_current_date(),batch_date.text)
        self.assertEquals("*****@*****.**",batch_account.text)
        self.assertEquals(u"上海简米网络科技有限公司",batch_account_name.text)
        # self.assertEquals("0.1",batch_sum.text),
        # self.assertEquals("1",batch_order_num.text)

        self.assertEquals("1",order_no.text)
        self.assertEquals( u"处理中",order_status.text)
        self.assertEquals("*****@*****.**",order_account.text)
        self.assertEquals("tester",order_name.text)
        # self.assertEquals("0.1",order_amount.text)

        self.order_page.close_detail()