Пример #1
0
        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);
        }
Пример #2
0
 /// <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);
 }
Пример #3
0
 static void Main(string[] args)
 {
     using (UITestInterpreter uitInterpreter = new UITestInterpreter(UITest.Create(args[0]))) {
         uitInterpreter.ExecuteTest();
     }
 }