pdfngreport icon indicating copy to clipboard operation
pdfngreport copied to clipboard

Displaying wrong time for test case execution

Open testUser112 opened this issue 8 years ago • 7 comments

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

testUser112 avatar Jun 14 '16 12:06 testUser112

@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!

uttesh avatar Jun 14 '16 14:06 uttesh

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

testUser112 avatar Jun 15 '16 06:06 testUser112

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

uttesh avatar Jun 15 '16 15:06 uttesh

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" [email protected] 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 .

testUser112 avatar Jun 15 '16 15:06 testUser112

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

uttesh avatar Jun 15 '16 15:06 uttesh

@testUser112 is issue is resolved ?

uttesh avatar Jun 21 '16 07:06 uttesh

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.

hypezao avatar Aug 22 '16 20:08 hypezao