title: Robot Framework - Using Resource Files
body: <p>I have a test file which checks for the presence of all key elements on every page of the app (one Scenario per page). However, the app is fairly complex and has different types of users (admin, regular, etc.) and I want to be able to go through the same <code>pages.robot</code> file with every type of user (and maybe have some <code>if</code> statements in that <code>pages.robot</code> file for every type of user) but I'm not sure how I should do it. I'm guessing I should be using a <code>Resource File</code> and set a global <code>userType</code> variable with <code>admin</code>, <code>regular</code>, etc. and run the <code>pages.robot</code> file multiple times (once per user type) but I'm not sure how to set up the <code>Resource File</code> and the <code>userType</code> variable.</p>
  
  <p>Any ideas on how the <code>Resource File</code> should look like and then how to run the same file for every type of user?</p>