Guest User

Untitled

a guest
Dec 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. [TestFixture(typeof(InternetExplorerDriver))]
  2. [TestFixture(typeof(FirefoxDriver))]
  3. [TestFixture(typeof(ChromeDriver))]
  4. class Edit<TWebDriver> : BaseTest<TWebDriver> where TWebDriver : IWebDriver, new()
  5. {
  6. [Test]
  7. public void Test()
  8. {
  9. //test code
  10. }
  11. }
  12.  
  13. [Test]
  14. public void Test()
  15. {
  16. if(testFixture typeof is InternetExplorerDriver)
  17. {
  18. Assert.Ignore("test not to be run in IE");
  19. }
  20.  
  21. // all the test code
  22. }
Add Comment
Please, Sign In to add comment