Esempio n. 1
0
    def test_gallery_giveup(self):
        tc = PATH("../yamls/iOS/test_gallery/test_gallery_giveup.yaml")
        self.repalce(tc, tc_temp)
        app = {"logTest": self.logTest, "driver": self.driver, "path": tc_temp,
               "device": self.udid, "platformName": self.platformName, "caseName": sys._getframe().f_code.co_name}

        page = PageOperate(app)
        page.operate()
        page.checkPoint()
Esempio n. 2
0
    def test_settings_comm(self):
        tc = PATH("../../yamls/Android/test_settings/test_settings_comm.yaml")
        self.repalce(tc, tc_temp)
        app = {
            "logTest": self.logTest,
            "driver": self.driver,
            "path": tc_temp,
            "device": self.udid,
            "platformName": self.platformName,
            "caseName": sys._getframe().f_code.co_name
        }

        page = PageOperate(app)
        page.operate()
        page.checkPoint()