Seleno helps you write automated UI tests in the right way by implementing Page Objects and Page Components and by reading from and writing to web pages using strongly typed view models.
So, how I can change the Host class to go to the page: http://www.test.com.de/products/mobile ?
I don't like the idea of creating a separate class for a separate locale (for example: public static class HostDe and call it like: _generalPage = HostDe.Instance.NavigateToInitialPage("/products/mobile");)
Hi guys,
I haven't found any solution to parametrizes this class to use different site urls? Example:
and I use this in my tests like:
I'd like to have only one Host class, but have an access to the pages for a different locales, for example: http://www.test.ca/ http://www.test.com.de/ http://www.test.dk/ http://www.it.test.com/ and so on...
So, how I can change the Host class to go to the page: http://www.test.com.de/products/mobile ? I don't like the idea of creating a separate class for a separate locale (for example: public static class HostDe and call it like: _generalPage = HostDe.Instance.NavigateToInitialPage("/products/mobile");)
Thank you very much!