I'm using C# + Selenium WebDriver + NUnit 3.* for testing in several browsers.
My code:
[TestFixture(typeof(FirefoxDriver))]
[TestFixture(typeof(ChromeDriver))]
[TestFixture(typeof(InternetExplorerDriver))]
[TestFixture(typeof(EdgeDriver))]
public class Login_Test<TWebDriver> where TWebDriver : IWebDriver, new()
{
...
}
How it looks in VisualStudio
Is it possible to mark each test for appropriate browser for better view?
Aucun commentaire:
Enregistrer un commentaire