//------------------------------------------------------------------------------
// <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): [tagname 'Exact' a] AND [TextContent 'Exact' Save changes]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor SaveChangesLink
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor>("TextContent=Save changes", "tagname=a");
                }
            }
            /// <summary>
            /// Find logic 
            /// (Html): [id 'Exact' IsInRole] AND [tagname 'Exact' input]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputCheckBox IsInRoleCheckBox
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputCheckBox>("id=IsInRole", "tagname=input");
                }
            }
            /// <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>("name=IsInRole1", "tagname=input");
                }
            }
            /// <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>("name=IsInRole2", "tagname=input");
                }
            }
            /// <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>("name=IsInRole3", "tagname=input");
                }
            }
            /// <summary>
            /// Find logic 
            /// (Html): [name 'Exact' IsInRole4] AND [tagname 'Exact' input]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputCheckBox IsInRole4CheckBox
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputCheckBox>("name=IsInRole4", "tagname=input");
                }
            }
            public class ExpressionDefinitions
            {
                public ArtOfTest.WebAii.Core.HtmlFindExpression SaveChangesLink = new ArtOfTest.WebAii.Core.HtmlFindExpression("TextContent=Save changes", "tagname=a");
                public ArtOfTest.WebAii.Core.HtmlFindExpression IsInRoleCheckBox = new ArtOfTest.WebAii.Core.HtmlFindExpression("id=IsInRole", "tagname=input");
                public ArtOfTest.WebAii.Core.HtmlFindExpression IsInRole1CheckBox = new ArtOfTest.WebAii.Core.HtmlFindExpression("name=IsInRole1", "tagname=input");
                public ArtOfTest.WebAii.Core.HtmlFindExpression IsInRole2CheckBox = new ArtOfTest.WebAii.Core.HtmlFindExpression("name=IsInRole2", "tagname=input");
                public ArtOfTest.WebAii.Core.HtmlFindExpression IsInRole3CheckBox = new ArtOfTest.WebAii.Core.HtmlFindExpression("name=IsInRole3", "tagname=input");
                public ArtOfTest.WebAii.Core.HtmlFindExpression IsInRole4CheckBox = new ArtOfTest.WebAii.Core.HtmlFindExpression("name=IsInRole4", "tagname=input");
            }
        }
    }
}
