Beispiel #1
0
    def testcase_Basic_Check_Setup_WiredWireless_0001(self):
        print("Step1: Enter Into Setup screen")
        qw_model_action_util.go_home()
        qw_model_action_util.go_setup()

        print("Step2: Enter Into Network Setting")
        qw_model_action_util.go_network_setting()

        print("Step3: Enter Into Internet Settings")
        qw_model_action_util.go_internet_settings()

        print("Step4: Retrive Internet Service List")
        qw_model_action_util.set_wired_setup()
Beispiel #2
0
    def testcase_Basic_Check_for_System_Team_0003(self):
        print("Step1: Enter Into HomeUI")
        qw_model_action_util.go_home()

        print("Step2: Press STOP + DISPLAY + PAUSE + UP in remote key")
        qw_model_action_util.set_different_mode("Services Mode")

        print("Step3: Set will reboot into Service Mode")
        self.assertTrue(
            check_result.check_picture_with_timeout('Service_Mode.png'),
            'Service Mode cannot be enter successfully')

        print("Step4: Restart the power supply")
        qw_model_action_util.restart_power()
        constants.flag = False
Beispiel #3
0
    def testcase_Basic_Check_Setup_SKB_0001(self):
        print("Step1: Enter into Setup screen")
        qw_model_action_util.go_home()
        qw_model_action_util.go_setup()

        print("Step2: Enter into System Settings / Device Name")
        qw_model_action_util.go_system_setting()
        qw_model_action_util.go_device_name()

        print("Step3: Press The Yellow Key And Check The History")
        qw_model_action_util.send_key('YELLOW')
        self.assertTrue(check_result.check_pictures('History_Before.png'),
                        'The History is not clear')

        print("Step4: Enter A Device Name And Check The Yellow Key")
        qw_model_action_util.send_key('BLUE')
        qw_model_action_util.enter_device_name()
        qw_model_action_util.save_device_name()
        qw_model_action_util.send_key('ENTER')
        qw_model_action_util.send_key('YELLOW')
        self.assertTrue(check_result.check_pictures('History_After.png'),
                        'The History is not displayed correctly')

        print("Step5: Press The Blue Key And Check The History")
        qw_model_action_util.send_key('BLUE')
        self.assertTrue(check_result.check_pictures('History_Before.png'),
                        'The History is not clear')

        print("Step6: Press The Red Key And Check The Language")
        qw_model_action_util.send_key('RED')
        self.assertTrue(check_result.check_pictures('Language_Yellow.png'),
                        'The language bar is not displayed correctly')
        qw_model_action_util.send_key("RETURN")

        print(
            "Step7: Press The Green Key And Check The Size Of The Input Mode")
        qw_model_action_util.send_key('GREEN')
        self.assertTrue(check_result.check_pictures('Input_Mode_Blue.png'),
                        'The Input Mode is not displayed correctly')
        qw_model_action_util.send_key('BLUE')

        print("Step8: Enter A Device Name And Press Enter")
        qw_model_action_util.enter_device_name()
        qw_model_action_util.save_device_name()
        self.assertTrue(check_result.check_pictures('Device_Name.png'),
                        'The input word has not been saved')
Beispiel #4
0
    def testcase_Basic_Check_for_System_Team_0001(self):
        print("Step1: Enter Into HomeUI")
        qw_model_action_util.go_home()

        print("Step2: Press STOP + HOME + TOP MENU in remote key")
        qw_model_action_util.set_different_mode("Child Lock")

        print("Step3: \"Child Lock Mode On\" pop up message is appear")
        self.assertTrue(
            check_result.check_pictures('Child_Lock_Pop_Up.png', False, 0.8),
            '"Child Lock Mode On" pop up message is not appear')

        print("Step4: Confirm Eject key is disabled")
        qw_model_action_util.send('OPEN')
        self.assertTrue(
            check_result.check_pictures('Child_Lock_Eject_Key.png', False,
                                        0.8), 'Eject key is not disabled')

        print("Step5: Cancel The Child Look Mode")
        qw_model_action_util.set_different_mode("Child Lock")
Beispiel #5
0
    def testcase_Basic_Check_for_System_Team_0002(self):
        print("Step1: Enter Into HomeUI")
        qw_model_action_util.go_home()

        print("Step2: Press STOP + RETURN + PAUSE + SUBTITLE in remote key")
        qw_model_action_util.set_different_mode("Demo Mode")

        print("Step3: \"Demo Mode\" pop up message is appear")
        self.assertTrue(
            check_result.check_pictures('Demo_Mode_Pop_Up.png', False, 0.8),
            '"Demo Mode" pop up message is not appear')

        print("Step4: Confirm Eject key is disabled")
        qw_model_action_util.send('OPEN')
        self.assertTrue(
            check_result.check_pictures('Demo_Mode_Eject_Key.png', False, 0.8),
            'Eject key is not disabled')

        print("Step5: Cancel The Demo Mode")
        qw_model_action_util.set_different_mode("Demo Mode")
Beispiel #6
0
    def testcase_Basic_Check_Setup_0001(self):
        print("Step1: Enter into Setup screen")
        qw_model_action_util.go_setup(False)

        print("Step2: Factory Resetting/All Resetting")
        qw_model_action_util.go_all_resetting()

        print("Step3: Power Off")
        qw_model_action_util.go_power_off()

        print("Step4: Power On")
        qw_model_action_util.go_power_on()

        print("Step5: Display EasySetup Step")
        # self.assertTrue(check_result.check_pictures('EasyDisplaySettings.png'),
        #                 'EasySetup Step Not Displayed')

        print("Step6: Finish EasySetup Step")
        qw_model_action_util.go_finish_easySetup_step()

        print("Step7: Select Setup Button")
        qw_model_action_util.go_setup()

        print("Step8: Display Setup List Items")
        # self.assertTrue(check_result.check_pictures('Setup.png'),
        #                 'Setup List Items Not Displayed')

        print("Step9: Choose One Setting Item And "
              "Change The Option Value To Another(not default)")
        qw_model_action_util.change_HDR_output()
        # self.assertTrue(check_result.check_pictures('HDR_Output_Off.png'),
        #                 'Change The Option Value To Another(not default) Failed')

        print("Step10: Enter Into Resettings To Do All Resetting")
        qw_model_action_util.go_home()
        qw_model_action_util.go_setup()
        qw_model_action_util.go_all_resetting()

        print("Step11: Return To This Setting Item")
        qw_model_action_util.go_home()
        qw_model_action_util.go_setup()
        qw_model_action_util.go_HDR_output()

        print("Step12: The Value Change To Default")
        # self.assertTrue(check_result.check_pictures('HDR_Output_Auto.png'),
        #                 'The Value Not Change To Default')

        print("Step13: Enter Into Setup/System Setting")
        qw_model_action_util.go_home()
        qw_model_action_util.go_setup()
        qw_model_action_util.go_system_setting()

        print("Step14: Change The OSD Language To Another")
        qw_model_action_util.change_OSD_language()
        # self.assertTrue(check_result.check_pictures('OSD_Sprache_Deutsch.png'),
        #                 'Change The OSD Language To Another Failed')

        print("Step15: Enter Into Resettings To Do All Resetting")
        qw_model_action_util.go_home()
        qw_model_action_util.go_setup()
        qw_model_action_util.go_all_resetting()

        print("Step16: Return To This Setting Item")
        qw_model_action_util.go_home()
        qw_model_action_util.go_setup()
        qw_model_action_util.go_system_setting()