title: Can rules be used to run certain test methods
body: <p>I have question related to creating test methods in my coded UI test.
  Is it possible to create like rules or like an if else statement tree that would execute certain test methods to run when certain things happening or when i'm on a certain counter?. </p>
  
  <p>I don't know if this is the correct way to do this.  I was going to do it in a 1 huge block of code but i dont really like the direction that is going in, since the application i'm testing has to account for different paths.  </p>
  
  <p>I want to create and have test methods run based on these if else statements code blocks. </p>
  
  <p>If anyone has done this any help would be greatly appreciated. Thanks</p>