Skip to content
This repository has been archived by the owner. It is now read-only.

ExtentXReport always with Default name and Default Project #37

Closed
sisillV opened this issue Mar 15, 2017 · 2 comments
Closed

ExtentXReport always with Default name and Default Project #37

sisillV opened this issue Mar 15, 2017 · 2 comments

Comments

@sisillV
Copy link

@sisillV sisillV commented Mar 15, 2017

Hi,
I try to add Project and Report name using:
var extentxReporter = new ExtentXReporter();
extentxReporter.Configuration().ReportName = "Build123";
extentxReporter.Configuration().ProjectName = "MyProject";
extentxReporter.Configuration().ServerURL = "http://localhost:1337/";

var extent = new ExtentReports();
extent.AttachReporter(htmlReporter, extentxReporter);

Like it is shown in the readme file. What I must do to really record this new values?
After I attach the extentXReport in extent object:
15-3-2017- 15-06-10

At the same time when I check ExtentXReport.Configuration() I see the values that I put:
15-3-2017- 15-08-10

@sisillV sisillV changed the title ExtentXReort ExtentXReport always with Default name and Default Project Mar 15, 2017
@anshooarora
Copy link
Owner

@anshooarora anshooarora commented Mar 15, 2017

Are these values not shown correctly in ExtentX? I am sorry I don't think I completely understand your question.

@sisillV
Copy link
Author

@sisillV sisillV commented Mar 16, 2017

Hi Anshooarora,
Yes in ExtentX I see only Default poject and default Report name if I use:

var extentxReporter = new ExtentXReporter();
extentxReporter.Configuration().ReportName = "Build123";
extentxReporter.Configuration().ProjectName = "MyProject";
extentxReporter.Configuration().ServerURL = "http://localhost:1337/";

var extent = new ExtentReports();
extent.AttachReporter(htmlReporter, extentxReporter);

This is the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.