예제 #1
0
def main():
    stauts = True
    try:
        gfx.set_up('YUNOS_Auto_Test_2G')
        gfx.address_3()
    except Exception, msg:
        logger.debug('Exception:%s' % msg)
        stauts = False
def main():
    stauts = True
    try:
        video.video_set_up('animal.mp4')
        base.unlock()
        gfx.set_up('YUNOS_Auto_Test_2G')
        gfx.address_4()
        gfx.start_address_4(50)
        ##########
        video.launch_video()
        time.sleep(1)
        video.check_push_video()
        video.play_video_assign('text="animal"')
        time.sleep(80)
        base.exit_app()

    except Exception, msg:
        logger.debug('Exception:%s' % msg)
        stauts = False
예제 #3
0
def main():
    stauts = True
    try:
        video.video_set_up('animal.mp4')
        base.unlock()
        gfx.set_up('YUNOS_Auto_Test_2G')
        gfx.address_1()
        time.sleep(1)
        gfx.add_web_package()
        gfx.address_2()
        ##########################
        ##play video with 3d high rate video
        video.launch_video()
        time.sleep(1)
        video.check_push_video()
        video.play_video_assign('text="animal"')
        time.sleep(80)
        base.exit_app()
    except Exception, msg:
        logger.debug('Exception:%s' % msg)
        stauts = False