public void FaceRanking_QRCode_Available() { string filePath = PortalChromeDriver.CreateFolder(@"拼颜值\检查手机端拼颜值页面下面的二位码是否可以正常使用"); MobileAndroidDriver.AndroidInitialize(); Mobile_WeChat_Utility.FollowWeChatOffcialAccount(); FaceRankingMobilePage_WeChat.ClickFaceRanking(); FaceRankingMobilePage_WeChat.ClickQRCode(); MobileAndroidDriver.GetScreenshot(filePath, "点击二维码是否进入公众号"); Assert.IsTrue(Mobile_WeChat_Utility.IsAtPerName(Mobile.UIElement.FaceRankingMobileElement.Menuitem)); FaceRankingMobilePage_WeChat.ClickFaceRanking(); FaceRankingMobilePage_WeChat.FaceRankingFromFile(SecretRelationshipTest.美男美女); MobileAndroidDriver.GetScreenshot(filePath, "二维码进去公众号后是否能正常使用拼颜值"); Assert.IsTrue(Mobile_WeChat_Utility.IsAtPerXpath(Mobile.UIElement.FaceRankingMobileElement.Comment), "二维码进去公众号后是否能正常使用拼颜值"); }