Please do NOT submit bugs to this forum, instead use expeccoALM at


Postby srinivas » 19. Dec 2008, 13:17

Can anybody explain me in detail about parameterization in expecco and also whether it works in demo version(free)?
Posts: 5
Joined: 18. Dec 2008, 15:18

Re: parameterization

Postby cgittinger » 19. Dec 2008, 20:53

There are multiple possibilities to parametrize tests, depending on what you mean by parameterization, choose one of the following:

for simple parameters like hostname strings, port numbers etc. you can use the Project-Environment or a TestSuite-Environment. Add a variable there and initialize it with an appropriate value. Use this as "Freeze-from-Environment" value of a steps input pin.
This corresponds roughly to a "constant definition" in other language environments. However, environment variables can also be declared to be READ/WRITE (see more below).

Notice that environments are technically nested scopes. This means, that you can place the same testcase or block into multiple testplans (or outer blocks), each with different environment values.

Notice also, that it is possible to change a variable's setting programmatically by specific setter-blocks. We use this in one project, to dynamically adapt to the SUT by reading out some configuration parameters before the actual test starts, and placing those values into the environment (instead of passing them down via input pins).

Notice also, that a variable-environment can be saved/loaded independent from the testSuite, to separate the testSuite from its parameter sets. It is also possible to specify a parameter set via the command line.
In the pro version, tests can also be started remote-controlled via SOAP or HTTP, and a parameter set can be passed with each run. (see also the discussion in the other thread "" and read more in our wiki ""

an often recurring situation is that you want to run a test suite (for example, a recorded transaction) with a set of different parameters (firstname, lastname, account-nr etc.). These test-vectors can be either generated dynamically, or read from a file. In either case, define your test-activity-block to read the parameter vector from an input-pin, and reuse this basic action in a higher one, feeding the vectors. To read vectors from a CSV file (for example as exported from exel), use the CSV-reader block (in the stdlibrary). However, you can use any other text- or vector generating block as a feeder. If requried, use a converter; for example, to convert random data into strings or similar. With the developer- or pro-versions, you could write your own block in JavaScript or Smalltalk.

Notice here, that after a selenium capture, you can select a bunch of actions (rectangle-select) and refactor them into a separate "with parameters" action.

I hope this answers (some of) your question (did I forget anything ?)

regards, Claus
Posts: 61
Joined: 12. Nov 2008, 17:05

Return to General Help

Users browsing this forum: No registered users and 1 guest

Design by GB