private ILoginable GetCurrentUserFromData(string prefix)
        {
            ILoginable user = new UserEntity
            {
                Email    = ResourceManagerUtils.GetCurrentEnvironmentData(prefix + "_email"),
                Password = ResourceManagerUtils.GetCurrentEnvironmentData(prefix + "_password")
            };

            return(user);
        }
        public static MessageEntity GetDefaultMessageInfo()
        {
            MessageEntity message = new MessageEntity
            {
                Reciever = ResourceManagerUtils.GetCurrentEnvironmentData("email"),
                Text     = ResourceManagerUtils.GetCurrentEnvironmentData("message_text"),
                Theme    = ResourceManagerUtils.GetCurrentEnvironmentData("message_theme")
            };

            return(message);
        }
Exemplo n.º 3
0
 public override void OpenPage()
 {
     DriverHelper.GoToUrl(ResourceManagerUtils.GetCurrentEnvironmentData("url"));
 }