public static void ClassInit(TestContext testContext) { _sessionId = Guid.NewGuid().ToString(); TestContextManager = new TestContextManager.TestContextManager(); TestUser = TestContextManager.GetTestUser("*****@*****.**"); TestUserAccount = TestContextManager.CreateAccount(TestUser.Email, TestUser.Password); }
public static void ClassInit(TestContext testContext) { _sessionId = Guid.NewGuid().ToString(); TestContextManager = new TestContextManager.TestContextManager(); TestUser = TestContextManager.GetTestUser("*****@*****.**"); //Rename to [email protected] TestUserAccount = TestContextManager.CreateAccount(TestUser.Email, TestUser.Password); TestRequest = TestContextManager.GetTestRequest(TestUserAccount.AccountId); TestRequest.TravelDate = DateTime.Today.AddDays(60).ToString("MM/dd/yyyy", CultureInfo.InvariantCulture.DateTimeFormat); TestRequest.FromAirport = "BOM"; TestRequest.ToAirport = "DEL"; string[] requestArgs = TestContextManager.SaveRequest(TestRequest); _testRequestId = requestArgs[0]; _testRequestNumber = requestArgs[1]; }
public static void ClassInit(TestContext testContext) { _sessionId = Guid.NewGuid().ToString(); TestContextManager = new TestContextManager.TestContextManager(); }