예제 #1
0
        public static void SetTheme(string path)
        {
            ThemesPage tp = new ThemesPage();

            tp.LinkSetThemes.Click();
            tp.ButtonMyPhoto.Click();
            tp.ChangeWindow();
            tp.ButtonUploadPhoto.Click();
            tp.ButtonSelectedPhotoFromComputer.Click();
            Attachment.AttachFile(path);
        }
예제 #2
0
        public static void SendMassageWithAttach(string name, string title, string text, string path)
        {
            InBoxPage inp = new InBoxPage();

            inp.ButtonCompose.Click();
            inp.TbRecipient.ClearAndType(name);
            inp.TbSubject.ClearAndType(title);
            inp.TbText.ClearAndType(text);
            inp.ButtonAttach.Click();
            Attachment.AttachFile(path);
            inp.ButtonSend.Click();
        }