Exemplo n.º 1
0
        public static string Run()
        {
            NavigateToSite();
            var CurrentPage1 = new HomePage().GetInstance3 <HomePage>();

            CurrentPage1.As <HomePage>().ClickContactUsbutton();

            var CurrentPage2 = new ContactUsPage().GetInstance3 <ContactUsPage>();

            CurrentPage2.As <ContactUsPage>().FillContactUsForm("Customer service", "*****@*****.**", "123", @"C:\Test.txt", "message 123");

            return(CurrentPage2.As <ContactUsPage>().getConfirmationMessageText());
        }