public void Start()
        {
            if (Map != null)
                return;

            var appUrl = ConfigurationManager.AppSettings["AppUrl"];

            if(!Playback.IsInitialized)
                Playback.Initialize();
            Map = new SearchMap(appUrl);

            Trace("CodedUI initialized");
        }
        public void Stop()
        {
            if (Map == null)
                return;

            try
            {
                Playback.Cleanup();
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex, "CodedUI stop error");
            }
            Map = null;
            Trace("CodedUI stopped");
        }