Change Parameters based on agent

Hi all

I’m looking for a way to change the parameters of a test based on which agent it running them.

We used the “Image Comparison” addon which requires a PATH to read/write images. When creating/updating a test, I work on my local machine, but when it’s ready, it runs in a docker container in Jenkins.
Project variable doesn’t work as it impacts all the tests
Test variable doesn’t ask me the override if I trigger it from a job

Is there a way to setup variables so that it’s easy to switch between sets of values ?

Hi @jason30mhz,
You can adapt the information in this article to fit your case (TestCase1 = local and TestCase2 = Docker eg.):

You can also use the ‘Dropbox Actions’ or the ‘Google Actions’ instead of using a different path for each agent.

Please let me know if you need any assistance / more information.

This topic was automatically closed after 180 days. New replies are no longer allowed.