ripplegupta
8 years agoContributor
Solved
How to get type of data source step like jdbc or excel via groovy
Hi, I have question that how to get type used in data source step in groovy like jdbc, data connection, excel etc. If (getTestStep.config.type == "datasource") As per above script, if condition ca...
- 8 years ago
Take a look at the getDataSource() method of the class WsdlDataSourceTestStep, this returns a DataSource object which has a getType() method.
I've never had to use this so don't know if this is the most approprate solution for you, but perhaps its a good place to start.