Hi Josh,
A quick look at your test file below shows that you’re doing:
[Return] ${TestPlatformTar}
Which returns a variable to NOTHING. If you want the value of ${TestPlatformTar} to be available outside the Suite Setup KW, then I would suggest replacing the above line with:
Set Suite Variable ${TestPlatformTar}
Which alters the scope of the ${TestPlatformTar} variable to Suite instead of local to the KW.
I’m not sure about the “Import Library” part… I’ve had trouble myself getting dynamic library imports like this to work. Maybe others can advise in this area.
Cheers,
Martin
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To post to this group, send email to
robotframe...@googlegroups.com.
To unsubscribe from this group, send email to
robotframework-u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/robotframework-users?hl=en.
Hi Martin,I wasn't aware of "Set Suite Variable" keyword, thank you.In regards to the function returning a value to nothing, I was actually trying to use the return value in the following way:
Suite Setup ${TestPlatformTar}= Suite Setup
But it appears that this statement is not legal as mentioned in original post. But the keyword that you mentioned will remove the need for this all together... But you're right still leaves the library import issue there.I might just have to include the import in every keyword, or keyword setup.
On Fri, Apr 27, 2012 at 12:48 PM, Taylor, Martin <cmta...@ti.com> wrote: