Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MaheshGooner opened this issue Aug 26, 2020 · 14 comments
Open

Comments

@MaheshGooner
Copy link

MaheshGooner commented Aug 26, 2020

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
Copy link
Author

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

@victorBychinski
Copy link

This issue with build numbers is reproducible

@MaheshGooner
Copy link
Author

@victorBychinski have you managed to workaround this problem?

@victorBychinski
Copy link

@MaheshGooner hello,
nope. You?

@MaheshGooner
Copy link
Author

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

@GarrethD
Copy link

GarrethD commented Jan 29, 2021

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

@MaheshGooner
Copy link
Author

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

@samchughtai
Copy link

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

@GarrethD
Copy link

GarrethD commented Apr 9, 2021 via email

@samchughtai
Copy link

@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

@GarrethD
Copy link

GarrethD commented Apr 9, 2021 via email

@MaheshGooner
Copy link
Author

@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 extent-framework/extentreports-csharp#128, once fixed u should see it working.

@samchughtai
Copy link

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

@Kislaya1
Copy link

Kislaya1 commented Dec 18, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants