Hi Guys,
I am trying to run FitnesseForAppian test cases in a distributed manner, but apparently, it doesn't work. I looked at the documentation and I couldn't find any information about it.
Background:
Using selenium hub and selenium nodes - in pure selenium realm, I am able to connect to a remote machine which has a chrome installation to execute test cases. so the topology is:
My Local machine -> Selenium hub -> Selenium Nodes (the execution happens on these machines)
What I would like to do is:
Fitnesse on my My local machine -> ?? -> Selenium Nodes (the execution happens on these machines)
Note:
By looking at custom.properties file I have noticed that there are entries to specify the remote Chrome and Firefox but when I set it, Fitnesse for Applian seems to be ignoring it. Following is dump of my custom.properties file
### FITNESSE #### Populate with location of FitNesseForAppian installation directoryautomated.testing.home=/mnt/c/FitNesseForAppian
FITNESSE_FOR_APPIAN_VERSION=v19.1.2download.directory=/mnt/c/FitNesseForAppiandownload.mime.types=application/xml,text/plain,text/xml,image/jpeg,image/png
# When set to true, FitNesse tests will login to Tempo News, ignoring any path in the URL after /suitelogin.to.base.url=false
### CHROME #### Leave blank if installed in default location of: C:/Program Files (x86)/Google/Chrome/Application/chrome.exe# For MacOS or Linux/Unix, update with location of Chrome binarychrome.browser.home=# Leave blank if using the Windows driver included in TESTING_HOME/lib/drivers/chromedriver.exe# For MacOs or Linux/Unix, update with correct driver in TESTING_HOME/lib/drivers, e.g. /TESTING_HOME/lib/drivers/chromedriver-mac# Download new or additional drivers at sites.google.com/.../downloadschrome.driver.home=/mnt/c/FitNesseForAppian/lib/drivers/chromedriver-linux
### FIREFOX #### Leave blank if installed in default location of: C:/Program Files (x86)/Mozilla Firefox/firefox.exe# For MacOS or Linux/Unix, update with location of Firefox binaryfirefox.browser.home=# Leave blank if using the Windows driver included in TESTING_HOME/lib/drivers/geckodriver.exe# For MacOS or Linux/Unix, update with correct driver in TESTING_HOME/lib/drivers, e.g. /TESTINGHOME/lib/drivers/geckodriver-mac# Download new or additional drivers at github.com/.../releasesfirefox.driver.home=/mnt/c/FitNesseForAppian/lib/drivers/geckodriver-linux64
### REMOTE FIREFOX #### Leave empty if connecting to localhostfirefox.host.ip=1.2.3.4# Leave empty if connecting to port 4444firefox.host.port=4444
### REMOTE CHROME #### Leave empty if connecting to localhostchrome.host.ip=3.4.5.6# Leave empty if connecting to port 4444chrome.host.port=4444
Really appreciate your help,
Discussion posts and replies are publicly visible
I'm having a similar issue...
I have my selenium firefox container up and running on port 4444... I populate firefox.host.ip and port... but my local firefox installation is being used...
My expectation is that when I set teh REMOTE FIREFOX values, I would not see my browser open and run the tests.
I've figured out my situation, hopefully this helps you too...
From the FItnesse Cheat Sheet:
Initialize Selenium Web Driver and open browser. Options include FIREFOX, CHROME, REMOTE_FIREFOX, REMOTE_CHROME:
In my case, I'm using the example integration tests that ship with the Appian Devops Quickstart.
I followed the instructions (https://github.com/appian/devops-quickstart/tree/master/devops/f4a) to update the context.txt (https://github.com/appian/devops-quickstart/blob/master/devops/f4a/test_suites/QuickStartIntegrationTest/content.txt) ... but I never updated the line that says setup with | FIREFOX | browser
When I change FIREFOX to REMOTE_FIREFOX, the tests run against my 'remote' container instead of my host firefox.
Thanks mate for getting back. Your suggestion helps alot as now fitnesse connects to remote chrome/firefox now.