GithubHelp home page GithubHelp logo

examples's People

Contributors

anshooarora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

examples's Issues

Messages issued by ExtentTest's log() or info() method calls not displayed in report

In a previous release of the Extent-Report framework using HTML3-version code like

test = extent.createTest("myTest");
test.log(Status.PASS, "Test Step 1 : some action");

made the suplied text appear in the report as desired, see this example
ExtentRepWithLogMessage

This doesn't seem to work any longer with this release. Code like

ExtentTest test = ExtentTestManager.getTest();
test.info("Message");
test.log(Status.PASS, "Some other message");

doesn't result in the messages being displayed, e.g.:
2020-04-08_19h41_04

Would you mind to take a look into this?
Kind regards -- Fank

Can I add text box with additional information in a spark report?

Hi,
Can I add information to a spark report programmatically using this new extent framework?
In the previous version could use code like below to output a box with added information about my test environment in the report:

			extent = new ExtentReports();	
			extent.attachReporter(spark);
			
			extent.setSystemInfo("Automation Tester", "Frank Bergemann");
			extent.setSystemInfo("Organization", "NTT DATA");
			extent.setSystemInfo("Build no", "SDLC 001");
			extent.setSystemInfo("Environment", "localhost");
			extent.setSystemInfo("OS", "Win10");
			extent.setSystemInfo("Browser", DriverSingleton.getBrowser());

As an alternative, is it possible to add this information by assigning properties in extent.properies file? If yes, where can I look up to supported property keys?
Can anyone help?
Kind regards
-- Frank

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.