Esempio n. 1
0
        public void SignIn()
        {
            var homepage = MyAppWebApp.Open();

            homepage.WaitLoading();
            var signin = homepage.ClickSignIn();

            signin.EnterEmail.SendKeys("*****@*****.**");
            signin.EnterPassword.SendKeys("mark1990");
            signin.ClickSigninbutton();
        }
Esempio n. 2
0
        public void Register()
        {
            var homepage = MyAppWebApp.Open();

            homepage.WaitLoading();
            var registerpage = homepage.ClickRegister();

            registerpage.EnterFirstName.SendKeys("Mark");
            registerpage.EnterLastName.SendKeys("Boucher");
            registerpage.SelectCountry.SelectByText("India");
            registerpage.EnterAddress.SendKeys("36/2 Lord Grandson Road, Colorado");
            registerpage.EnterContactNo.SendKeys("9856320140");
            registerpage.EnterDateOfBirth.SendKeys("20-09-1990");
            registerpage.EnterContactNo.Click();
            registerpage.EnterEmail.SendKeys("*****@*****.**");
            registerpage.EnterPassword.SendKeys("mark1990");
            registerpage.EnterConfirmPassword.SendKeys("mark1990");

            registerpage.ClickCreateProfile();
        }