class CheckMustPage:
    def __init__(self):
        self.com = CommonFunctions_wll()

    def Check_Mustpage(self):
        return self.com.run_test_case(lambda: self.com.launch_app(),
                                      lambda: self.com.Launch_LabelPage(u'必备'))
class LoadMustapp:
    def __init__(self):
        self.com = CommonFunctions_wll()

    def Load_Must_app(self):
        return self.com.run_test_case(lambda: self.com.launch_app(),
                                      lambda: self.com.Launch_LabelPage(u'必备'),
                                      lambda: self.com.swipe_page_to_end())
class CheckDownloadmustapp:
    def __init__(self):
        self.com = CommonFunctions_wll()

    def Download_must_app(self):
        return self.com.run_test_case(lambda: self.com.launch_app(),
                                      lambda: self.com.Launch_LabelPage(u"必备"),
                                      lambda: self.com.Check_App_Status(),
                                      lambda: self.com.Check_Downloading(),
                                      lambda: self.com.Check_Installing())
class CheckDownloadadapp:

    def __init__(self):
        self.com = CommonFunctions_wll()

    def Check_Download_ad_app(self):
        return self.com.run_test_case(lambda: self.com.launch_app(),
                                      lambda: self.com.Check_ad_Page(),
                                      lambda: self.com.Check_App_Status(),
                                      lambda: self.com.Check_Downloading(),
                                      lambda: self.com.Check_Installing())