Exemplo n.º 1
0
        public XUnitTestBase()
        {
            VaftContext = new VaftTestContext
            {
                ClassName = "NoneAvailable"
            };

            VaftLog         = VaftLogInitializer.Run();
            Config.Settings = new ConfigurationSettings();
            //RunBeforeBrowserOpens();
            LaunchWebBrowser();
        }
Exemplo n.º 2
0
        public void SetUpWebDriver()
        {
            VaftContext = new VaftTestContext
            {
                ClassName  = TestContext.FullyQualifiedTestClassName,
                MethodName = TestContext.TestName
            };

            VaftLog         = VaftLogInitializer.Run();
            Config.Settings = new ConfigurationSettings();
            RunBeforeBrowserOpens();
            LaunchWebBrowser();
        }
Exemplo n.º 3
0
        public void SetUpWebDriver()
        {
            VaftContext = new VaftTestContext
            {
                ClassName = TestContext.CurrentContext.Test.Name
            };

            VaftLog = VaftLogInitializer.Run();
            Log.Debug("----- TEST STARTED -----");

            Config.Settings = new ConfigurationSettings();
            RunBeforeBrowserOpens();
            LaunchWebBrowser();
        }
Exemplo n.º 4
0
 public static void SetUpWebDriver()
 {
     VaftLog = VaftLogInitializer.Run();
 }
Exemplo n.º 5
0
 public static IVaftLogger Initialize()
 {
     return(_vaftLogger ?? (_vaftLogger = new VaftLogger()));
 }