Ejemplo n.º 1
0
        public void WhenLoginWithValidCredentials()
        {
            var readMyFile = new Framework.ReadConfigFile();
            var AmazonTest = new Framework.WebPageInteraction();

            StrUserEmail    = readMyFile.ReadData("Email");
            StrUserPassword = readMyFile.ReadData("Password");
            AmazonTest.LoginWithValidCreds(StrUserEmail, StrUserPassword, driver);
        }
Ejemplo n.º 2
0
 public void GivenGoToAmazon_Com_Mx()
 {
     try
     {
         var readMyFile = new Framework.ReadConfigFile();
         var AmazonTest = new Framework.WebPageInteraction();
         StrWebSite = readMyFile.ReadData("WebSite");
         AmazonTest.GotoWebSite(driver, StrWebSite);
     }
     catch (Exception ex)
     {
         Console.WriteLine("Error: {0}", ex.Message);
     }
 }