﻿using Microsoft.VisualStudio.TestTools.UITesting;
using Microsoft.VisualStudio.TestTools.UITesting.HtmlControls;
using Microsoft.VisualStudio.TestTools.UITesting.WinControls;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Input;
using Zetalogic.InMoBan.Auxiliar;
using Keyboard = Microsoft.VisualStudio.TestTools.UITesting.Keyboard;
using Mouse = Microsoft.VisualStudio.TestTools.UITesting.Mouse;
using MouseButtons = System.Windows.Forms.MouseButtons;

namespace Zetalogic.InMoBan.Vs2013Ult.Ing
{
    /// <summary>
    /// Summary description for CodedUITest1
    /// </summary>
    [CodedUITest]
    public class RastreadorIng
    {
        Operacion operacion;

        public RastreadorIng(Operacion LaOperacion)
        {
            this.operacion = LaOperacion;
        }


        [TestMethod]
        public void CodedUITestIng()
        {
            this.UIMap.GrabacionDescargaFicherosIng(this.operacion);
         }

        #region Additional test attributes

        // You can use the following additional attributes as you write your tests:

        ////Use TestInitialize to run code before running each test 
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{        
        //    // To generate code for this test, select "Generate Code for Coded UI Test" from the shortcut menu and select one of the menu items.
        //}

        ////Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{        
        //    // To generate code for this test, select "Generate Code for Coded UI Test" from the shortcut menu and select one of the menu items.
        //}

        #endregion

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }
        private TestContext testContextInstance;

        public UIMap UIMap
        {
            get
            {
                if ((this.map == null))
                {
                    this.map = new UIMap();
                }

                return this.map;
            }
        }

        private UIMap map;
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIMap
    {

        /// <summary>
        /// GrabacionDescargaFicherosIng - Use 'GrabacionDescargaFicherosIngParams' to pass parameters into this method.
        /// </summary>
        public void GrabacionDescargaFicherosIng(Operacion LaOperacion)
        {
            #region Variable Declarations
            HtmlHyperlink uIMovimientosHyperlink = this.UIINGDirectInternetExpWindow.UIINGDirectDocument.UIMovimientosHyperlink;
            HtmlHyperlink uIDesconectarHyperlink = this.UIINGDirectInternetExpWindow.UIINGDirectDocument4.UIDesconectarHyperlink;
            List<Mes> conjuntoMeses = ConjuntoMeses.GetMeses(LaOperacion.FechaInicio, LaOperacion.FechaFin);
            #endregion

            // Click 'Movimientos' link
            Mouse.Click(uIMovimientosHyperlink, new Point(32, 3));

            foreach (Mes cadaMes in conjuntoMeses)
            {
                this.DescargarMovimientosMes(cadaMes.FechaInicio, cadaMes.FechaFin, LaOperacion.Carpeta, LaOperacion.Banco,
                    LaOperacion.Cuenta);
            }

            // Click 'Desconectar' link
            //Mouse.Click(uIDesconectarHyperlink, new Point(38, 6));
        }

        private void DescargarMovimientosMes(string LaFechaInicio, string LaFechaFin, string LaCarpeta, string ElBanco, 
            string LaCuenta)
        {
            HtmlComboBox uIProductListComboBox = this.UIINGDirectInternetExpWindow.UIINGDirectDocument1.UIProductListComboBox;
            HtmlCheckBox uINumMovsCheckCheckBox = this.UIINGDirectInternetExpWindow.UIINGDirectDocument1.UINumMovsCheckCheckBox;
            HtmlCheckBox uIDateCheckCheckBox = this.UIINGDirectInternetExpWindow.UIINGDirectDocument1.UIDateCheckCheckBox;
            HtmlEdit uIInputDateFromEdit = this.UIINGDirectInternetExpWindow.UIINGDirectDocument1.UIInputDateFromEdit;
            HtmlEdit uIInputDateToEdit = this.UIINGDirectInternetExpWindow.UIINGDirectDocument1.UIInputDateToEdit;
            HtmlButton uIContinuarButton = this.UIINGDirectInternetExpWindow.UIINGDirectDocument1.UIJ_id149Custom.UIContinuarButton;
            HtmlHyperlink uIExportarmovimientosaHyperlink = this.UIINGDirectInternetExpWindow.UIINGDirectDocument2.UIJ_id153Custom.UIExportarmovimientosaHyperlink;
            WinControl uIItemDropDownButton = this.UIINGDirectInternetExpWindow.UIGuardarSplitButton.UIItemDropDownButton;
            WinMenuItem uIGuardarcomoMenuItem = this.UIItemWindow.UIContextoMenu.UIGuardarcomoMenuItem;
            WinComboBox uINombreComboBox = this.UIGuardarcomoWindow.UIPaneldedetallesPane.UINombreComboBox;
            WinButton uIGuardarButton = this.UIGuardarcomoWindow.UIGuardarWindow.UIGuardarButton;
            WinButton uICerrarButton = this.UIINGDirectInternetExpWindow.UINotificaciónToolBar.UICerrarButton;
            HtmlButton uINuevaBusquedaButton = this.UIINGDirectInternetExpWindow.UIINGDirectDocument2.UIJ_id153Custom.UINuevaBusquedaButton;

            // Select 'cuenta' in 'productList' combo box
            for (int i = 0; i < uIProductListComboBox.ItemCount; i++)
            {
                uIProductListComboBox.SelectedIndex = i;
                if (uIProductListComboBox.SelectedItem.ToLower().Contains(LaCuenta.ToLower()))
                {
                    break;
                }
            }

            // Clear 'numMovsCheck' check box
            uINumMovsCheckCheckBox.Checked = this.GrabacionDescargaFicherosIngParams.UINumMovsCheckCheckBoxChecked;

            // Select 'dateCheck' check box
            uIDateCheckCheckBox.Checked = this.GrabacionDescargaFicherosIngParams.UIDateCheckCheckBoxChecked;

            // Type 'fecha inicio' in inputDateFrom' text box
            uIInputDateFromEdit.Text = LaFechaInicio;

            // Type '{Tab}{Tab}' in 'inputDateFrom' text box
            Keyboard.SendKeys(uIInputDateFromEdit, this.GrabacionDescargaFicherosIngParams.UIInputDateFromEditSendKeys, ModifierKeys.None);

            // Type 'fecha fin' in 'inputDateTo' text box
            uIInputDateToEdit.Text = LaFechaFin;

            // Type '{Tab}' in 'inputDateTo' text box
            Keyboard.SendKeys(uIInputDateToEdit, this.GrabacionDescargaFicherosIngParams.UIInputDateToEditSendKeys, ModifierKeys.None);

            // Click 'Continuar' button
            Mouse.Click(uIContinuarButton, new Point(26, 7));

            // Click 'Exportar movimientos a Excel' link
            Mouse.Click(uIExportarmovimientosaHyperlink, new Point(135, 3));

            this.UIItemWindow.UIContextoMenu.UIGuardarcomoMenuItem = null;
            this.UIINGDirectInternetExpWindow.UIGuardarSplitButton = null;

            // Click DropDownButton
            Mouse.Click(uIItemDropDownButton, new Point(11, 12));

            // Click 'Guardar como' menu item
            Mouse.Click(uIGuardarcomoMenuItem, new Point(53, 11));

            // Select 'Movimientos.xls' in 'Nombre:' combo box
            uINombreComboBox.EditableItem = (LaCarpeta + @"\" + ElBanco + @"\Cuenta " + LaCuenta + @"\" +
                this.GrabacionDescargaFicherosIngParams.UINombreComboBoxEditableItem + "_" + LaFechaInicio + "_" + LaFechaFin + ".xls").Replace('/', '-');

            // Click '&Guardar' button
            Mouse.Click(uIGuardarButton, new Point(49, 13));

            // Click 'Cerrar' button
            Mouse.Click(uICerrarButton, new Point(9, 5));

            // Click 'Nueva Busqueda' button
            Mouse.Click(uINuevaBusquedaButton, new Point(56, 12));
        }

        #region Properties
        public virtual GrabacionDescargaFicherosIngParams GrabacionDescargaFicherosIngParams
        {
            get
            {
                if ((this.mGrabacionDescargaFicherosIngParams == null))
                {
                    this.mGrabacionDescargaFicherosIngParams = new GrabacionDescargaFicherosIngParams();
                }
                return this.mGrabacionDescargaFicherosIngParams;
            }
        }

        public UIINGDirectInternetExpWindow UIINGDirectInternetExpWindow
        {
            get
            {
                if ((this.mUIINGDirectInternetExpWindow == null))
                {
                    this.mUIINGDirectInternetExpWindow = new UIINGDirectInternetExpWindow();
                }
                return this.mUIINGDirectInternetExpWindow;
            }
        }

        public UIItemWindow UIItemWindow
        {
            get
            {
                if ((this.mUIItemWindow == null))
                {
                    this.mUIItemWindow = new UIItemWindow();
                }
                return this.mUIItemWindow;
            }
        }

        public UIGuardarcomoWindow UIGuardarcomoWindow
        {
            get
            {
                if ((this.mUIGuardarcomoWindow == null))
                {
                    this.mUIGuardarcomoWindow = new UIGuardarcomoWindow();
                }
                return this.mUIGuardarcomoWindow;
            }
        }
        #endregion

        #region Fields
        private GrabacionDescargaFicherosIngParams mGrabacionDescargaFicherosIngParams;

        private UIINGDirectInternetExpWindow mUIINGDirectInternetExpWindow;

        private UIItemWindow mUIItemWindow;

        private UIGuardarcomoWindow mUIGuardarcomoWindow;
        #endregion
    }

    /// <summary>
    /// Parameters to be passed into 'GrabacionDescargaFicherosIng'
    /// </summary>
    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class GrabacionDescargaFicherosIngParams
    {

        #region Fields
        /// <summary>
        /// Select 'cuenta' in 'productList' combo box
        /// </summary>
        public string UIProductListComboBoxSelectedItem = "cuenta";

        /// <summary>
        /// Clear 'numMovsCheck' check box
        /// </summary>
        public bool UINumMovsCheckCheckBoxChecked = false;

        /// <summary>
        /// Select 'dateCheck' check box
        /// </summary>
        public bool UIDateCheckCheckBoxChecked = true;

        /// <summary>
        /// Type '{Tab}{Tab}' in 'inputDateFrom' text box
        /// </summary>
        public string UIInputDateFromEditSendKeys = "{Tab}{Tab}";

        /// <summary>
        /// Type '{Tab}' in 'inputDateTo' text box
        /// </summary>
        public string UIInputDateToEditSendKeys = "{Tab}";

        /// <summary>
        /// Select 'Movimientos.xls' in 'Nombre:' combo box
        /// </summary>
        public string UINombreComboBoxEditableItem = "ING_movimientos";
        #endregion
    }


    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIINGDirectInternetExpWindow : BrowserWindow
    {

        public UIINGDirectInternetExpWindow()
        {
            #region Search Criteria
            this.SearchProperties[UITestControl.PropertyNames.Name] = "ING Direct";
            this.SearchProperties[UITestControl.PropertyNames.ClassName] = "IEFrame";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        public void LaunchUrl(System.Uri url)
        {
            this.CopyFrom(BrowserWindow.Launch(url));
        }

        #region Properties
        public UIINGDirectDocument UIINGDirectDocument
        {
            get
            {
                if ((this.mUIINGDirectDocument == null))
                {
                    this.mUIINGDirectDocument = new UIINGDirectDocument(this);
                }
                return this.mUIINGDirectDocument;
            }
        }

        public UIINGDirectDocument1 UIINGDirectDocument1
        {
            get
            {
                if ((this.mUIINGDirectDocument1 == null))
                {
                    this.mUIINGDirectDocument1 = new UIINGDirectDocument1(this);
                }
                return this.mUIINGDirectDocument1;
            }
        }

        public UIINGDirectDocument2 UIINGDirectDocument2
        {
            get
            {
                if ((this.mUIINGDirectDocument2 == null))
                {
                    this.mUIINGDirectDocument2 = new UIINGDirectDocument2(this);
                }
                return this.mUIINGDirectDocument2;
            }
        }

        public UIGuardarSplitButton UIGuardarSplitButton
        {
            get
            {
                if ((this.mUIGuardarSplitButton == null))
                {
                    this.mUIGuardarSplitButton = new UIGuardarSplitButton(this);
                }
                return this.mUIGuardarSplitButton;
            }
            set
            {
                this.mUIGuardarSplitButton = value;
            }
        }

        public UINotificaciónToolBar UINotificaciónToolBar
        {
            get
            {
                if ((this.mUINotificaciónToolBar == null))
                {
                    this.mUINotificaciónToolBar = new UINotificaciónToolBar(this);
                }
                return this.mUINotificaciónToolBar;
            }
        }

        public UIINGDirectDocument3 UIINGDirectDocument3
        {
            get
            {
                if ((this.mUIINGDirectDocument3 == null))
                {
                    this.mUIINGDirectDocument3 = new UIINGDirectDocument3(this);
                }
                return this.mUIINGDirectDocument3;
            }
        }

        public UIINGDirectDocument4 UIINGDirectDocument4
        {
            get
            {
                if ((this.mUIINGDirectDocument4 == null))
                {
                    this.mUIINGDirectDocument4 = new UIINGDirectDocument4(this);
                }
                return this.mUIINGDirectDocument4;
            }
        }
        #endregion

        #region Fields
        private UIINGDirectDocument mUIINGDirectDocument;

        private UIINGDirectDocument1 mUIINGDirectDocument1;

        private UIINGDirectDocument2 mUIINGDirectDocument2;

        private UIGuardarSplitButton mUIGuardarSplitButton;

        private UINotificaciónToolBar mUINotificaciónToolBar;

        private UIINGDirectDocument3 mUIINGDirectDocument3;

        private UIINGDirectDocument4 mUIINGDirectDocument4;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIINGDirectDocument : HtmlDocument
    {

        public UIINGDirectDocument(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[HtmlDocument.PropertyNames.Id] = null;
            this.SearchProperties[HtmlDocument.PropertyNames.RedirectingPage] = "False";
            this.SearchProperties[HtmlDocument.PropertyNames.FrameDocument] = "False";
            this.FilterProperties[HtmlDocument.PropertyNames.Title] = "ING Direct";
            this.FilterProperties[HtmlDocument.PropertyNames.AbsolutePath] = "/W/Transactional/faces/views/getPIN.xhtml";
            this.FilterProperties[HtmlDocument.PropertyNames.PageUrl] = "https://ing.ingdirect.es/W/Transactional/faces/views/getPIN.xhtml?f=WmTBdjzz4V";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public HtmlHyperlink UIMovimientosHyperlink
        {
            get
            {
                if ((this.mUIMovimientosHyperlink == null))
                {
                    this.mUIMovimientosHyperlink = new HtmlHyperlink(this);
                    #region Search Criteria
                    this.mUIMovimientosHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Id] = "option1:1:option2:3:action";
                    this.mUIMovimientosHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Name] = "option1:1:option2:3:action";
                    this.mUIMovimientosHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Target] = null;
                    this.mUIMovimientosHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.InnerText] = "Movimientos";
                    this.mUIMovimientosHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.AbsolutePath] = "/W/Transactional/faces/views/getPIN.xhtml";
                    this.mUIMovimientosHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Title] = null;
                    this.mUIMovimientosHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Href] = "https://ing.ingdirect.es/W/Transactional/faces/views/getPIN.xhtml?f=WmTBdjzz4V#";
                    this.mUIMovimientosHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Class] = "OraLink";
                    this.mUIMovimientosHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.ControlDefinition] = "name=\"option1:1:option2:3:action\" class=";
                    this.mUIMovimientosHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.TagInstance] = "21";
                    this.mUIMovimientosHyperlink.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIMovimientosHyperlink;
            }
        }
        #endregion

        #region Fields
        private HtmlHyperlink mUIMovimientosHyperlink;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIINGDirectDocument1 : HtmlDocument
    {

        public UIINGDirectDocument1(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[HtmlDocument.PropertyNames.Id] = null;
            this.SearchProperties[HtmlDocument.PropertyNames.RedirectingPage] = "False";
            this.SearchProperties[HtmlDocument.PropertyNames.FrameDocument] = "False";
            this.FilterProperties[HtmlDocument.PropertyNames.Title] = "ING Direct";
            this.FilterProperties[HtmlDocument.PropertyNames.AbsolutePath] = "/W/Transactional/faces/views/fullpages/common/fp_cms.xhtml";
            this.FilterProperties[HtmlDocument.PropertyNames.PageUrl] = "https://ing.ingdirect.es/W/Transactional/faces/views/fullpages/common/fp_cms.xhtm" +
                "l?f=byrSYb9ICA";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public HtmlComboBox UIProductListComboBox
        {
            get
            {
                if ((this.mUIProductListComboBox == null))
                {
                    this.mUIProductListComboBox = new HtmlComboBox(this);
                    #region Search Criteria
                    this.mUIProductListComboBox.SearchProperties[HtmlComboBox.PropertyNames.Id] = "productList";
                    this.mUIProductListComboBox.SearchProperties[HtmlComboBox.PropertyNames.Name] = "productList";
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.LabeledBy] = null;
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.Size] = "0";
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.Title] = null;
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.ItemCount] = "2";
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.Class] = "ing-selectOneAction";
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.ControlDefinition] = "name=\"productList\" class=\"ing-selectOneA";
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.TagInstance] = "1";
                    this.mUIProductListComboBox.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIProductListComboBox;
            }
        }

        public UIJ_id149Custom UIJ_id149Custom
        {
            get
            {
                if ((this.mUIJ_id149Custom == null))
                {
                    this.mUIJ_id149Custom = new UIJ_id149Custom(this);
                }
                return this.mUIJ_id149Custom;
            }
        }

        public HtmlCheckBox UINumMovsCheckCheckBox
        {
            get
            {
                if ((this.mUINumMovsCheckCheckBox == null))
                {
                    this.mUINumMovsCheckCheckBox = new HtmlCheckBox(this);
                    #region Search Criteria
                    this.mUINumMovsCheckCheckBox.SearchProperties[HtmlCheckBox.PropertyNames.Id] = "numMovsCheck";
                    this.mUINumMovsCheckCheckBox.SearchProperties[HtmlCheckBox.PropertyNames.Name] = "numMovsCheck";
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Value] = "t";
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.LabeledBy] = null;
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Title] = null;
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Class] = null;
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.ControlDefinition] = "name=\"numMovsCheck\" id=\"numMovsCheck\" on";
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.TagInstance] = "28";
                    this.mUINumMovsCheckCheckBox.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUINumMovsCheckCheckBox;
            }
        }

        public HtmlCheckBox UIDateCheckCheckBox
        {
            get
            {
                if ((this.mUIDateCheckCheckBox == null))
                {
                    this.mUIDateCheckCheckBox = new HtmlCheckBox(this);
                    #region Search Criteria
                    this.mUIDateCheckCheckBox.SearchProperties[HtmlCheckBox.PropertyNames.Id] = "dateCheck";
                    this.mUIDateCheckCheckBox.SearchProperties[HtmlCheckBox.PropertyNames.Name] = "dateCheck";
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Value] = "t";
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.LabeledBy] = null;
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Title] = null;
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Class] = null;
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.ControlDefinition] = "name=\"dateCheck\" id=\"dateCheck\" onclick=";
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.TagInstance] = "30";
                    this.mUIDateCheckCheckBox.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIDateCheckCheckBox;
            }
        }

        public HtmlEdit UIInputDateFromEdit
        {
            get
            {
                if ((this.mUIInputDateFromEdit == null))
                {
                    this.mUIInputDateFromEdit = new HtmlEdit(this);
                    #region Search Criteria
                    this.mUIInputDateFromEdit.SearchProperties[HtmlEdit.PropertyNames.Id] = "inputDateFrom";
                    this.mUIInputDateFromEdit.SearchProperties[HtmlEdit.PropertyNames.Name] = "inputDateFrom";
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.LabeledBy] = null;
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.Type] = "SINGLELINE";
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.Title] = null;
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.Class] = "af_inputText_content hasDatepicker";
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.ControlDefinition] = "name=\"inputDateFrom\" class=\"af_inputText";
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.TagInstance] = "31";
                    this.mUIInputDateFromEdit.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIInputDateFromEdit;
            }
        }

        public HtmlEdit UIInputDateToEdit
        {
            get
            {
                if ((this.mUIInputDateToEdit == null))
                {
                    this.mUIInputDateToEdit = new HtmlEdit(this);
                    #region Search Criteria
                    this.mUIInputDateToEdit.SearchProperties[HtmlEdit.PropertyNames.Id] = "inputDateTo";
                    this.mUIInputDateToEdit.SearchProperties[HtmlEdit.PropertyNames.Name] = "inputDateTo";
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.LabeledBy] = null;
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.Type] = "SINGLELINE";
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.Title] = null;
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.Class] = "af_inputText_content hasDatepicker";
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.ControlDefinition] = "name=\"inputDateTo\" class=\"af_inputText_c";
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.TagInstance] = "32";
                    this.mUIInputDateToEdit.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIInputDateToEdit;
            }
        }
        #endregion

        #region Fields
        private HtmlComboBox mUIProductListComboBox;

        private UIJ_id149Custom mUIJ_id149Custom;

        private HtmlCheckBox mUINumMovsCheckCheckBox;

        private HtmlCheckBox mUIDateCheckCheckBox;

        private HtmlEdit mUIInputDateFromEdit;

        private HtmlEdit mUIInputDateToEdit;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIJ_id149Custom : HtmlCustom
    {

        public UIJ_id149Custom(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties["TagName"] = "FORM";
            this.SearchProperties["Id"] = "j_id149";
            this.SearchProperties[UITestControl.PropertyNames.Name] = "j_id149";
            this.FilterProperties["Class"] = null;
            this.FilterProperties["ControlDefinition"] = "name=\"j_id149\" id=\"j_id149\" style=\"margi";
            this.FilterProperties["TagInstance"] = "7";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public UIItemTable UIItemTable
        {
            get
            {
                if ((this.mUIItemTable == null))
                {
                    this.mUIItemTable = new UIItemTable(this);
                }
                return this.mUIItemTable;
            }
        }

        public HtmlButton UIContinuarButton
        {
            get
            {
                if ((this.mUIContinuarButton == null))
                {
                    this.mUIContinuarButton = new HtmlButton(this);
                    #region Search Criteria
                    this.mUIContinuarButton.SearchProperties[HtmlButton.PropertyNames.Id] = null;
                    this.mUIContinuarButton.SearchProperties[HtmlButton.PropertyNames.Name] = null;
                    this.mUIContinuarButton.SearchProperties[HtmlButton.PropertyNames.DisplayText] = "Continuar";
                    this.mUIContinuarButton.SearchProperties[HtmlButton.PropertyNames.Type] = "button";
                    this.mUIContinuarButton.FilterProperties[HtmlButton.PropertyNames.Title] = null;
                    this.mUIContinuarButton.FilterProperties[HtmlButton.PropertyNames.Class] = "af_commandButton";
                    this.mUIContinuarButton.FilterProperties[HtmlButton.PropertyNames.ControlDefinition] = "class=\"af_commandButton\" onclick=\"return";
                    this.mUIContinuarButton.FilterProperties[HtmlButton.PropertyNames.TagInstance] = "5";
                    this.mUIContinuarButton.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIContinuarButton;
            }
        }
        #endregion

        #region Fields
        private UIItemTable mUIItemTable;

        private HtmlButton mUIContinuarButton;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIItemTable : HtmlTable
    {

        public UIItemTable(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[HtmlTable.PropertyNames.Id] = null;
            this.SearchProperties[HtmlTable.PropertyNames.Name] = null;
            this.FilterProperties[HtmlTable.PropertyNames.InnerText] = "[1]Seleccione la cuenta de ING DIRECT so";
            this.FilterProperties[HtmlTable.PropertyNames.ControlDefinition] = "class=\"module\"";
            this.FilterProperties[HtmlTable.PropertyNames.RowCount] = "1";
            this.FilterProperties[HtmlTable.PropertyNames.ColumnCount] = "3";
            this.FilterProperties[HtmlTable.PropertyNames.Class] = "module";
            this.FilterProperties[HtmlTable.PropertyNames.TagInstance] = "1";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public HtmlCell UICNÓMINAconhipotecanºCell
        {
            get
            {
                if ((this.mUICNÓMINAconhipotecanºCell == null))
                {
                    this.mUICNÓMINAconhipotecanºCell = new HtmlCell(this);
                    #region Search Criteria
                    this.mUICNÓMINAconhipotecanºCell.SearchProperties[HtmlCell.PropertyNames.Id] = null;
                    this.mUICNÓMINAconhipotecanºCell.SearchProperties[HtmlCell.PropertyNames.Name] = null;
                    this.mUICNÓMINAconhipotecanºCell.SearchProperties[HtmlCell.PropertyNames.MaxDepth] = "3";
                    this.mUICNÓMINAconhipotecanºCell.SearchProperties[HtmlCell.PropertyNames.InnerText] = "cuenta";
                    this.mUICNÓMINAconhipotecanºCell.FilterProperties[HtmlCell.PropertyNames.ControlDefinition] = "class=\"content\" style=\"width: 400px;\"";
                    this.mUICNÓMINAconhipotecanºCell.FilterProperties[HtmlCell.PropertyNames.RowIndex] = "0";
                    this.mUICNÓMINAconhipotecanºCell.FilterProperties[HtmlCell.PropertyNames.ColumnIndex] = "2";
                    this.mUICNÓMINAconhipotecanºCell.FilterProperties[HtmlCell.PropertyNames.Class] = "content";
                    this.mUICNÓMINAconhipotecanºCell.FilterProperties[HtmlCell.PropertyNames.TagInstance] = "3";
                    this.mUICNÓMINAconhipotecanºCell.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUICNÓMINAconhipotecanºCell;
            }
        }
        #endregion

        #region Fields
        private HtmlCell mUICNÓMINAconhipotecanºCell;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIINGDirectDocument2 : HtmlDocument
    {

        public UIINGDirectDocument2(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[HtmlDocument.PropertyNames.Id] = null;
            this.SearchProperties[HtmlDocument.PropertyNames.RedirectingPage] = "False";
            this.SearchProperties[HtmlDocument.PropertyNames.FrameDocument] = "False";
            this.FilterProperties[HtmlDocument.PropertyNames.Title] = "ING Direct";
            this.FilterProperties[HtmlDocument.PropertyNames.AbsolutePath] = "/W/Transactional/faces/views/accounts/balancesandconsultations/movements/captureA" +
                "ccountsMovementsCriteriaView.xhtml";
            this.FilterProperties[HtmlDocument.PropertyNames.PageUrl] = "https://ing.ingdirect.es/W/Transactional/faces/views/accounts/balancesandconsulta" +
                "tions/movements/captureAccountsMovementsCriteriaView.xhtml?f=jEt5jye7bU";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public UIJ_id153Custom UIJ_id153Custom
        {
            get
            {
                if ((this.mUIJ_id153Custom == null))
                {
                    this.mUIJ_id153Custom = new UIJ_id153Custom(this);
                }
                return this.mUIJ_id153Custom;
            }
        }
        #endregion

        #region Fields
        private UIJ_id153Custom mUIJ_id153Custom;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIJ_id153Custom : HtmlCustom
    {

        public UIJ_id153Custom(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties["TagName"] = "FORM";
            this.SearchProperties["Id"] = "j_id153";
            this.SearchProperties[UITestControl.PropertyNames.Name] = "j_id153";
            this.FilterProperties["Class"] = null;
            this.FilterProperties["ControlDefinition"] = "name=\"j_id153\" id=\"j_id153\" style=\"margi";
            this.FilterProperties["TagInstance"] = "8";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public HtmlHyperlink UIExportarmovimientosaHyperlink
        {
            get
            {
                if ((this.mUIExportarmovimientosaHyperlink == null))
                {
                    this.mUIExportarmovimientosaHyperlink = new HtmlHyperlink(this);
                    #region Search Criteria
                    this.mUIExportarmovimientosaHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Id] = null;
                    this.mUIExportarmovimientosaHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Name] = null;
                    this.mUIExportarmovimientosaHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Target] = null;
                    this.mUIExportarmovimientosaHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.InnerText] = "Exportar movimientos a Excel";
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.AbsolutePath] = "/W/Transactional/faces/views/accounts/balancesandconsultations/movements/captureA" +
                        "ccountsMovementsCriteriaView.xhtml";
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Title] = null;
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Href] = "https://ing.ingdirect.es/W/Transactional/faces/views/accounts/balancesandconsulta" +
                        "tions/movements/captureAccountsMovementsCriteriaView.xhtml?f=jEt5jye7bU#";
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Class] = "OraLink";
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.ControlDefinition] = "class=\"OraLink\" style=\"color: rgb(0, 0, ";
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.TagInstance] = "9";
                    this.mUIExportarmovimientosaHyperlink.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIExportarmovimientosaHyperlink;
            }
        }

        public HtmlButton UINuevaBusquedaButton
        {
            get
            {
                if ((this.mUINuevaBusquedaButton == null))
                {
                    this.mUINuevaBusquedaButton = new HtmlButton(this);
                    #region Search Criteria
                    this.mUINuevaBusquedaButton.SearchProperties[HtmlButton.PropertyNames.Id] = null;
                    this.mUINuevaBusquedaButton.SearchProperties[HtmlButton.PropertyNames.Name] = null;
                    this.mUINuevaBusquedaButton.SearchProperties[HtmlButton.PropertyNames.DisplayText] = "Nueva Busqueda";
                    this.mUINuevaBusquedaButton.SearchProperties[HtmlButton.PropertyNames.Type] = "button";
                    this.mUINuevaBusquedaButton.FilterProperties[HtmlButton.PropertyNames.Title] = null;
                    this.mUINuevaBusquedaButton.FilterProperties[HtmlButton.PropertyNames.Class] = "af_commandButton";
                    this.mUINuevaBusquedaButton.FilterProperties[HtmlButton.PropertyNames.ControlDefinition] = "class=\"af_commandButton\" onclick=\"submit";
                    this.mUINuevaBusquedaButton.FilterProperties[HtmlButton.PropertyNames.TagInstance] = "1";
                    this.mUINuevaBusquedaButton.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUINuevaBusquedaButton;
            }
        }
        #endregion

        #region Fields
        private HtmlHyperlink mUIExportarmovimientosaHyperlink;

        private HtmlButton mUINuevaBusquedaButton;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIGuardarSplitButton : WinSplitButton
    {

        public UIGuardarSplitButton(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WinButton.PropertyNames.Name] = "Guardar";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public WinControl UIItemDropDownButton
        {
            get
            {
                if ((this.mUIItemDropDownButton == null))
                {
                    this.mUIItemDropDownButton = new WinControl(this);
                    #region Search Criteria
                    this.mUIItemDropDownButton.SearchProperties[UITestControl.PropertyNames.ControlType] = "DropDownButton";
                    this.mUIItemDropDownButton.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIItemDropDownButton;
            }
        }
        #endregion

        #region Fields
        private WinControl mUIItemDropDownButton;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UINotificaciónToolBar : WinToolBar
    {

        public UINotificaciónToolBar(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WinToolBar.PropertyNames.Name] = "Notificación";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public WinButton UICerrarButton
        {
            get
            {
                if ((this.mUICerrarButton == null))
                {
                    this.mUICerrarButton = new WinButton(this);
                    #region Search Criteria
                    this.mUICerrarButton.SearchProperties[WinButton.PropertyNames.Name] = "Cerrar";
                    this.mUICerrarButton.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUICerrarButton;
            }
        }
        #endregion

        #region Fields
        private WinButton mUICerrarButton;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIINGDirectDocument3 : HtmlDocument
    {

        public UIINGDirectDocument3(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[HtmlDocument.PropertyNames.Id] = null;
            this.SearchProperties[HtmlDocument.PropertyNames.RedirectingPage] = "False";
            this.SearchProperties[HtmlDocument.PropertyNames.FrameDocument] = "False";
            this.FilterProperties[HtmlDocument.PropertyNames.Title] = "ING Direct";
            this.FilterProperties[HtmlDocument.PropertyNames.AbsolutePath] = "/W/Transactional/faces/views/accounts/balancesandconsultations/movements/accounts" +
                "MovementsView.xhtml";
            this.FilterProperties[HtmlDocument.PropertyNames.PageUrl] = "https://ing.ingdirect.es/W/Transactional/faces/views/accounts/balancesandconsulta" +
                "tions/movements/accountsMovementsView.xhtml?f=OigYJwF47z";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public HtmlComboBox UIProductListComboBox
        {
            get
            {
                if ((this.mUIProductListComboBox == null))
                {
                    this.mUIProductListComboBox = new HtmlComboBox(this);
                    #region Search Criteria
                    this.mUIProductListComboBox.SearchProperties[HtmlComboBox.PropertyNames.Id] = "productList";
                    this.mUIProductListComboBox.SearchProperties[HtmlComboBox.PropertyNames.Name] = "productList";
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.LabeledBy] = null;
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.Size] = "0";
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.Title] = null;
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.ItemCount] = "2";
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.Class] = "ing-selectOneAction";
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.ControlDefinition] = "name=\"productList\" class=\"ing-selectOneA";
                    this.mUIProductListComboBox.FilterProperties[HtmlComboBox.PropertyNames.TagInstance] = "1";
                    this.mUIProductListComboBox.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIProductListComboBox;
            }
        }

        public UIJ_id149Custom1 UIJ_id149Custom
        {
            get
            {
                if ((this.mUIJ_id149Custom == null))
                {
                    this.mUIJ_id149Custom = new UIJ_id149Custom1(this);
                }
                return this.mUIJ_id149Custom;
            }
        }

        public HtmlCheckBox UINumMovsCheckCheckBox
        {
            get
            {
                if ((this.mUINumMovsCheckCheckBox == null))
                {
                    this.mUINumMovsCheckCheckBox = new HtmlCheckBox(this);
                    #region Search Criteria
                    this.mUINumMovsCheckCheckBox.SearchProperties[HtmlCheckBox.PropertyNames.Id] = "numMovsCheck";
                    this.mUINumMovsCheckCheckBox.SearchProperties[HtmlCheckBox.PropertyNames.Name] = "numMovsCheck";
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Value] = "t";
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.LabeledBy] = null;
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Title] = null;
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Class] = null;
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.ControlDefinition] = "name=\"numMovsCheck\" id=\"numMovsCheck\" on";
                    this.mUINumMovsCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.TagInstance] = "28";
                    this.mUINumMovsCheckCheckBox.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUINumMovsCheckCheckBox;
            }
        }

        public HtmlCheckBox UIDateCheckCheckBox
        {
            get
            {
                if ((this.mUIDateCheckCheckBox == null))
                {
                    this.mUIDateCheckCheckBox = new HtmlCheckBox(this);
                    #region Search Criteria
                    this.mUIDateCheckCheckBox.SearchProperties[HtmlCheckBox.PropertyNames.Id] = "dateCheck";
                    this.mUIDateCheckCheckBox.SearchProperties[HtmlCheckBox.PropertyNames.Name] = "dateCheck";
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Value] = "t";
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.LabeledBy] = null;
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Title] = null;
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.Class] = null;
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.ControlDefinition] = "name=\"dateCheck\" id=\"dateCheck\" onclick=";
                    this.mUIDateCheckCheckBox.FilterProperties[HtmlCheckBox.PropertyNames.TagInstance] = "30";
                    this.mUIDateCheckCheckBox.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIDateCheckCheckBox;
            }
        }

        public HtmlEdit UIInputDateFromEdit
        {
            get
            {
                if ((this.mUIInputDateFromEdit == null))
                {
                    this.mUIInputDateFromEdit = new HtmlEdit(this);
                    #region Search Criteria
                    this.mUIInputDateFromEdit.SearchProperties[HtmlEdit.PropertyNames.Id] = "inputDateFrom";
                    this.mUIInputDateFromEdit.SearchProperties[HtmlEdit.PropertyNames.Name] = "inputDateFrom";
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.LabeledBy] = null;
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.Type] = "SINGLELINE";
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.Title] = null;
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.Class] = "af_inputText_content hasDatepicker";
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.ControlDefinition] = "name=\"inputDateFrom\" class=\"af_inputText";
                    this.mUIInputDateFromEdit.FilterProperties[HtmlEdit.PropertyNames.TagInstance] = "31";
                    this.mUIInputDateFromEdit.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIInputDateFromEdit;
            }
        }

        public HtmlEdit UIInputDateToEdit
        {
            get
            {
                if ((this.mUIInputDateToEdit == null))
                {
                    this.mUIInputDateToEdit = new HtmlEdit(this);
                    #region Search Criteria
                    this.mUIInputDateToEdit.SearchProperties[HtmlEdit.PropertyNames.Id] = "inputDateTo";
                    this.mUIInputDateToEdit.SearchProperties[HtmlEdit.PropertyNames.Name] = "inputDateTo";
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.LabeledBy] = null;
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.Type] = "SINGLELINE";
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.Title] = null;
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.Class] = "af_inputText_content hasDatepicker";
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.ControlDefinition] = "name=\"inputDateTo\" class=\"af_inputText_c";
                    this.mUIInputDateToEdit.FilterProperties[HtmlEdit.PropertyNames.TagInstance] = "32";
                    this.mUIInputDateToEdit.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIInputDateToEdit;
            }
        }
        #endregion

        #region Fields
        private HtmlComboBox mUIProductListComboBox;

        private UIJ_id149Custom1 mUIJ_id149Custom;

        private HtmlCheckBox mUINumMovsCheckCheckBox;

        private HtmlCheckBox mUIDateCheckCheckBox;

        private HtmlEdit mUIInputDateFromEdit;

        private HtmlEdit mUIInputDateToEdit;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIJ_id149Custom1 : HtmlCustom
    {

        public UIJ_id149Custom1(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties["TagName"] = "FORM";
            this.SearchProperties["Id"] = "j_id149";
            this.SearchProperties[UITestControl.PropertyNames.Name] = "j_id149";
            this.FilterProperties["Class"] = null;
            this.FilterProperties["ControlDefinition"] = "name=\"j_id149\" id=\"j_id149\" style=\"margi";
            this.FilterProperties["TagInstance"] = "7";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public UIItemTable1 UIItemTable
        {
            get
            {
                if ((this.mUIItemTable == null))
                {
                    this.mUIItemTable = new UIItemTable1(this);
                }
                return this.mUIItemTable;
            }
        }

        public UIItemTable11 UIItemTable1
        {
            get
            {
                if ((this.mUIItemTable1 == null))
                {
                    this.mUIItemTable1 = new UIItemTable11(this);
                }
                return this.mUIItemTable1;
            }
        }

        public HtmlButton UIContinuarButton
        {
            get
            {
                if ((this.mUIContinuarButton == null))
                {
                    this.mUIContinuarButton = new HtmlButton(this);
                    #region Search Criteria
                    this.mUIContinuarButton.SearchProperties[HtmlButton.PropertyNames.Id] = null;
                    this.mUIContinuarButton.SearchProperties[HtmlButton.PropertyNames.Name] = null;
                    this.mUIContinuarButton.SearchProperties[HtmlButton.PropertyNames.DisplayText] = "Continuar";
                    this.mUIContinuarButton.SearchProperties[HtmlButton.PropertyNames.Type] = "button";
                    this.mUIContinuarButton.FilterProperties[HtmlButton.PropertyNames.Title] = null;
                    this.mUIContinuarButton.FilterProperties[HtmlButton.PropertyNames.Class] = "af_commandButton";
                    this.mUIContinuarButton.FilterProperties[HtmlButton.PropertyNames.ControlDefinition] = "class=\"af_commandButton\" onclick=\"return";
                    this.mUIContinuarButton.FilterProperties[HtmlButton.PropertyNames.TagInstance] = "5";
                    this.mUIContinuarButton.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIContinuarButton;
            }
        }
        #endregion

        #region Fields
        private UIItemTable1 mUIItemTable;

        private UIItemTable11 mUIItemTable1;

        private HtmlButton mUIContinuarButton;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIItemTable1 : HtmlTable
    {

        public UIItemTable1(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[HtmlTable.PropertyNames.Id] = null;
            this.SearchProperties[HtmlTable.PropertyNames.Name] = null;
            this.FilterProperties[HtmlTable.PropertyNames.InnerText] = "[1]Seleccione la cuenta de ING DIRECT so";
            this.FilterProperties[HtmlTable.PropertyNames.ControlDefinition] = "class=\"module\"";
            this.FilterProperties[HtmlTable.PropertyNames.RowCount] = "1";
            this.FilterProperties[HtmlTable.PropertyNames.ColumnCount] = "3";
            this.FilterProperties[HtmlTable.PropertyNames.Class] = "module";
            this.FilterProperties[HtmlTable.PropertyNames.TagInstance] = "1";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public HtmlCell UICNÓMINAconhipotecanºCell
        {
            get
            {
                if ((this.mUICNÓMINAconhipotecanºCell == null))
                {
                    this.mUICNÓMINAconhipotecanºCell = new HtmlCell(this);
                    #region Search Criteria
                    this.mUICNÓMINAconhipotecanºCell.SearchProperties[HtmlCell.PropertyNames.Id] = null;
                    this.mUICNÓMINAconhipotecanºCell.SearchProperties[HtmlCell.PropertyNames.Name] = null;
                    this.mUICNÓMINAconhipotecanºCell.SearchProperties[HtmlCell.PropertyNames.MaxDepth] = "3";
                    this.mUICNÓMINAconhipotecanºCell.SearchProperties[HtmlCell.PropertyNames.InnerText] = "cuenta";
                    this.mUICNÓMINAconhipotecanºCell.FilterProperties[HtmlCell.PropertyNames.ControlDefinition] = "class=\"content\" style=\"width: 400px;\"";
                    this.mUICNÓMINAconhipotecanºCell.FilterProperties[HtmlCell.PropertyNames.RowIndex] = "0";
                    this.mUICNÓMINAconhipotecanºCell.FilterProperties[HtmlCell.PropertyNames.ColumnIndex] = "2";
                    this.mUICNÓMINAconhipotecanºCell.FilterProperties[HtmlCell.PropertyNames.Class] = "content";
                    this.mUICNÓMINAconhipotecanºCell.FilterProperties[HtmlCell.PropertyNames.TagInstance] = "3";
                    this.mUICNÓMINAconhipotecanºCell.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUICNÓMINAconhipotecanºCell;
            }
        }
        #endregion

        #region Fields
        private HtmlCell mUICNÓMINAconhipotecanºCell;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIItemTable11 : HtmlTable
    {

        public UIItemTable11(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[HtmlTable.PropertyNames.Id] = null;
            this.SearchProperties[HtmlTable.PropertyNames.Name] = null;
            this.FilterProperties[HtmlTable.PropertyNames.InnerText] = "Fecha desde var _df2DYS=1950; \r\n hasta \t";
            this.FilterProperties[HtmlTable.PropertyNames.ControlDefinition] = "style=\"margin-bottom: 10px;\"";
            this.FilterProperties[HtmlTable.PropertyNames.RowCount] = "2";
            this.FilterProperties[HtmlTable.PropertyNames.ColumnCount] = "4";
            this.FilterProperties[HtmlTable.PropertyNames.Class] = null;
            this.FilterProperties[HtmlTable.PropertyNames.TagInstance] = "4";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public HtmlCell UIItemCell
        {
            get
            {
                if ((this.mUIItemCell == null))
                {
                    this.mUIItemCell = new HtmlCell(this);
                    #region Search Criteria
                    this.mUIItemCell.SearchProperties[HtmlCell.PropertyNames.Id] = null;
                    this.mUIItemCell.SearchProperties[HtmlCell.PropertyNames.Name] = null;
                    this.mUIItemCell.SearchProperties[HtmlCell.PropertyNames.MaxDepth] = "3";
                    this.mUIItemCell.SearchProperties[HtmlCell.PropertyNames.InnerText] = null;
                    this.mUIItemCell.FilterProperties[HtmlCell.PropertyNames.ControlDefinition] = "width=\"40\"";
                    this.mUIItemCell.FilterProperties[HtmlCell.PropertyNames.RowIndex] = "0";
                    this.mUIItemCell.FilterProperties[HtmlCell.PropertyNames.ColumnIndex] = "0";
                    this.mUIItemCell.FilterProperties[HtmlCell.PropertyNames.Class] = null;
                    this.mUIItemCell.FilterProperties[HtmlCell.PropertyNames.TagInstance] = "9";
                    this.mUIItemCell.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIItemCell;
            }
        }
        #endregion

        #region Fields
        private HtmlCell mUIItemCell;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIINGDirectDocument4 : HtmlDocument
    {

        public UIINGDirectDocument4(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[HtmlDocument.PropertyNames.Id] = null;
            this.SearchProperties[HtmlDocument.PropertyNames.RedirectingPage] = "False";
            this.SearchProperties[HtmlDocument.PropertyNames.FrameDocument] = "False";
            this.FilterProperties[HtmlDocument.PropertyNames.Title] = "ING Direct";
            this.FilterProperties[HtmlDocument.PropertyNames.AbsolutePath] = "/W/Transactional/faces/views/accounts/balancesandconsultations/movements/captureA" +
                "ccountsMovementsCriteriaView.xhtml";
            this.FilterProperties[HtmlDocument.PropertyNames.PageUrl] = "https://ing.ingdirect.es/W/Transactional/faces/views/accounts/balancesandconsulta" +
                "tions/movements/captureAccountsMovementsCriteriaView.xhtml?f=MhQ5hFsMgp";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public UIJ_id153Custom1 UIJ_id153Custom
        {
            get
            {
                if ((this.mUIJ_id153Custom == null))
                {
                    this.mUIJ_id153Custom = new UIJ_id153Custom1(this);
                }
                return this.mUIJ_id153Custom;
            }
        }

        public HtmlHyperlink UIDesconectarHyperlink
        {
            get
            {
                if ((this.mUIDesconectarHyperlink == null))
                {
                    this.mUIDesconectarHyperlink = new HtmlHyperlink(this);
                    #region Search Criteria
                    this.mUIDesconectarHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Id] = "option1:15:action";
                    this.mUIDesconectarHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Name] = "option1:15:action";
                    this.mUIDesconectarHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Target] = null;
                    this.mUIDesconectarHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.InnerText] = "Desconectar";
                    this.mUIDesconectarHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.AbsolutePath] = "/W/Transactional/faces/views/accounts/balancesandconsultations/movements/captureA" +
                        "ccountsMovementsCriteriaView.xhtml";
                    this.mUIDesconectarHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Title] = null;
                    this.mUIDesconectarHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Href] = "https://ing.ingdirect.es/W/Transactional/faces/views/accounts/balancesandconsulta" +
                        "tions/movements/captureAccountsMovementsCriteriaView.xhtml?f=MhQ5hFsMgp#";
                    this.mUIDesconectarHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Class] = "OraLink";
                    this.mUIDesconectarHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.ControlDefinition] = "name=\"option1:15:action\" class=\"OraLink\"";
                    this.mUIDesconectarHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.TagInstance] = "35";
                    this.mUIDesconectarHyperlink.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIDesconectarHyperlink;
            }
        }
        #endregion

        #region Fields
        private UIJ_id153Custom1 mUIJ_id153Custom;

        private HtmlHyperlink mUIDesconectarHyperlink;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIJ_id153Custom1 : HtmlCustom
    {

        public UIJ_id153Custom1(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties["TagName"] = "FORM";
            this.SearchProperties["Id"] = "j_id153";
            this.SearchProperties[UITestControl.PropertyNames.Name] = "j_id153";
            this.FilterProperties["Class"] = null;
            this.FilterProperties["ControlDefinition"] = "name=\"j_id153\" id=\"j_id153\" style=\"margi";
            this.FilterProperties["TagInstance"] = "8";
            this.WindowTitles.Add("ING Direct");
            #endregion
        }

        #region Properties
        public HtmlHyperlink UIExportarmovimientosaHyperlink
        {
            get
            {
                if ((this.mUIExportarmovimientosaHyperlink == null))
                {
                    this.mUIExportarmovimientosaHyperlink = new HtmlHyperlink(this);
                    #region Search Criteria
                    this.mUIExportarmovimientosaHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Id] = null;
                    this.mUIExportarmovimientosaHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Name] = null;
                    this.mUIExportarmovimientosaHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Target] = null;
                    this.mUIExportarmovimientosaHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.InnerText] = "Exportar movimientos a Excel";
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.AbsolutePath] = "/W/Transactional/faces/views/accounts/balancesandconsultations/movements/captureA" +
                        "ccountsMovementsCriteriaView.xhtml";
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Title] = null;
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Href] = "https://ing.ingdirect.es/W/Transactional/faces/views/accounts/balancesandconsulta" +
                        "tions/movements/captureAccountsMovementsCriteriaView.xhtml?f=MhQ5hFsMgp#";
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Class] = "OraLink";
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.ControlDefinition] = "class=\"OraLink\" style=\"color: rgb(0, 0, ";
                    this.mUIExportarmovimientosaHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.TagInstance] = "3";
                    this.mUIExportarmovimientosaHyperlink.WindowTitles.Add("ING Direct");
                    #endregion
                }
                return this.mUIExportarmovimientosaHyperlink;
            }
        }
        #endregion

        #region Fields
        private HtmlHyperlink mUIExportarmovimientosaHyperlink;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIItemWindow : WinWindow
    {

        public UIItemWindow()
        {
            #region Search Criteria
            this.SearchProperties[WinWindow.PropertyNames.AccessibleName] = "Contexto";
            this.SearchProperties[WinWindow.PropertyNames.ClassName] = "#32768";
            #endregion
        }

        #region Properties
        public UIContextoMenu UIContextoMenu
        {
            get
            {
                if ((this.mUIContextoMenu == null))
                {
                    this.mUIContextoMenu = new UIContextoMenu(this);
                }
                return this.mUIContextoMenu;
            }
        }
        #endregion

        #region Fields
        private UIContextoMenu mUIContextoMenu;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIContextoMenu : WinMenu
    {

        public UIContextoMenu(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WinMenu.PropertyNames.Name] = "Contexto";
            #endregion
        }

        #region Properties
        public WinMenuItem UIGuardarcomoMenuItem
        {
            get
            {
                if ((this.mUIGuardarcomoMenuItem == null))
                {
                    this.mUIGuardarcomoMenuItem = new WinMenuItem(this);
                    #region Search Criteria
                    this.mUIGuardarcomoMenuItem.SearchProperties[WinMenuItem.PropertyNames.Name] = "Guardar como";
                    #endregion
                }
                return this.mUIGuardarcomoMenuItem;
            }
            set
            {
                this.mUIGuardarcomoMenuItem = value;
            }
        }
        #endregion

        #region Fields
        private WinMenuItem mUIGuardarcomoMenuItem;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIGuardarcomoWindow : WinWindow
    {

        public UIGuardarcomoWindow()
        {
            #region Search Criteria
            this.SearchProperties[WinWindow.PropertyNames.Name] = "Guardar como";
            this.SearchProperties[WinWindow.PropertyNames.ClassName] = "#32770";
            this.WindowTitles.Add("Guardar como");
            #endregion
        }

        #region Properties
        public UIPaneldedetallesPane UIPaneldedetallesPane
        {
            get
            {
                if ((this.mUIPaneldedetallesPane == null))
                {
                    this.mUIPaneldedetallesPane = new UIPaneldedetallesPane(this);
                }
                return this.mUIPaneldedetallesPane;
            }
        }

        public UIGuardarWindow UIGuardarWindow
        {
            get
            {
                if ((this.mUIGuardarWindow == null))
                {
                    this.mUIGuardarWindow = new UIGuardarWindow(this);
                }
                return this.mUIGuardarWindow;
            }
        }
        #endregion

        #region Fields
        private UIPaneldedetallesPane mUIPaneldedetallesPane;

        private UIGuardarWindow mUIGuardarWindow;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIPaneldedetallesPane : WinPane
    {

        public UIPaneldedetallesPane(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WinControl.PropertyNames.Name] = "Panel de detalles";
            this.WindowTitles.Add("Guardar como");
            #endregion
        }

        #region Properties
        public WinComboBox UINombreComboBox
        {
            get
            {
                if ((this.mUINombreComboBox == null))
                {
                    this.mUINombreComboBox = new WinComboBox(this);
                    #region Search Criteria
                    this.mUINombreComboBox.SearchProperties[WinComboBox.PropertyNames.Name] = "Nombre:";
                    this.mUINombreComboBox.WindowTitles.Add("Guardar como");
                    #endregion
                }
                return this.mUINombreComboBox;
            }
        }
        #endregion

        #region Fields
        private WinComboBox mUINombreComboBox;
        #endregion
    }

    [GeneratedCode("Coded UITest Builder", "12.0.30501.0")]
    public class UIGuardarWindow : WinWindow
    {

        public UIGuardarWindow(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            this.SearchProperties[WinWindow.PropertyNames.ControlId] = "1";
            this.WindowTitles.Add("Guardar como");
            #endregion
        }

        #region Properties
        public WinButton UIGuardarButton
        {
            get
            {
                if ((this.mUIGuardarButton == null))
                {
                    this.mUIGuardarButton = new WinButton(this);
                    #region Search Criteria
                    this.mUIGuardarButton.SearchProperties[WinButton.PropertyNames.Name] = "Guardar";
                    this.mUIGuardarButton.WindowTitles.Add("Guardar como");
                    #endregion
                }
                return this.mUIGuardarButton;
            }
        }
        #endregion

        #region Fields
        private WinButton mUIGuardarButton;
        #endregion
    }

}
