private void LogSwModelVersion() { if (!versionLogged) { var assembly = Assembly.GetExecutingAssembly(); Tester.Log("* SW Model Name: " + assembly.GetCustomAttribute <AssemblyTitleAttribute>().Title); Tester.Log("* SW Model Version: " + BaseModelHelpers.GetVersionString(assembly.GetName().Version)); versionLogged = true; } }
public WikipediaApp(ITester t) { Tester = t; SystemHelpers = new SystemHelpers(t); // Log version of all required models LogSwModelVersion(); SystemHelpers.LogEnvironmentModelVersion(); BaseModelHelpers.LogBaseModelVersion(t); // Initialize Application Settings AppSettings = new Dictionary <string, string>(); // Set this to the culture of the environment that will be used SutLocale = new SutLocale(t, SystemHelpers, "en-CH"); Browser = new Browser(t, SystemHelpers); Browser.Activate(); InitScreens(); }