Use of variables in endpoints

Ask general questions here.
AgileTesterCarlo
Posts: 7
Joined: Mon May 08, 2017 2:49 pm

Use of variables in endpoints

Post by AgileTesterCarlo » Mon May 22, 2017 8:44 am

Hi,
Does anyone know if it is possible to use variables in endpoints?
I am using a webdriver endpoint connected to Browserstack and i have to tell with parameters(Advanced capabilities Json) which browser/device/.... i am using.
I like to use variables for this, otherwise i have to create an endpoint for each configuration.
Example:
{
"browser": "IE",
"browser_version": "10",
"os": "Windows",
"os_version": "10",
"resolution": "1280x800"
}
I like to change the values to variables and connect them to an excel/csv file:
{
"browser": "$browser",
"browser_version": "$browserversion",
"os": "$os",
"os_version": "$osversion",
"resolution": "$resolution"
}

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Use of variables in endpoints

Post by Support Team » Tue May 23, 2017 12:30 pm

Hello AgileTesterCarlo,

Unfortunately, it is currently not possible to implement your use-case in Ranorex.

If you would like to be able to pass values for Json parameters via variables to an endpoint, then I would encourage you to create a Ranorex User Voice entry on our User Voice platform. Via the Ranorex User Voice you can submit your feature requests and have the community evaluate it by voting. The most voted-for ideas will get considered for implementation. You can find the Ranorex User Voice platform at the following link: http://www.ranorex.com/uservoice.html

Regards,
Tomaž