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
How to import dataset with parameter in robot framework
How to import dataset with parameter in robot framework
- Pièces jointes
-
- robot_example.txt
- (399 octets) Téléchargé 317 fois
-
- squash_param.png (7.82 Kio) Consulté 2350 fois
Re: How to import dataset with parameter in robot framework
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
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
thanks you for the help