示例#1
0
文件: MyAccount.cs 项目: orest77/Test
        //private MyAccount() { }

        public static MyAccount MyAccountMenu()
        {
            Thread.Sleep(1000);
            if (IsLogedIn())
            {
                Account = new NotLoginedUserAcountElements();
            }
            else
            {
                Account = new LoginedUSerAcountElements();
            }
            return(Account);
        }
示例#2
0
文件: MyAccount.cs 项目: orest77/Test
 public MyAccountPage MyAccountClick()
 {
     MyAccount.Click();
     return(new MyAccountPage());
 }
示例#3
0
 public MyAccount MyAccountButtonClick()
 {
     MyAccountButton.Click();
     Thread.Sleep(500);
     return(MyAccount.MyAccountMenu());
 }