PageRenderTime 49ms CodeModel.GetById 23ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. using WatiN.Core;
  2. namespace BlogEngine.Tests.PageTemplates.Admin
  3. {
  4. public class ThemesGallery : Page
  5. {
  6. public string Url
  7. {
  8. get { return Constants.Root + "/admin/Extensions/Themes.cshtml?t=2"; }
  9. }
  10. public TextField TxtSearch
  11. {
  12. get { return Document.TextField(Find.ById("searchGallery")); }
  13. }
  14. public Button BtnSearch
  15. {
  16. get { return Document.Button(Find.ById("btnGalSearch")); }
  17. }
  18. public Link ABoldy
  19. {
  20. get { return Document.Link(Find.ById("a-Boldy")); }
  21. }
  22. }
  23. }