uttesh / pdfngreport

This is the pdf report plugin library written for testng/selenium frameworks, this listener will generate the pdf report on testcases execution, its very simple to configure no need to write any code.
http://uttesh.github.io/pdfngreport/
Other
30 stars 26 forks source link

Ant build.xml is giving issue #3

Closed smitjain87 closed 9 years ago

smitjain87 commented 9 years ago

Hi I am running my Test Case through Ant build.xml

I am getting given issue:

[testng] Error on line 70 of : [testng] Cannot find a matching 2-argument function named {http://xml.apache.org/xslt/java}format() [testng] ; SystemID: ; Line#: 70; Column#: -1 [testng] net.sf.saxon.trans.DynamicError: Cannot find a matching 2-argument function named {http://xml.apache.org/xslt/java}format() [testng] at net.sf.saxon.expr.ErrorExpression.evaluateItem(ErrorExpression.java:53) [testng] at net.sf.saxon.expr.ErrorExpression.iterate(ErrorExpression.java:66) [testng] at net.sf.saxon.expr.Atomizer.iterate(Atomizer.java:99) [testng] at net.sf.saxon.expr.FirstItemExpression.evaluateItem(FirstItemExpression.java:81)

Please find given my build.xml

``` ```

Please help

I am defining pdfreport listeners in my TestNG.xml file

Thanks & Regards Smit Jain 9663310652

uttesh commented 9 years ago

Hi Smit,

I just downloaded sample from the web and executed ant, its working fine.

Error on line 70?..ant xml is not having line 70, could you please validate once your not missing anything.!!!

my testing log :

C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master>ant Buildfile: C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\build.xml

clean:

compile-test: [mkdir] Created dir: C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\classes [javac] Compiling 4 source files to C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\classes

runTestNG: [testng] [TestNG] Running: [testng] C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\testng.xml [testng] [testng] [testng] =============================================== [testng] Simple Reporter Suite [testng] Total tests run: 15, Failures: 4, Skips: 7 [testng] =============================================== [testng] [testng] pdf report file path :E:\rivetsys\automation\pdfngreport\pdfng-report-22-Jun-2015-01-07-31-PM.pdf [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #1. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #2. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #3. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #4. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #5. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #6. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #7. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #8. [testng] The tests failed.

BUILD SUCCESSFUL Total time: 4 seconds

On Mon, Jun 22, 2015 at 1:01 PM, smitjain87 notifications@github.com wrote:

Hi I am running my Test Case through Ant build.xml

I am getting given issue:

[testng] Error on line 70 of : [testng] Cannot find a matching 2-argument function named { http://xml.apache.org/xslt/java}format() [testng] ; SystemID: ; Line#: 70; Column#: -1 [testng] net.sf.saxon.trans.DynamicError: Cannot find a matching 2-argument function named {http://xml.apache.org/xslt/java}format() [testng] at net.sf.saxon.expr.ErrorExpression.evaluateItem(ErrorExpression.java:53) [testng] at net.sf.saxon.expr.ErrorExpression.iterate(ErrorExpression.java:66) [testng] at net.sf.saxon.expr.Atomizer.iterate(Atomizer.java:99) [testng] at net.sf.saxon.expr.FirstItemExpression.evaluateItem(FirstItemExpression.java:81)

Please find given my build.xml

``` ```

Please help

I am defining pdfreport listeners in my TestNG.xml file

Thanks & Regards Smit Jain 9663310652

— Reply to this email directly or view it on GitHub https://github.com/uttesh/pdfngreport/issues/3.

uttesh commented 9 years ago

I'm online on https://gitter.im/uttesh/pdfngreport, you can ping me for quick support on any issues

On Mon, Jun 22, 2015 at 1:09 PM, uttesh kumar uttesh@gmail.com wrote:

Hi Smit,

I just downloaded sample from the web and executed ant, its working fine.

Error on line 70?..ant xml is not having line 70, check one are u missing anything.

my testing log :

C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master>ant Buildfile: C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\build.xml

clean:

compile-test: [mkdir] Created dir: C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\classes [javac] Compiling 4 source files to C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\classes

runTestNG: [testng] [TestNG] Running: [testng] C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\testng.xml [testng] [testng] [testng] =============================================== [testng] Simple Reporter Suite [testng] Total tests run: 15, Failures: 4, Skips: 7 [testng] =============================================== [testng] [testng] pdf report file path :E:\rivetsys\automation\pdfngreport\pdfng-report-22-Jun-2015-01-07-31-PM.pdf [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #1. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #2. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #3. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #4. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #5. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #6. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #7. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #8. [testng] The tests failed.

BUILD SUCCESSFUL Total time: 4 seconds

On Mon, Jun 22, 2015 at 1:01 PM, smitjain87 notifications@github.com wrote:

Hi I am running my Test Case through Ant build.xml

I am getting given issue:

[testng] Error on line 70 of : [testng] Cannot find a matching 2-argument function named { http://xml.apache.org/xslt/java}format() [testng] ; SystemID: ; Line#: 70; Column#: -1 [testng] net.sf.saxon.trans.DynamicError: Cannot find a matching 2-argument function named {http://xml.apache.org/xslt/java}format() [testng] at net.sf.saxon.expr.ErrorExpression.evaluateItem(ErrorExpression.java:53) [testng] at net.sf.saxon.expr.ErrorExpression.iterate(ErrorExpression.java:66) [testng] at net.sf.saxon.expr.Atomizer.iterate(Atomizer.java:99) [testng] at net.sf.saxon.expr.FirstItemExpression.evaluateItem(FirstItemExpression.java:81)

Please find given my build.xml

``` ```

Please help

I am defining pdfreport listeners in my TestNG.xml file

Thanks & Regards Smit Jain 9663310652

— Reply to this email directly or view it on GitHub https://github.com/uttesh/pdfngreport/issues/3.

uttesh commented 9 years ago

pdfngreport 2.0.5 RELEASED and new features are.

  1. Add company/client/project logo image to pdf report.
  2. swap/align title and log image files.
  3. Added new pie chart with "Explode" mode.
  4. Added new icon set on tables and action links.
  5. Added selenium failed test screen shot link on failed test table.
  6. updated supportive jar files to latest versions.

adding_logo explode_chart icon1 icon2 icon3 icon4 title_logo_align