private static UITest InitializeTestLibs() { UIMap newMap = new UIMap(); Playback.Initialize(); UITest uiTest = UITest.Create(Application.StartupPath + UITEST_FILENAME); newMap.Id = "UIMap"; uiTest.Maps.Add(newMap); return(uiTest); }
/// <summary> /// Loads UIMap from specified file /// </summary> /// <param name="fileName">Name of the file.</param> /// <returns></returns> public void Load(string fileName) { this.UITest = UITest.Create(fileName); }
static void Main(string[] args) { using (UITestInterpreter uitInterpreter = new UITestInterpreter(UITest.Create(args[0]))) { uitInterpreter.ExecuteTest(); } }