Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Multiple Data Sources in Scripting
jefftuckerbofa
Posts: 234 ✭
in Virtualize
Trying to use this example from the scripting PDF:
from java.util import *
def addDataSources(context):
ds = ArrayList()
ds.add("DS1")
ds.add("DS2")
return ds
But, when I try to use one of the data sources it says that the data source does not exist. Can you post a valid method that uses one of these ? Thanks JT
0
Comments
-
Hi,
Have you tried using the context object to get the values from the data source? This example in the documentation shows accessing a data source value by using a "getValue" method that takes the name of the data source and the name of the column
0