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

namespace NerdDinnerTelerikTest2
{
    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://uscdcoss190:8080/ 
        /// </summary>
        public NerdDinnerPage NerdDinner
        {
            get
            {
                return new NerdDinnerPage("http://uscdcoss190:8080/", _manager.ActiveBrowser.Find);
            }
        }
        /// <summary>
        /// Page : http://uscdcoss190:8080/Home/About 
        /// </summary>
        public AboutPage About
        {
            get
            {
                return new AboutPage("http://uscdcoss190:8080/Home/About", _manager.ActiveBrowser.Find);
            }
        }
        public class NerdDinnerPage : HtmlPage
        {
            public NerdDinnerPage(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): [href 'Exact' /Home/About] AND [tagname 'Exact' a]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor AboutLink
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor>("href=/Home/About", "tagname=a");
                }
            }
            /// <summary>
            /// Find logic 
            /// (Html): [id 'Exact' Location] AND [tagname 'Exact' input]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputText LocationText
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputText>("id=Location", "tagname=input");
                }
            }
            /// <summary>
            /// Find logic 
            /// (Html): [id 'Exact' search] AND [tagname 'Exact' input]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputSubmit SearchSubmit
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputSubmit>("id=search", "tagname=input");
                }
            }
            public class ExpressionDefinitions
            {
                public ArtOfTest.WebAii.Core.HtmlFindExpression AboutLink = new ArtOfTest.WebAii.Core.HtmlFindExpression("href=/Home/About", "tagname=a");
                public ArtOfTest.WebAii.Core.HtmlFindExpression LocationText = new ArtOfTest.WebAii.Core.HtmlFindExpression("id=Location", "tagname=input");
                public ArtOfTest.WebAii.Core.HtmlFindExpression SearchSubmit = new ArtOfTest.WebAii.Core.HtmlFindExpression("id=search", "tagname=input");
            }
        }
        public class AboutPage : HtmlPage
        {
            public AboutPage(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' Find Dinner]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor FindDinnerLink
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor>("TextContent=Find Dinner", "tagname=a");
                }
            }
            public class ExpressionDefinitions
            {
                public ArtOfTest.WebAii.Core.HtmlFindExpression FindDinnerLink = new ArtOfTest.WebAii.Core.HtmlFindExpression("TextContent=Find Dinner", "tagname=a");
            }
        }
    }
    public class Applications
    {
        private Manager _manager;
        public Applications(Manager manager)
        {
            _manager = manager;
        }
    }
}
