TestProject Forum
Powered by leading experts in the test automation community

How do I pass parameters to a Job

Hello there,

How do I pass parameters to a Job?

The Job has multiple tests and each needs a parameter. While running the individual tests prompts for a value.
However, when running them in Job, its taking the default parameter and I dont see a way to pass the parameter.

Is there a way to pass value to a param inside a test through a Job?

Thanks,
Rgds,
Velasini

Hello @velasini.sanathkumar
You can use a CSV and attach it to the test in the Job to pass Parameters to those tests.
https://docs.testproject.io/schedule-and-run-tests/using-data-driven-jobs-in-testproject

Or you can use the Restful API by using this Endpoint:

You have the option to select a test by index and pass that test specific parameters.