// ------------------------------------------------------------------------------
//  <auto-generated>
//      This code was generated by coded UI test builder.
//      Version: 11.0.0.0
//
//      Changes to this file may cause incorrect behavior and will be lost if
//      the code is regenerated.
//  </auto-generated>
// ------------------------------------------------------------------------------

namespace CodedUITestProject20
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.Drawing;
    using System.Text.RegularExpressions;
    using System.Windows.Input;
    using Microsoft.VisualStudio.TestTools.UITest.Extension;
    using Microsoft.VisualStudio.TestTools.UITesting;
    using Microsoft.VisualStudio.TestTools.UITesting.WpfControls;
    using Microsoft.VisualStudio.TestTools.UnitTesting;
    using Keyboard = Microsoft.VisualStudio.TestTools.UITesting.Keyboard;
    using Mouse = Microsoft.VisualStudio.TestTools.UITesting.Mouse;
    using MouseButtons = System.Windows.Forms.MouseButtons;
    
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public partial class UIMap
    {
        
        /// <summary>
        /// RecordedMethod1
        /// </summary>
        public void RecordedMethod1()
        {
            #region Variable Declarations
            WpfButton uILiverpoolButton = this.UIMainWindowWindow.UIClubsGridTable.UILiverpoolRow.UILiverpoolCell.UILiverpoolButton;
            WpfButton uIManchesterUtdButton = this.UIMainWindowWindow.UIClubsGridTable.UIManchesterUtdRow.UIManchesterUtdCell.UIManchesterUtdButton;
            WpfButton uIChelseaButton = this.UIMainWindowWindow.UIClubsGridTable.UIChelseaRow.UIChelseaCell.UIChelseaButton;
            WpfButton uIArsenalButton = this.UIMainWindowWindow.UIClubsGridTable.UIArsenalRow.UIArsenalCell.UIArsenalButton;
            #endregion

            // Click 'Liverpool' button
            Mouse.Click(uILiverpoolButton, new Point(48, 10));

            // Click 'Manchester Utd.' button
            Mouse.Click(uIManchesterUtdButton, new Point(40, 13));

            // Click 'Chelsea' button
            Mouse.Click(uIChelseaButton, new Point(44, 5));

            // Click 'Arsenal' button
            Mouse.Click(uIArsenalButton, new Point(45, 13));
        }
        
        #region Properties
        public UIMainWindowWindow UIMainWindowWindow
        {
            get
            {
                if ((this.mUIMainWindowWindow == null))
                {
                    this.mUIMainWindowWindow = new UIMainWindowWindow();
                }
                return this.mUIMainWindowWindow;
            }
        }
        #endregion
        
        #region Fields
        private UIMainWindowWindow mUIMainWindowWindow;
        #endregion
    }
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class UIMainWindowWindow : WpfWindow
    {
        
        public UIMainWindowWindow()
        {
            #region Search Criteria
            this.SearchProperties[WpfWindow.PropertyNames.Name] = "MainWindow";
            this.SearchProperties.Add(new PropertyExpression(WpfWindow.PropertyNames.ClassName, "HwndWrapper", PropertyExpressionOperator.Contains));
            this.WindowTitles.Add("MainWindow");
            #endregion
        }
        
        #region Properties
        public UIClubsGridTable UIClubsGridTable
        {
            get
            {
                if ((this.mUIClubsGridTable == null))
                {
                    this.mUIClubsGridTable = new UIClubsGridTable(this);
                }
                return this.mUIClubsGridTable;
            }
        }
        #endregion
        
        #region Fields
        private UIClubsGridTable mUIClubsGridTable;
        #endregion
    }
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class UIClubsGridTable : WpfTable
    {
        
        public UIClubsGridTable(UITestControl searchLimitContainer) : 
                base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WpfTable.PropertyNames.AutomationId] = "clubsGrid";
            this.WindowTitles.Add("MainWindow");
            #endregion
        }
        
        #region Properties
        public UILiverpoolRow UILiverpoolRow
        {
            get
            {
                if ((this.mUILiverpoolRow == null))
                {
                    this.mUILiverpoolRow = new UILiverpoolRow(this);
                }
                return this.mUILiverpoolRow;
            }
        }
        
        public UIManchesterUtdRow UIManchesterUtdRow
        {
            get
            {
                if ((this.mUIManchesterUtdRow == null))
                {
                    this.mUIManchesterUtdRow = new UIManchesterUtdRow(this);
                }
                return this.mUIManchesterUtdRow;
            }
        }
        
        public UIChelseaRow UIChelseaRow
        {
            get
            {
                if ((this.mUIChelseaRow == null))
                {
                    this.mUIChelseaRow = new UIChelseaRow(this);
                }
                return this.mUIChelseaRow;
            }
        }
        
        public UIArsenalRow UIArsenalRow
        {
            get
            {
                if ((this.mUIArsenalRow == null))
                {
                    this.mUIArsenalRow = new UIArsenalRow(this);
                }
                return this.mUIArsenalRow;
            }
        }
        #endregion
        
        #region Fields
        private UILiverpoolRow mUILiverpoolRow;
        
        private UIManchesterUtdRow mUIManchesterUtdRow;
        
        private UIChelseaRow mUIChelseaRow;
        
        private UIArsenalRow mUIArsenalRow;
        #endregion
    }
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class UILiverpoolRow : WpfRow
    {
        
        public UILiverpoolRow(UITestControl searchLimitContainer) : 
                base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WpfRow.PropertyNames.AutomationId] = "Row_0";
            this.SearchConfigurations.Add(SearchConfiguration.AlwaysSearch);
            this.WindowTitles.Add("MainWindow");
            #endregion
        }
        
        #region Properties
        public UILiverpoolCell UILiverpoolCell
        {
            get
            {
                if ((this.mUILiverpoolCell == null))
                {
                    this.mUILiverpoolCell = new UILiverpoolCell(this);
                }
                return this.mUILiverpoolCell;
            }
        }
        #endregion
        
        #region Fields
        private UILiverpoolCell mUILiverpoolCell;
        #endregion
    }
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class UILiverpoolCell : WpfCell
    {
        
        public UILiverpoolCell(UITestControl searchLimitContainer) : 
                base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WpfCell.PropertyNames.ColumnHeader] = " ";
            this.SearchProperties[WpfCell.PropertyNames.AutomationId] = "Cell_0_0";
            this.WindowTitles.Add("MainWindow");
            #endregion
        }
        
        #region Properties
        public WpfButton UILiverpoolButton
        {
            get
            {
                if ((this.mUILiverpoolButton == null))
                {
                    this.mUILiverpoolButton = new WpfButton(this);
                    #region Search Criteria
                    this.mUILiverpoolButton.SearchProperties[WpfButton.PropertyNames.AutomationId] = "CellElement_0_0";
                    this.mUILiverpoolButton.WindowTitles.Add("MainWindow");
                    #endregion
                }
                return this.mUILiverpoolButton;
            }
        }
        #endregion
        
        #region Fields
        private WpfButton mUILiverpoolButton;
        #endregion
    }
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class UIManchesterUtdRow : WpfRow
    {
        
        public UIManchesterUtdRow(UITestControl searchLimitContainer) : 
                base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WpfRow.PropertyNames.AutomationId] = "Row_1";
            this.SearchConfigurations.Add(SearchConfiguration.AlwaysSearch);
            this.WindowTitles.Add("MainWindow");
            #endregion
        }
        
        #region Properties
        public UIManchesterUtdCell UIManchesterUtdCell
        {
            get
            {
                if ((this.mUIManchesterUtdCell == null))
                {
                    this.mUIManchesterUtdCell = new UIManchesterUtdCell(this);
                }
                return this.mUIManchesterUtdCell;
            }
        }
        #endregion
        
        #region Fields
        private UIManchesterUtdCell mUIManchesterUtdCell;
        #endregion
    }
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class UIManchesterUtdCell : WpfCell
    {
        
        public UIManchesterUtdCell(UITestControl searchLimitContainer) : 
                base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WpfCell.PropertyNames.ColumnHeader] = " ";
            this.SearchProperties[WpfCell.PropertyNames.AutomationId] = "Cell_1_0";
            this.WindowTitles.Add("MainWindow");
            #endregion
        }
        
        #region Properties
        public WpfButton UIManchesterUtdButton
        {
            get
            {
                if ((this.mUIManchesterUtdButton == null))
                {
                    this.mUIManchesterUtdButton = new WpfButton(this);
                    #region Search Criteria
                    this.mUIManchesterUtdButton.SearchProperties[WpfButton.PropertyNames.AutomationId] = "CellElement_1_0";
                    this.mUIManchesterUtdButton.WindowTitles.Add("MainWindow");
                    #endregion
                }
                return this.mUIManchesterUtdButton;
            }
        }
        #endregion
        
        #region Fields
        private WpfButton mUIManchesterUtdButton;
        #endregion
    }
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class UIChelseaRow : WpfRow
    {
        
        public UIChelseaRow(UITestControl searchLimitContainer) : 
                base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WpfRow.PropertyNames.AutomationId] = "Row_2";
            this.SearchConfigurations.Add(SearchConfiguration.AlwaysSearch);
            this.WindowTitles.Add("MainWindow");
            #endregion
        }
        
        #region Properties
        public UIChelseaCell UIChelseaCell
        {
            get
            {
                if ((this.mUIChelseaCell == null))
                {
                    this.mUIChelseaCell = new UIChelseaCell(this);
                }
                return this.mUIChelseaCell;
            }
        }
        #endregion
        
        #region Fields
        private UIChelseaCell mUIChelseaCell;
        #endregion
    }
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class UIChelseaCell : WpfCell
    {
        
        public UIChelseaCell(UITestControl searchLimitContainer) : 
                base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WpfCell.PropertyNames.ColumnHeader] = " ";
            this.SearchProperties[WpfCell.PropertyNames.AutomationId] = "Cell_2_0";
            this.WindowTitles.Add("MainWindow");
            #endregion
        }
        
        #region Properties
        public WpfButton UIChelseaButton
        {
            get
            {
                if ((this.mUIChelseaButton == null))
                {
                    this.mUIChelseaButton = new WpfButton(this);
                    #region Search Criteria
                    this.mUIChelseaButton.SearchProperties[WpfButton.PropertyNames.AutomationId] = "CellElement_2_0";
                    this.mUIChelseaButton.WindowTitles.Add("MainWindow");
                    #endregion
                }
                return this.mUIChelseaButton;
            }
        }
        #endregion
        
        #region Fields
        private WpfButton mUIChelseaButton;
        #endregion
    }
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class UIArsenalRow : WpfRow
    {
        
        public UIArsenalRow(UITestControl searchLimitContainer) : 
                base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WpfRow.PropertyNames.AutomationId] = "Row_3";
            this.SearchConfigurations.Add(SearchConfiguration.AlwaysSearch);
            this.WindowTitles.Add("MainWindow");
            #endregion
        }
        
        #region Properties
        public UIArsenalCell UIArsenalCell
        {
            get
            {
                if ((this.mUIArsenalCell == null))
                {
                    this.mUIArsenalCell = new UIArsenalCell(this);
                }
                return this.mUIArsenalCell;
            }
        }
        #endregion
        
        #region Fields
        private UIArsenalCell mUIArsenalCell;
        #endregion
    }
    
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class UIArsenalCell : WpfCell
    {
        
        public UIArsenalCell(UITestControl searchLimitContainer) : 
                base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WpfCell.PropertyNames.ColumnHeader] = " ";
            this.SearchProperties[WpfCell.PropertyNames.AutomationId] = "Cell_3_0";
            this.WindowTitles.Add("MainWindow");
            #endregion
        }
        
        #region Properties
        public WpfButton UIArsenalButton
        {
            get
            {
                if ((this.mUIArsenalButton == null))
                {
                    this.mUIArsenalButton = new WpfButton(this);
                    #region Search Criteria
                    this.mUIArsenalButton.SearchProperties[WpfButton.PropertyNames.AutomationId] = "CellElement_3_0";
                    this.mUIArsenalButton.WindowTitles.Add("MainWindow");
                    #endregion
                }
                return this.mUIArsenalButton;
            }
        }
        #endregion
        
        #region Fields
        private WpfButton mUIArsenalButton;
        #endregion
    }
}
