Forum Discussion

DSmachineWorld's avatar
DSmachineWorld
Contributor
12 months ago
Solved

Scope of Data-Driven Loop Table Variable

I have a keyword test level variable from a DB table called accountID. 

If I want to use the current run time value of this variable in a script routine inside my keyword test, do I need to pass it as a parameter to the script routine?

Currently I have this line inside my Python script routine which is not working at all.

FooFileName = KeywordTests.checkFoo.Variables.Value["accountID"]

where checkFoo is the name of the keyword test and accountID is the data-driven loop DBTable variable.

This returns a "The object does not support this property or method".