public void Can_secretRelationship_TurnOff_Weibo() { string filePath = PortalChromeDriver.CreateFolder(@"关系识别\停用'关系识别'功能后,输入含有'关系识别'的文本消息或点击相应link,是否能够触发该功能"); Utility.TurnOff(); Thread.Sleep(2 * 1000); Assert.IsTrue(!Utility.IsTurnOn()); MobileAndroidDriver.AndroidInitialize_Weibo(); Mobile_Weibo_Utility.Follow(); Mobile_WeChat_Utility.SendMessageWithMenu("关系识别"); Thread.Sleep(2 * 1000); //Assert.IsTrue(Mobile_WeChat_Utility.GetLatestMessage("管理员"), "'拼颜值trigger'"); Assert.IsTrue(Mobile_Weibo_Utility.GetLatestMessage().Text.Contains("关闭")); FaceRankingMobilePage_WeChat.ClickFaceRanking(); Assert.IsTrue(!Mobile_WeChat_Utility.IsAtPerClassName("android.widget.Button"), "点击拼颜值menu"); }