PageRenderTime 23ms CodeModel.GetById 15ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.Tests/PageTemplates/Admin/ThemesGallery.cs

#
C# | 27 lines | 23 code | 4 blank | 0 comment | 0 complexity | 9b574c1869179a4bceb8099768cb3c0c MD5 | raw file
 1using WatiN.Core;
 2
 3namespace BlogEngine.Tests.PageTemplates.Admin
 4{
 5    public class ThemesGallery : Page
 6    {
 7        public string Url
 8        {
 9            get { return Constants.Root + "/admin/Extensions/Themes.cshtml?t=2"; }
10        }
11
12        public TextField TxtSearch
13        {
14            get { return Document.TextField(Find.ById("searchGallery")); }
15        }
16
17        public Button BtnSearch
18        {
19            get { return Document.Button(Find.ById("btnGalSearch")); }
20        }
21
22        public Link ABoldy
23        {
24            get { return Document.Link(Find.ById("a-Boldy")); }
25        }
26    }
27}