How to import dataset with parameter in robot framework

sai29
Messages : 5
Inscription : mar. juil. 29, 2025 9:49 am

How to import dataset with parameter in robot framework

Message 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
Pièces jointes
robot_example.txt
(399 octets) Téléchargé 317 fois
squash_param.png
squash_param.png (7.82 Kio) Consulté 2351 fois
kung
Messages : 10
Inscription : mer. juil. 05, 2023 12:11 pm

Re: How to import dataset with parameter in robot framework

Message 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
sai29
Messages : 5
Inscription : mar. juil. 29, 2025 9:49 am

Re: How to import dataset with parameter in robot framework

Message par sai29 »

thanks you for the help
Répondre

Revenir à « Présentez-vous / Introduce yourself »