Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Getting an Error while running TestNG Suite

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

I have the following XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">;
<suite name="Single Family">
<parameter name="user" value="test" />
<parameter name="password" value="pppp" />
<parameter name="dm-docbase" value="RMDev_SF01" />
<parameter name="rm-docbase" value="RMDev_RM01" />
<parameter name="xmlFile" value="d:\staging\testng_fnm_rpt_app_regstat.xml"></parameter>

<test name="test-lender_insurance_doc">
<classes>
<class name="com.my.dctm.bof.testng.TestOperations" />
</classes>
</test>
<listeners>
<listener class-name="com.my.dctm.bof.testng.report.BOFReport" />
</listeners>

</suite>



When I run this thru the Test NG I get the following Error



 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At a guess does com.my.dctm.bof.testng.TestOperations or com.my.dctm.bof.testng.report.BOFReport exist and are on the CLASSPATH?
 
This cake looks terrible, but it tastes great! Now take a bite out of this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic