klov icon indicating copy to clipboard operation
klov copied to clipboard

Klov does not report on failures and build numbers are shows as nulls

Open MaheshGooner opened this issue 4 years ago • 14 comments

image image

Also there is no screenshots attached.

All these issues work in klov version 0.2.8

Update: i am using these for specflows eith ExtentRerports version 4.1.0

MaheshGooner avatar Aug 26 '20 15:08 MaheshGooner

@anshooarora could you please look at this? any adivse would be helpful

MaheshGooner avatar Sep 25 '20 11:09 MaheshGooner

This issue with build numbers is reproducible

victorBychinski avatar Nov 24 '20 21:11 victorBychinski

@victorBychinski have you managed to workaround this problem?

MaheshGooner avatar Jan 05 '21 17:01 MaheshGooner

@MaheshGooner hello, nope. You?

victorBychinski avatar Jan 11 '21 08:01 victorBychinski

@victorBychinski Hey, Not yet. For now i'm just using the older version klov 0.2.8 which i some how have it and it works on it.

MaheshGooner avatar Jan 19 '21 10:01 MaheshGooner

Hey @MaheshGooner.

I see no one got back to you so I thought I would just help you out very quickly.

The reason your Klov dashboard is not displaying the Build numbers, as well as incorrectly pulling the pass/fail test steps and not displaying images on failure, is because you are using the wrong version of Extent and those are causing issues.

Also, I would advise to upgrade everything to the latest version and switch from extent HTMLReport to Spark.

Note that I am using Java with TestNG. Your solution might look way different but the core of the solution should work.

Here let me show you what I have done and all my issues were solved:

Dependencies

image

Klov Connection to MongoDB

image

ExtentManager Class

image image

Bare in mind that you will need to change a few other things and resolve some compiler issues.

The result of the changes:

image

Hope this helps and good luck

GarrethD avatar Jan 29 '21 07:01 GarrethD

Hey @GarrethD, Kind of you to put down your solution :). I am running dotnet and was suspecting it was because of the extent reports version i am on( dotnet-core 4.1). The extent reports website shows there is version 5 released for .Net but it's only available for pro edition and doesn't work with community http://www.extentreports.com/docs/versions/5/net/index.html

MaheshGooner avatar Jan 29 '21 15:01 MaheshGooner

@MaheshGooner did you find a solution for null build number?

samchughtai avatar Apr 09 '21 14:04 samchughtai

Yes. You need to change the htmlReporter to sparkReporter.

The latest klov does not use the html but spark

On Fri, Apr 9, 2021, 16:30 samchughtai @.***> wrote:

@MaheshGooner https://github.com/MaheshGooner did you find a solution for null build number?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/extent-framework/klov/issues/67#issuecomment-816723857, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBK6VIX7DVHDH7NR3GWF2TTH4FO7ANCNFSM4QL7AIFQ .

GarrethD avatar Apr 09 '21 14:04 GarrethD

@GarrethD Which extent version are you using I can see 4.1.0 latest in NuGet. I am using community edition, I can't reach the License page https://www.extentreports.com/buy. Its returning 404. Any ideas? @anshooarora

samchughtai avatar Apr 09 '21 15:04 samchughtai

I'm using extent v5 java so it might be a little different for you but if you are using extent V4 then you should not use the latest Klov.

On Fri, Apr 9, 2021, 17:39 samchughtai @.***> wrote:

@GarrethD https://github.com/GarrethD Which extent version are you using I can see 4.1.0 latest in NuGet. I am using community edition, I can't reach the License page https://www.extentreports.com/buy. Its returning 404. Any ideas? @anshooarora https://github.com/anshooarora

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/extent-framework/klov/issues/67#issuecomment-816770531, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBK6VMBOGTXWKMCPAZFAW3TH4NSFANCNFSM4QL7AIFQ .

GarrethD avatar Apr 09 '21 15:04 GarrethD

@MaheshGooner did you find a solution for null build number?

@samchughtai there is a new klov version 5 for .net but it isn't working yet. I raised https://github.com/extent-framework/extentreports-csharp/issues/128, once fixed u should see it working.

MaheshGooner avatar Apr 09 '21 15:04 MaheshGooner

Thanks @MaheshGooner I got there and yes found the same error.

samchughtai avatar Apr 09 '21 16:04 samchughtai

Hey @MaheshGooner.

I see no one got back to you so I thought I would just help you out very quickly.

The reason your Klov dashboard is not displaying the Build numbers, as well as incorrectly pulling the pass/fail test steps and not displaying images on failure, is because you are using the wrong version of Extent and those are causing issues.

Also, I would advise to upgrade everything to the latest version and switch from extent HTMLReport to Spark.

Note that I am using Java with TestNG. Your solution might look way different but the core of the solution should work.

Here let me show you what I have done and all my issues were solved:

Dependencies

image

Klov Connection to MongoDB

image

ExtentManager Class

image image

Bare in mind that you will need to change a few other things and resolve some compiler issues.

The result of the changes:

image

Hope this helps and good luck

Hi @GarrethD ,

I am using Java version but when I am using older version of Klov, I am getting '#' instead of #1, #2 #3 etc. Image below image

But apart from these problems I am able to open the project, but with new version of klov I am getting blank page when clicking on Project created. Image is below.

image

I am not able to figure out the issue. Can you please help me.

Code which I had written.

image

Dependencies as image

Please help me !

Thanks & Regards Kislaya

Kislaya1 avatar Dec 18 '21 11:12 Kislaya1