public virtual MainScreen SetUp(InitializeOption initializeOption) { WinFormTestConfiguration configuration = new WinFormTestConfiguration(string.Empty); application = configuration.Launch(); ScreenRepository screenRepository = new ScreenRepository(application.ApplicationSession); mainScreen = screenRepository.Get<MainScreen>("Form1", initializeOption); return mainScreen; }
public void FixtureSetup() { var configuration = new WinFormTestConfiguration(string.Empty); application = configuration.Launch(); window = application.GetWindow("Form1"); }