// Perry Hunter 07/10/2013
        /// <summary>
        /// Selects the Home tab in either the AWG or Functions mode windows
        /// </summary>
        public static void SelectTheHomeTab()
        {
            //Check the selected state of the AWG radiobutton, that will tell which "Home" tab needs to be selected
            RadioButton _radioButton = AWGUI.currentMainWindow.Get <RadioButton>(SearchCriteria.ByAutomationId(AWGUI.AwgButton));

            Assert.IsNotNull(_radioButton, "Requested " + AWGUI.AwgButton + " radio button was not found"); //Die if you did not find it

            //Decide which Home tab to select based on the radio button IsSelected state
            string _tabName = AWGUI.AWGHomeWindow;

            if (_radioButton.IsSelected == false)
            {
                _tabName = AWGUI.FGHomeWindow;
            }

            //Select the tab
            AwgUITabControls.SelectMainTabControl(_tabName);
        }
        // Perry Hunter 06/10/2013
        /// <summary>
        /// Selects the File button in the AWG main window
        /// </summary>

        public static void SelectTheFileAndUtilitiesTab()
        {
            AwgContextFunctions.SetContextToTopLevel();
            AwgUITabControls.SelectMainTabControl(AWGUI.FileAndUtilitiesWindow);
            AwgContextFunctions.SetContextToFileAndUtilities();
        }
 // Perry Hunter 07/10/2013
 /// <summary>
 /// Selects the Setup tab in the AWG main window
 /// </summary>
 /// <param name="AwgSetupTab">The constant defined in UI map for the Functions radiobutton</param>
 public static void SelectTheSetupTab()
 {
     AwgUITabControls.SelectMainTabControl(AWGUI.AwgSetupTab);
 }