コード例 #1
0
 def test_email_veri(self):
     user = Username(self.driver)
     user.eneter_Username(Testdata.username)
     pass1 = user.cont_click()
     p_txt = pass1.email_verify()
     print(p_txt)
     assert p_txt == Testdata.username
コード例 #2
0
    def test_enterpass(self):
        user = Username(self.driver)
        user.eneter_Username(Testdata.username)
        pass1 = user.cont_click()

        pass1.password_enter(Testdata.password)
        pass1.click_sub()
コード例 #3
0
    def test_warnverify(self):
        user = Username(self.driver)
        user.eneter_Username(Testdata.username)
        pass1 = user.cont_click()

        warn_txt = pass1.warn_verify()
        print(warn_txt)
コード例 #4
0
 def test_negative(self):
     user = Username(self.driver)
     user.cont_click()
     time.sleep(2)
     warn_text = user.warning_present()
     print(warn_text)
     print(Testdata.warning_msg)
     assert warn_text == Testdata.warning_msg
コード例 #5
0
    def test_submit(self):
        user = Username(self.driver)
        user.eneter_Username(Testdata.username)

        pass_obj = user.cont_click()
        return pass_obj
コード例 #6
0
    def test_buttondisp(self):
        user = Username(self.driver)

        print(user.button_displayed())

        assert user.button_displayed()
コード例 #7
0
    def test_needhelpdisp(self):
        user = Username(self.driver)

        user_link = user.need_help_disp()
        print(user_link)
        assert user_link == Testdata.need_help
コード例 #8
0
    def test_verifytitle(self):
        user = Username(self.driver)

        title = user.get_title_name()
        print(title)
        assert title == Testdata.title
コード例 #9
0
 def test_forgot_pass(self):
     user = Username(self.driver)
     user.eneter_Username(Testdata.username)
     pass1 = user.cont_click()
     f_txt = pass1.forgot_passtext()
     print(f_txt)