It’s also worth noting that all these new properties are made public. This isn’t necessarily something we want to promote and you should try to avoid calling public page properties from your test script; but now you can if you really need to. For example, before, to read a page using view model you would have to first create a page wrapper; e.g.

This new interface also allows you to use jQueryBy selector which allows you to use your good old jQuery selectors for element targeting.

Some resources to get started

If you are new to Seleno then go grab it while it’s hot. Although pre V1 it’s quite stable and has been in use by many teams for quite some time now. Seleno allows you to write maintainable UI tests. As a bonus point if you are using ASP.Net MVC it significantly reduces the amount of code you have to write to interact with your page by hooking into MVC infrastructure and using your view models to interact with your pages.