Access epi-pages from app.config files

Vote:
 

Hi, 

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?

#146546
Mar 17, 2016 12:46
Vote:
 

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.

#146547
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.