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

namespace TestProject229
{
    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 : https://file-examples.com/index.php/text-files-and-archives-download/ 
        /// </summary>
        public SampleTextFilesAndPage SampleTextFilesAnd
        {
            get
            {
                return new SampleTextFilesAndPage("https://file-examples.com/index.php/text-files-and-archives-download/", _manager.ActiveBrowser.Find);
            }
        }
        public class SampleTextFilesAndPage : HtmlPage
        {
            public SampleTextFilesAndPage(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' h2] AND [TextContent 'StartsWith' Sample text fil]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl SampleTextH2Tag
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl>("TextContent=^Sample text fil", "tagname=h2");
                }
            }
            /// <summary>
            /// Find logic 
            /// (Html): [href 'Exact' https://file-examples.com/wp-content/uploads/2017/02/zip_2MB.zip] AND [tagname 'Exact' a]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor DownloadLink
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor>("href=https://file-examples.com/wp-content/uploads/2017/02/zip_2MB.zip", "tagname=a");
                }
            }
            public class ExpressionDefinitions
            {
                public ArtOfTest.WebAii.Core.HtmlFindExpression SampleTextH2Tag = new ArtOfTest.WebAii.Core.HtmlFindExpression("TextContent=^Sample text fil", "tagname=h2");
                public ArtOfTest.WebAii.Core.HtmlFindExpression DownloadLink = new ArtOfTest.WebAii.Core.HtmlFindExpression("href=https://file-examples.com/wp-content/uploads/2017/02/zip_2MB.zip", "tagname=a");
            }
        }
    }
    public class Applications
    {
        private Manager _manager;
        public Applications(Manager manager)
        {
            _manager = manager;
        }
    }
}
