Page 1 sur 1

How to import dataset with parameter in robot framework

Publié : mar. juil. 29, 2025 10:03 am
par sai29
Hello everyone

I am using squash tm with autom to automate my test case, I use robot framework to run my scripts in execution environment.

I want to pass parameter from squash tm using parameter and dataset to my robot framework


I created a dataset in my test case. I wanted to access value of parameter name you can see the screenshot.


In my robot script i have did something like this to see if to test if i get my parameter value.


check the file robot_example.txt

but in my execution.logs in squash tm i see None

can someone help to fix the issue

Thanks in advance

Re: How to import dataset with parameter in robot framework

Publié : mar. juil. 29, 2025 11:20 am
par kung
Hello,

A prefix is added to the name of the parameter when it's transferred.

This is used to differentiate them based on their origin, since we can have multiple sources for parameters.

In your case, your parameter should be DS_name.

Here is a link to a table showing the different possibilities (and some examples) : https://tm-en.doc.squashtest.com/latest ... parameters

Kind regards,

Kevin

Re: How to import dataset with parameter in robot framework

Publié : mar. juil. 29, 2025 2:31 pm
par sai29
thanks you for the help