Beispiel #1
0
        public void AutoReply_ClearAll_TurnOff()
        {
            string filePath = PortalChromeDriver.CreateFolder(@"自动回复\老用户删除所有创建的规则后,停用并且启用关键词回复功能");

            AutoReplyPage.TurnOffAutoReply();

            MobileAndroidDriver.AndroidInitialize();
            Mobile_WeChat_Utility.FollowWeChatOffcialAccount();
            //MobileH5.GetToTestAccount();
            Mobile_WeChat_Utility.ResetKeyboard("Appium Android Input Manager for Unicode");
            Mobile_WeChat_Utility.SendMessageWithMenu("a");
            MobileAndroidDriver.GetScreenshot(filePath, "H5关键词精确匹配");
            Assert.IsTrue(!Mobile_WeChat_Utility.GetLatestMessage("[平台测试账号2]说:"));
        }