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

ExtentXReport always with Default name and Default Project #37

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

Comments

Projects
None yet
2 participants
@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 from ExtentXReort to ExtentXReport always with Default name and Default Project Mar 15, 2017

@anshooarora

This comment has been minimized.

Show comment
Hide comment
@anshooarora

anshooarora Mar 15, 2017

Owner

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

Owner

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

This comment has been minimized.

Show comment
Hide comment
@sisillV

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

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 join this conversation on GitHub. Already have an account? Sign in to comment