Forum Discussion

JKowalczyk's avatar
JKowalczyk
Occasional Contributor
14 years ago

How to switch between ENVs from a command line test runner?

Hi All,


I'm trying to make a use of this new multiple Environment handling feature.
It works just fine in GUI, but I can't find a way to switch between them using the command line test runner.
Any ideas how I can do this?


Cheers,
JK

1 Reply

  • paceroza's avatar
    paceroza
    New Contributor
    I haven't used new feature yet but

    testrunner <projectname> -P<parametername>=<parametervalue> works just fine for me. In a project I set environment parameters for endpoint and credentials (plus some more) and applying new value in command line it changes environment.