Access epi-pages from app.config files



In our epi project we are using Selenium webdriver tests.

What we want to do is get the "title" of a page - and check if it's correct.

Right now we have a app.config file where these are defined (just as strings)

An example can be seen below:


So when we go to the cart page we want to check if it's titte is "Varukorg".

Our question is, if it is possible to get the "correct epi-page" out in app.config file so that we can call thats "displayname" or something along those lines?

Mar 17, 2016 12:46

You could add some meta tags to html to indicate page type etc and validate against these. Or validate vs css classes instead of actual content that an editor might change.

Adding a few extra css classes to html makes Selenium test much more stable.

Edited, Mar 17, 2016 13:06
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.