Open padmasri opened 8 years ago
thanks padmasri, but report template may get affected if we increase the columns. could you please provide me more details.
Thank you so much for responding quickly. :)
My management team has asked me that is there any way we can add Description about the test case in the place of "TimeTaken(ms)", which will give the details what the test is doing.
And if possible adding the company logo, in the bottom of the file. Same like Footer in MS Word file.
@padmasri hmm need to make dymanic column on demand by the template of the report is under development , I will update this in next release.
Thank you so much :)
@padmasri footer is reserved for the open source library content. cont remove that or add any company logo on footer.
@padmasri library is updated with new feature showing and hiding the table columns. its available under maven repository version"2.1.2" release, use this version for the latest changes or download the latest jar and use
Hi Uttesh,
I have similar concern as padmasri has. Please find the attached Query.
You are doing great. Thanks for your help
@ayaz915 thanks,
You can use annotation attribute testName
of the test method, Plugin will consider annotation attribute testName
first if not present it will consider method name.
i.e.
@Test(testName = "testing the testname attribute 1 ", description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut porttitor ut augue ut sodales. Vivamus maximus arcu ac odio vehicu ") public void Page1Test() { Assert.assertEquals(true,false); }
test case value will be attribute testName
if not present it will get method name i.e. Page1Test
hope this helps.
you can also make the data provider dynamically set the method name for your requirement, Once the test name are dynamically populated, pdf plugin automatically update those names. below link may help to set the method name dynamically by data provider.
http://stackoverflow.com/questions/15220262/custom-test-method-name-in-testng-reports
http://biggerwrench.blogspot.in/2014/02/testng-dynamically-naming-tests-from.html
Thanks Uttesh,
Actually I am using data provider to generate multiple runs of the same test and want each run to have a unique name then there is a problem----
Please Help..
@ayaz915 Create an issue for your requirement, it's in my todo list for next release.
Thanks Uttesh, I have created an issue for this. Please let me know when you have release.
@uttesh,
Thank you so much for adding this.
Hi Uttesh, @uttesh
Thank you so much for your efforts to generate PDF reports.
Is there any way that, we can add few more columns (Like Description about test case..etc) to the table in the report?
Regards, Padma.