public void StartUp() { extent = new ExtentReportsHelper(); extent.CreateTest(TestContext.CurrentContext.Test.Name); ResolveDependency.RegisterAndResolveDependencies(); Session.StartBrowser(); extent.SetStepStatusPass("Successfully opened browser session"); }
// This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) { services.AddControllers(); ResolveDependency.Resolve(services); }
public void StartUp() { ResolveDependency.RegisterAndResolveDependencies(); Session.StartBrowser(); }