Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
9 replies
Subscribers
8 subscribers
Views
5290 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
#FitNesse for Appian 1.6
chandu
A Score Level 2
over 8 years ago
Hi, I'm getting the below error while trying to run a test script
Unable to start test system 'slim': fitnesse.slim.SlimError: Error SLiM server died before a connection could be established. Error: Could not find or load main class Server\\FitNesseForAppian-1.6\\FitNesseForAppian.log4j.properties
Earlier we are using FitNesse 1.3.1 it is working fine, but we see this error in later FitNesse version 1.6
The below is the configured code in suite page
!***> FitNesse Configurations
!define TEST_SYSTEM {slim}
!define COMMAND_PATTERN {java -Dlog4j.configuration=file:///${automated.testing.home}/log4j.properties -cp %p %m}
!path ${automated.testing.home}/**.jar
***!
OriginalPostID-264619
Discussion posts and replies are publicly visible
0
chandu
A Score Level 2
over 8 years ago
Attaching the log4j file for reference. Can any one compare this lo4j file with the older version of FitNesse is there any change done with this?
log4j.properties
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kanchank1
over 8 years ago
hi Chandrasekar,
Even I got this message with even ver 1.4. Good thing is this is not related with Fitnesse version so the upgrade of Fitnesse version is not the culprit.
Try running Fitnesse on IE , if you are running on Chrome or other browser because Iwas getting this error with Chrome but not IE (ver 11)and verify once your custom config file, if the automated testing path and version is updated properly and let me know if that works for you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kanchank1
over 8 years ago
Also please try this sequence --- Static Page -> Suite Page -> Test page.
Test page should be the innermost in this loop. After that you could execute a suite page/Test Page depending on how you have divided the required details - Fitnesse configuration, test Set Up and main script.
An easy way to verify if problem is with Fitnesse or your script is - put everything in proper sequence in a test page and run that test, if it runs fine means you are not putting the above mentioned details in proper sequence.
Now when a test page runs fine (try on IE 11), then try breaking it into a suite page and there these Fitnesse configuration steps that you have pasted in the main post, should be copied in Suite page content . Please try and let me know if taht works for you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kanchank1
over 8 years ago
a static page would only hold contents, it is a non-executable page. A test page is the lowest level of executable page and a suite would hold a collection of test pages which could be executed at one go and a static page can hold and only hold any of these three types of pages.
So try this I am able to execute my tests with this on Fitnesse 1.6
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chandu
A Score Level 2
over 8 years ago
Kanchan Thank you for your comments, the problem with was custom config file. Now its working fine.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
hemanthv
over 8 years ago
chandrasekharg: i am too getting the same issue, Can you please help me out with this
i am using Chrome browser to test sample example
through the similar kind of error like
Unable to start test system 'slim': java.io.IOException: Cannot run program ""C:\\Program Files\\Java\\jdk1.8.0_92\\bin\\bin\\java"": CreateProcess error=2, The system cannot find the file specified
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
hemanthv
over 8 years ago
This is the custom.properties:
### FITNESSE ###
automated.testing.home=C://FitNesseForAppian
FITNESSE_FOR_APPIAN_VERSION=v1.3.1
### CHROME ###
# Leave blank if installed in default location of: C:/Program Files (x86)/Google/Chrome/Application/chrome.exe
chrome.browser.home=C:\\\\Program Files (x86)\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe
# Leave blank if using the Windows driver included in TESTING_HOME/lib/drivers/chromedriver.exe
chrome.driver.home=
### FIREFOX ###
# Leave blank if installed in default location of: C:/Program Files (x86)/Mozilla Firefox/firefox.exe
firefox.browser.home=
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chandu
A Score Level 2
over 8 years ago
hey Hemanth not sure what the root cause of the error is. Can you check does the java is installed perfectly if so "C:\\Program Files\\Java\\jdk1.8.0_92\\bin\\bin\\java" check this path, Apart from that custom.properties file have correct configurations. I use the backward slashes(\\\\) instead
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
hemanthv
over 8 years ago
Ok thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel