anshooarora / extentreports-csharp

Community version of Extent API for .NET has moved to https://github.com/extent-framework/
http://extentreports.com/
Other
47 stars 43 forks source link

ExtentX not working after update 3.0.2 #50

Closed fasteningcode closed 7 years ago

fasteningcode commented 7 years ago

After I update the extent to version 3.0.2, am not able to run the tests which are connected to ExtentX. It was working perfectly before the update....

Screenshot attached reportserverlibrarybug

anshooarora commented 7 years ago

Can you share your ExtentXReporter instantiating code?

anshooarora commented 7 years ago

And also the complete stacktrace.

fasteningcode commented 7 years ago

var htmlReporter = new ExtentHtmlReporter(reportPath); var extentxReporter = new ExtentXReporter();

extentxReporter.Configuration().ReportName = "Automation Reports"; extentxReporter.Configuration().ProjectName = "Test Environment"; extentxReporter.Configuration().ServerURL = "http://fc01.fasteningcode.local:27017/";

extent.AttachReporter(htmlReporter, extentxReporter);

**Note : The same code was working before the update.

anshooarora commented 7 years ago

This should be the url of the ExtentX server:

extentxReporter.Configuration().ServerURL = "http://fc01.fasteningcode.local:1337/";

In the instantiation, point to where the MongoDB server is running:

var extentxReporter = new ExtentXReporter("mongodb-host", mongodb-port);
fasteningcode commented 7 years ago

Thank you Anshoo

It worked

jloyzaga commented 7 years ago

Hi Anshoo,

is the version that is com visible available for download yet?

Joe

On Wed, Apr 26, 2017 at 7:01 AM, fasteningcode notifications@github.com wrote:

Thank you Anshoo

It worked

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/anshooarora/extentreports-csharp/issues/50#issuecomment-297163571, or mute the thread https://github.com/notifications/unsubscribe-auth/ANPCAy0cftuf-QSEuJ9i0Hg5e49c7Kqzks5rzl8NgaJpZM4M0_G4 .

jloyzaga commented 7 years ago

does this mean its not in the latest version yet?

On 26/04/2017 7:01 AM, fasteningcode wrote:

Thank you Anshoo

It worked

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/anshooarora/extentreports-csharp/issues/50#issuecomment-297163571, or mute the thread https://github.com/notifications/unsubscribe-auth/ANPCAy0cftuf-QSEuJ9i0Hg5e49c7Kqzks5rzl8NgaJpZM4M0_G4.