Esempio n. 1
0
        public void ValidateEmalId()
        {
            DemoMainPageService.ClickOnDemo();
            PersonalityTestPageService.SetEmail("*****@*****.**");
            string email   = PersonalityTestPageService.getEmailAddress();
            int    atIndex = email.IndexOf("@");

            Assert.True(atIndex > 1 && atIndex < (email.Length - 1));
        }