Im making a cross browser script using selenium in java + TestNg
In my tests @Test I need to pass the browser type in to Test Description. Something like below [to make report more meaningful]
@Test(description = "Login with Admin"- browser + browserNameVariable )
I pass "browser" as a testng parameter
Please advice.
Aucun commentaire:
Enregistrer un commentaire