RPA Server Upgrade
Upgrade under Windows
Back up the current installation. For example, copy RPA folder (
C:\RPA) toC:\RPA_old.Uninstall RPA using the respective item from Programs and Features in Control Panel.
Install RPA as described in RPA Server Installation.
If
hub.jsonandnodeX.jsoninC:\RPA\rpa-grid\have been modified in the previous installation for any particular purposes, replace the newly created files with those from the backup, for example,C:\RPA_old\rpa-grid\.
caution
Do not replace new files while upgrading to version 8.5 from the previous versions, as the files are incompatible. In this case it is recommended to set the custom capabilities in new files.
Upgrade under Linux
Run the following file to stop RPA Manager:
$INSTALL_DIR/apps/rpa-manager/stop.shReplace the RPA Manager file (
rpa-manager-server-$version.war) in the RPA Manager folder ($INSTALL_DIR/apps/rpa-manager/) with the new one.Run the following file to start RPA Manager:
$INSTALL_DIR/apps/rpa-manager/start.sh
RPA Package Selenium 3 Upgrade
Hub.json

Selenium 2:
{
"host": null,
"port": 4444,
"newSessionWaitTimeout": 300000,
"servlets": ["com.workfusion.grid.web.WFServlet",
"com.workfusion.grid.web.HealthCheckHubServlet"],
"prioritizer": null,
"capabilityMatcher": "com.workfusion.grid.hub.ConfigurableCapabilityMatcher",
"capabilityMatcherConfig" : [{"platform":"platform"},
{"browserName":"exact"},
{"version":"rvm"}],
"throwOnCapabilityNotPresent": true,
"nodePolling": 5000,
"cleanUpCycle": 5000,
"timeout": 300000,
"browserTimeout": 0,
"maxSession": 30,
"jettyMaxThreads": -1
}
Selenium 3 (RPA 8.5.0):
{
"host": null,
"port": 4444,
"newSessionWaitTimeout": 300000,
"servlets": ["org.openqa.grid.selenium.workfusion.grid.web.WFServlet",
"org.openqa.grid.selenium.workfusion.grid.web.HealthCheckHubServlet"],
"prioritizer": null,
"capabilityMatcher": "org.openqa.grid.internal.utils.ConfigurableCapabilityMatcher",
"capabilityMatcherConfig" : [{"platform":"platform"},
{"browserName":"exact"},
{"version":"rvm"}],
"throwOnCapabilityNotPresent": true,
"nodePolling": 5000,
"cleanUpCycle": 5000,
"timeout": 300000,
"browserTimeout": 0,
"maxSession": 30,
"jettyMaxThreads": -1
}
NodeX.json

Selenium 2:
{
"capabilities":[
{
"platform": "WINDOWS",
"browserName": "internet explorer",
"version": "11",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
},
{
"platform": "WINDOWS",
"browserName": "desktop",
"version": "1.0",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
},
{
"platform": "WINDOWS",
"browserName": "universal",
"version": "1.0",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "chrome",
"version": "1.0",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "firefox",
"version": "1.0",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
}
],
"configuration":{
"servlets": "com.workfusion.grid.web.HealthCheckNodeServlet",
"maxSession":2,
"port":5000,
"host": "127.0.0.1",
"register":true,
"registerCycle": 5000,
"hubPort":4444,
"hubHost":"127.0.0.1",
"nodeTimeout":120,
"nodePolling":2000,
"cleanUpCycle":2000,
"timeout":600000
}
}
Selenium 3 (RPA 8.5.0):
{
"capabilities":[
{
"platform": "WINDOWS",
"browserName": "internet explorer",
"version": "11",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
},
{
"platform": "WINDOWS",
"browserName": "desktop",
"version": "1.0",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
},
{
"platform": "WINDOWS",
"browserName": "universal",
"version": "1.0",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "chrome",
"version": "1.0",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "firefox",
"version": "1.0",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
}
],
"servlets": ["org.openqa.grid.selenium.workfusion.grid.web.HealthCheckNodeServlet"],
"maxSession":2,
"port":5000,
"host": "127.0.0.1",
"hubPort":4444,
"hubHost":"127.0.0.1",
"nodePolling":2000,
"cleanUpCycle":2000,
"timeout":600000
}
start-hub.bat

Selenium 2:
...
:start
echo "%_messageStarting%"
cd /d %~dp0
%_javaPath%\bin\java -Dfile.encoding=UTF-8 %_logConfig% -cp %_javaPath%\lib\tools.jar;*;dependency\* com.workfusion.grid.CustomGridLauncher %_role% %_config%
:end
...
Selenium 3 (RPA 8.5.0):
...
:start
echo "%_messageStarting%"
cd /d %~dp0
%_javaPath%\bin\java -Dfile.encoding=UTF-8 %_logConfig% -cp %_javaPath%\lib\tools.jar;*;dependency\* org.openqa.grid.selenium.workfusion.grid.SeleniumGridLauncher %_role% %_config%
:end
...
start-nodeX.bat

Selenium 2:
...
:start
echo "%_messageStarting%"
cd /d %~dp0
%_javaPath%\bin\java -Dfile.encoding=UTF-8 %_logConfig% -cp %_javaPath%\lib\tools.jar;*;dependency\* com.workfusion.grid.CustomGridLauncher %_role% %_config%
:end
...
Selenium 3 (RPA 8.5.0):
...
:start
echo "%_messageStarting%"
cd /d %~dp0
%_javaPath%\bin\java -Dfile.encoding=UTF-8 %_logConfig% -cp %_javaPath%\lib\tools.jar;*;dependency\* org.openqa.grid.selenium.workfusion.grid.SeleniumGridLauncher %_role% %_config%
:end
...
Application properties
The following new properties should be added to the application.properties file:
find.node.retry.count: retry count for node search (default value: 10)find.node.wait.timeout: wait between retries to find a node in milliseconds (default value: 10000)