public void SecretRelationship_Unbind_WeiBo() { string filePath = PortalChromeDriver.CreateFolder(@"拼颜值\检查在没有关闭拼颜值功能的情况下,解绑小冰该功能是否被关闭"); LoginPage_Weibo.Unbundling(); MobileAndroidDriver.AndroidInitialize_Weibo(); Mobile_Weibo_Utility.Follow(); Mobile_Weibo_Utility.SendMessage("关系识别"); Assert.IsTrue(Mobile_Weibo_Utility.GetLatestMessage().Text.Contains("关系识别")); }
public void LoginWith_Inner_AddWeibo() { LoginPage_Weibo.Unbundling(); MobileAndroidDriver.AndroidMmsInitialize(); LoginPage.LoginWithPhoneNumber("13269120258"); Thread.Sleep(10 * 1000); Mobile.Mobile_WeChat_Utility.GetLoginCode(); LoginPage_Weibo.AddWeiboAccount(); PortalChromeDriver.TakeScreenShot("手机号码获取登陆密码进行登陆"); Assert.IsTrue(LoginPage_Weibo.GetApp("啊_荀")); }