Ejemplo n.º 1
0
        public void OnReset()
        {
            DemoMainPageService.ClickOnDemo();
            string curUrl = SiteDriver.GetCurrentUrl();

            PersonalityTestPageService.SetFullName("Shreya Shrestha");
            PersonalityTestPageService.SelectGender();
            PersonalityTestPageService.SetEmail("*****@*****.**");
            PersonalityTestPageService.SetPassword("jakdjflkajfdk");
            PersonalityTestPageService.SetCity("Kathmandu");
            PersonalityTestPageService.ClickResetButton();
            string diffUrl = SiteDriver.GetCurrentUrl();

            Assert.True(curUrl == diffUrl);
        }