
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi All,
We are trying to integrating our Silk Test Classic automation to Silk Central 17.0. We are wondering how to pass the different environment URLs to run our Silk Test Classic automation from Silk Central.
Thank you for any sharing!
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
How many urls do you test?
A possible workaround could be:
1. Create a .opt file for each url you want to test. (demo.opt, staging.opt, production.opt) and specify a compiler constant in these files:
[CompilerConstants]
my_url = "demo.borland.com"
2. In Silk Central specify a parameter called url (possible values "demo", "staging" and "production")
3. Use this parameter to specify the used opt file by configuring the Options Set in Silk Central as:
/${url}.opt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Additional info: We have a global variable for environment URL in the Silk Test Classic inc file. As part of the integration with Silk Central, we like to pass in a similar URL parameter from Silk Central to the Silk Test so the inc file can pick up the parameter and use globally.
We can pass the parameter as argument for each test case from Silk Central, but this need to rewrite our test case since we use a global URL parameter for all the test cases.
Please also share your way of handling global parameter for Silk Central and Silk Test integration.
Thank you for sharing!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
How many urls do you test?
A possible workaround could be:
1. Create a .opt file for each url you want to test. (demo.opt, staging.opt, production.opt) and specify a compiler constant in these files:
[CompilerConstants]
my_url = "demo.borland.com"
2. In Silk Central specify a parameter called url (possible values "demo", "staging" and "production")
3. Use this parameter to specify the used opt file by configuring the Options Set in Silk Central as:
/${url}.opt