Example #1
0
        public void SetupTest(TestEnvInfo testEnvInfo)
        {
            StringBuilder verificationErrors = new StringBuilder();

            verificationErrors.AppendLine(System.Environment.NewLine);
            verificationErrors.AppendLine("#####################  Test Header ####################");
            verificationErrors.AppendLine(" baseURL:            " + testEInfo.testClassName);
            verificationErrors.AppendLine(" baseURL:            " + testEnvInfo.baseURL);
            verificationErrors.AppendLine(" GUID:               " + testEnvInfo.guid);
            verificationErrors.AppendLine(" CurrentBrowser:     " + testEnvInfo.parentBrowser);
            verificationErrors.AppendLine(" TestUser:           "******" TestPassword:       "******" TestEmail:          " + testEnvInfo.email);
            verificationErrors.AppendLine(" Timeout:            " + testEnvInfo.implicitTimeout + " sec");
            verificationErrors.AppendLine(" StartTime:          " + DateTime.Now.ToString());
            verificationErrors.AppendLine("#######################################################");
            //loggerInfo loggerInfo = new WDGL.loggerInfo();

            // // loggerInfo.Instance.LogInfo(verificationErrors.ToString());
            // // loggerInfo.Instance.LogInfo("Start SetupTest");
            //StartRecordingVideo();
            _driver = testEnvInfo.StartDriver();
            //_driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(Convert.ToInt16(testEnvInfo.implicitTimeout)));
            string baseURL = testEnvInfo.GetURL();
        }