public static void ResetKeyboard(string keyboard)
 {
     Mobile_WeChat_Utility.BackToHome();
     MobileAndroidDriver.GetElementByXpath("//android.widget.FrameLayout[contains(@content-desc,'设置')]").Click();
     FaceRankingMobilePage_WeChat.SwipeSetting();
     MobileAndroidDriver.ClickElemnetPerName("语言和输入法");
     MobileAndroidDriver.ClickElemnetPerName("当前输入法");
     MobileAndroidDriver.ClickElemnetPerName(keyboard);
     Mobile_WeChat_Utility.BackToHome();
     OpenWeChatFromHome();
 }
 public static void ShareToWeChat()
 {
     try
     {
         MobileAndroidDriver.GetElementByXpath(FaceRankingMobileElement.Weibo_More).Click();
         MobileAndroidDriver.ClickElemnetPerName(FaceRankingMobileElement.WeChat_Moment);
         MobileAndroidDriver.ClickElemnetPerName(FaceRankingMobileElement.Send);
         Mobile_WeChat_Utility.BackToHome();
         MobileAndroidDriver.androidDriver.Dispose();
         MobileAndroidDriver.AndroidInitialize();
         MobileAndroidDriver.ClickElemnetPerName(MobileCommonElement_WeChat.Discover);
         MobileAndroidDriver.ClickElemnetPerName(MobileCommonElement_WeChat.Moments);
         MobileAndroidDriver.GetElementByXpath(FaceRankingMobileElement.Webo_Share).Click();
     }
     catch (Exception e)
     {
     }
 }