Pending Review
Last Updated: 29 Aug 2019 12:38 by ADMIN
Created on: 20 May 2013 19:37
Type: Feature Request
Need method of global parameters for data driven tests
It would be useful to have a method where you could specify global/environmental variables/parameters that is separate and independent from the data driven feature. These global parameters would be avalaible to all tests using the Data Driven interface of binding values to test steps, but would not be mingled in the data source itself. This way you can create a data driven test that runs iterations but keep the environmental static data e.g. userid's to login as, separate from the data itself.
Posted on: 29 Aug 2019 12:38
Hello Ray,

You may have missed the post in this item, which recommends to review the options you have in using the Execution Extension. As of today's perspective, I can propose to explore the option to implement a standalone helper class file in a Test Studio project and then reuse its variables and methods in the coded steps across the tests in the project.

Here is also an example of a helper class file, which you can refer to. 

Progress Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!

Posted on: 26 Aug 2019 20:34

Hm. Six years and nothing on this suggestion? The suggestion below does not help me, unless I can create these using the Test Studio IDE only.

I can see a workaround for some of these issues.

Can we have some accessibility of environment variables in code? For example, if my code could access the following values, then I could do anything I wanted:




CURRENT_TEST_LIST - the name or NULL, if not running a test list.

CURRENT_TEST - the name

CURRENT_STEP - the name or NULL, if not in a step.

BROWSER - the name

BROWSER_VERSION - the name and the version.

OS_VERSION - the name and the version.

HOST - the name

HOST_IP - the active network interface

anything else? Perhaps.




Konstantin Petkov
Posted on: 09 Jul 2013 11:12

I'm not sure I understand that request. I assume this is about passing custom values in a data-driven execution, is that correct?

A custom execution extension may help in such a case -- one can pass whatever data is needed based on custom conditions:

I hope this helps!