public void Automate() { CoreAppXmlConfiguration.Instance.LoggerFactory = new ConsoleFactory(LoggerLevel.Debug); var frameworksToRun = SupportedFrameworks(); foreach (var framework in frameworksToRun) { currentFramework = framework; using (SetMainWindow(framework)) { try { ExecuteTestRun(framework); } catch (TestFailedException) { throw; } catch (Exception ex) { throw new TestFailedException(string.Format("Failed to run test for {0}", framework), ex); } } } currentFramework = null; }
public ControlTypeMappingAttribute(CustomUIItemType customUIItemType, WindowsFramework appliesToFramework) { this.customUIItemType = customUIItemType; this.appliesToFramework = appliesToFramework; }