Unable to create new remote session with ranorex 10.2.2 driver

Ranorex Studio, Spy, Recorder, and Driver.
willyhalim
Posts: 4
Joined: Mon Sep 12, 2022 7:24 am

Unable to create new remote session with ranorex 10.2.2 driver

Post by willyhalim » Wed Sep 21, 2022 10:40 am

Issues
Unable to create new remote session. desired capabilities = Capabilities {browserName: Ranorex, rx:app: calc, rx:force: true, rx:whitelist: [Calculator]}

Steps to reproduce
Ranorex driver version = 10.2.2 ( port 7993 )
Chrome WebDriver Version = 3.141.59

Code

Code: Select all

  @Test
    public void test2()throws Exception{
        final DesiredCapabilities extraCaps = new DesiredCapabilities();
        extraCaps.setCapability(RanorexCapabilities.RX_APP, "calc");
        extraCaps.setBrowserName("Ranorex");
        extraCaps.setCapability("rx:force", true);
        extraCaps.setCapability(RanorexCapabilities.RX_WHITELIST, ImmutableList.of("calculator","calc"));
        RemoteWebDriver driver = new RemoteWebDriver(new URL("http://127.0.0.1:7993"), extraCaps);
    }

Findings
the same code works again ranorex 9 and we realized there is some differences in the response from the driver
Version 10.2.2

Code: Select all

{sessionId=9feab1b2cdf8476aa16fa391922437d4, value={platform=Windows NT, browserName=Ranorex, sessionId=9feab1b2cdf8476aa16fa391922437d4}}
Version 9 ( Working )

Code: Select all

{sessionId=fb8b92432fca457e99f14548a7523c12, value={capabilities={browserName=Ranorex, browserVersion=9.3.0+git.44aa845f, platformName=Windows NT, rx:app=calc, rx:workdir=null, rx:whitelist=[Calculator], rx:force=true}, sessionId=fb8b92432fca457e99f14548a7523c12}}

IvanF
Posts: 151
Joined: Thu Aug 11, 2022 8:55 pm

Re: Unable to create new remote session with ranorex 10.2.2 driver

Post by IvanF » Thu Sep 22, 2022 4:21 pm

Hi willyhalim,

Could you please submit this as a support ticket, including the info you have already provided but also

- Is there any exception occurring, or is the code simply not starting the session?
- Do you have any additional debug output?