コード例 #1
0
 public void StartUp()
 {
     extent = new ExtentReportsHelper();
     extent.CreateTest(TestContext.CurrentContext.Test.Name);
     ResolveDependency.RegisterAndResolveDependencies();
     Session.StartBrowser();
     extent.SetStepStatusPass("Successfully opened browser session");
 }
コード例 #2
0
 // 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);
 }
コード例 #3
0
 public void StartUp()
 {
     ResolveDependency.RegisterAndResolveDependencies();
     Session.StartBrowser();
 }