java - how to set the test case name at runtime using test ng? -
we need set test case name dynamically @ run time. i'm using webtestfactory execute same test case different parameters need provide different test case name each run.
please advise.
testng has interface org.testng.itest
. implement interface implementing
public string gettestname();
in test methods, set parameters gettestname()
can return meaningful name.
Comments
Post a Comment