Exemplo n.º 1
0
class Test_03_Table_Sort(Test_Base):
    def setUp(self):
        super().setUp()

    def test_031_sort_and_validate_values(self):
        self.homePage = HomePage(self.driver)
        self.login = UserLogin(self.driver)
        self.login.login_username_password()
        self.financial = FinancialOverview(self.driver)
        self.financial.sort_table_values_and_match_values()
Exemplo n.º 2
0
class Test_04_Canvas_Chart(Test_Base):
    def setUp(self):
        super().setUp()

    def test_041_canvas_chart_test(self):
        self.homepage = HomePage(self.driver)
        self.login = UserLogin(self.driver)
        self.login.login_username_password()
        self.chart = CanvasChartPage(self.driver)
        self.chart.values_validate()
Exemplo n.º 3
0
 def test_041_canvas_chart_test(self):
     self.homepage = HomePage(self.driver)
     self.login = UserLogin(self.driver)
     self.login.login_username_password()
     self.chart = CanvasChartPage(self.driver)
     self.chart.values_validate()
Exemplo n.º 4
0
 def test_031_sort_and_validate_values(self):
     self.homePage = HomePage(self.driver)
     self.login = UserLogin(self.driver)
     self.login.login_username_password()
     self.financial = FinancialOverview(self.driver)
     self.financial.sort_table_values_and_match_values()
Exemplo n.º 5
0
 def test_023_login_verify_user_remembered(self):
     self.homePage = HomePage(self.driver)
     self.login = UserLogin(self.driver)
     self.login.login_remember_user()
     self.driver.back()
     self.login.verify_user_is_remembered()
Exemplo n.º 6
0
 def test_022_login_valid_credentials(self):
     self.homePage = HomePage(self.driver)
     self.login = UserLogin(self.driver)
     self.login.login_username_password()
Exemplo n.º 7
0
 def test_021_login_invalid_credentials(self):
     self.homePage = HomePage(self.driver)
     self.login = UserLogin(self.driver)
     self.login.login_no_credentials_entered()
     self.login.enter_password_only()
     self.login.enter_username_only()
Exemplo n.º 8
0
class Test_02_Data_Driven(Test_Base):
    def setUp(self):
        super().setUp()

    def test_021_login_invalid_credentials(self):
        self.homePage = HomePage(self.driver)
        self.login = UserLogin(self.driver)
        self.login.login_no_credentials_entered()
        self.login.enter_password_only()
        self.login.enter_username_only()

    def test_022_login_valid_credentials(self):
        self.homePage = HomePage(self.driver)
        self.login = UserLogin(self.driver)
        self.login.login_username_password()

    def test_023_login_verify_user_remembered(self):
        self.homePage = HomePage(self.driver)
        self.login = UserLogin(self.driver)
        self.login.login_remember_user()
        self.driver.back()
        self.login.verify_user_is_remembered()