uttesh / pdfngreport

This is the pdf report plugin library written for testng/selenium frameworks, this listener will generate the pdf report on testcases execution, its very simple to configure no need to write any code.
http://uttesh.github.io/pdfngreport/
Other
30 stars 26 forks source link

Displaying wrong time for test case execution #15

Open testUser112 opened 8 years ago

testUser112 commented 8 years ago

Hi Uttesh,

I have used your code to generate pdf reports and it is working properly. Problem i am facing is

Test case execution time is wrong. I have 5 test cases I am execution in 12345 order but in report it is displaying in 42351 and also displaying wrong execution time

uttesh commented 8 years ago

@testUser112 Thanks, Could you please provide more information which will help to understand the issues, execution order and time are untouched by the library, provide information on how time/order are validated across library result!

testUser112 commented 8 years ago

screen shot 2016-06-15 at 11 44 04 am screen shot 2016-06-15 at 11 44 15 am

@uttesh thanks for the reply

As you can see in the screen shot attached,

NavigateToLaunchPage test will be executed first, Then enterUsernameAndPassword, finally tapbutton.

But in pdf report it is displaying as

  1. tap button: June 15 2016 11:06:21
  2. NavigateToLaunchPage: June 15 2016 11:06:24
  3. enterUsernameAndPassword: June 15 2016 11:06:28

Could you please help me to fit this problem

uttesh commented 8 years ago

@testUser112 unable to reproduce the issue, tried with simple test class with priority set, report is showing proper result and execution time order .

testUser112 commented 8 years ago

Hi Uttesh,

Can I send you complete project??

It would be very grateful if you can help me to resolve this. On Jun 15, 2016 9:04 PM, "uttesh" notifications@github.com wrote:

@testUser112 https://github.com/testUser112 unable to reproduce the issue, tried with simple test class with priority set, report is showing proper result and execution time order .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/uttesh/pdfngreport/issues/15#issuecomment-226225780, or mute the thread https://github.com/notifications/unsubscribe/ATAY00_UDuFNV8QpB_Hlq7AGh3RTc1Xkks5qMBuKgaJpZM4I1QLh .

uttesh commented 8 years ago

@testUser112 fine put it in google drive and send me the link. i assume its a sample project!

uttesh commented 8 years ago

@testUser112 is issue is resolved ?

hypezao commented 8 years ago

I'm experiencing the same results as @testUser112.

When TestNG is running, the tests follow the order given, but after the pdf generation, they are randomly ordered.

capturar

It should be ordered like CT001, CT002, CT003, etc.