//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.586
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace TestStudioProject
{
    using ArtOfTest.WebAii.Core;
    using ArtOfTest.WebAii.ObjectModel;
    using ArtOfTest.WebAii.TestAttributes;
    using ArtOfTest.WebAii.TestTemplates;
    using ArtOfTest.WebAii.Controls.HtmlControls;
    
    public class Pages
    {
        private Manager _manager;
        public Pages(Manager manager)
        {
            _manager = manager;
        }
        /// <summary>
        /// Page : http://localhost:64000/ 
        /// </summary>
        public HomePagePage HomePage
        {
            get
            {
                return new HomePagePage("http://localhost:64000/", _manager.ActiveBrowser.Find);
            }
        }
        public class HomePagePage : HtmlPage
        {
            public HomePagePage(string url, Find find) : 
                    base(url, find)
            {
            }
            /// <summary>
            /// Find expressions for this page
            /// </summary>
            public ExpressionDefinitions Expressions
            {
                get
                {
                    return new ExpressionDefinitions();
                }
            }
            /// <summary>
            /// Find logic 
            /// (Html): [name 'Exact' IsInRole1] AND [tagname 'Exact' input]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputCheckBox IsInRole1CheckBox
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputCheckBox>("tagname=input", "name=IsInRole1");
                }
            }
            /// <summary>
            /// Find logic 
            /// (Html): [name 'Exact' IsInRole2] AND [tagname 'Exact' input]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputCheckBox IsInRole2CheckBox
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputCheckBox>("tagname=input", "name=IsInRole2");
                }
            }
            /// <summary>
            /// Find logic 
            /// (Html): [name 'Exact' IsInRole3] AND [tagname 'Exact' input]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputCheckBox IsInRole3CheckBox
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputCheckBox>("tagname=input", "name=IsInRole3");
                }
            }
            public class ExpressionDefinitions
            {
                public ArtOfTest.WebAii.Core.HtmlFindExpression IsInRole1CheckBox = new ArtOfTest.WebAii.Core.HtmlFindExpression("tagname=input", "name=IsInRole1");
                public ArtOfTest.WebAii.Core.HtmlFindExpression IsInRole2CheckBox = new ArtOfTest.WebAii.Core.HtmlFindExpression("tagname=input", "name=IsInRole2");
                public ArtOfTest.WebAii.Core.HtmlFindExpression IsInRole3CheckBox = new ArtOfTest.WebAii.Core.HtmlFindExpression("tagname=input", "name=IsInRole3");
            }
        }
    }
}
