Skip to main content

13 replies

mathieud0001
September 12, 2023

What were you trying to do when you got that error?

September 12, 2023


Actually i was trying to Run test example. test case was executed but finally i got error instead of Report or successful completion 

mathieud0001
September 12, 2023

Can you open the testExample to see the contents?

mathieud0001
September 15, 2023

I solved the first error message by simply including a log4 configuration file in the Fitnesse installation directory though it did not seem to log anything despite the configuration.

The last warning seems to be due to a mismatch in the dependencies. Doesn't seem to affect the functionality though.

https://stackoverflow.com/questions/72062605/unable-to-find-an-exact-match-for-cdp-version-x-in-selenium

September 15, 2023

I added also log4 properties file. but still same error i m getting. Respected Sir

mathieud0001
September 15, 2023

This is my output

This is my log4j

# Root logger option
log4j.rootLogger=DEBUG, stdout, file

# Redirect log messages to console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n

# Redirect log messages to a log file
log4j.appender.file=org.apache.log4j.RollingFileAppender
#outputs to Tomcat home
log4j.appender.file.File=${catalina.home}/logs/myapp.log
log4j.appender.file.MaxFileSize=5MB
log4j.appender.file.MaxBackupIndex=10
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n

As I mentioned before. all this does is remove the error message but changes nothing. (no logging).