def test_list8_run(self):
     '''任务列表:表单测试-跳转页面'''
     self.user_login_verify_run("collegecheck","f")
     time.sleep(1)
     T=TaskList(self.driver)
     # 跳转到第3页
     T.pageSkip(3)
     self.assertEqual(T.pageNum(),"3")
     time.sleep(1)
     imagetest = getResultImage()
     imagetest.insert_image(self.driver,"tasklist_pageSkip_btn.jpg")
 def test_listA_run(self):
     '''任务列表:表单测试-上一页按钮'''
     self.user_login_verify_run("collegecheck","f")
     time.sleep(1)
     T=TaskList(self.driver)
     # 跳转到第3页
     T.pageSkip(3)
     # 点击“上一页”按钮
     self.driver.find_element_by_xpath("html/body/div[4]/div[3]/form[2]/p/a[2]").click()
     self.assertEqual(T.pageNum(),"2")
     time.sleep(1)
     imagetest = getResultImage()
     imagetest.insert_image(self.driver,"tasklist_upPage_btn.jpg")