Solved
Forum Discussion
4 Replies
- nmrao
Champion Level 1
Am sure there can be otherways, but this is one of the way.
Read the value from data source.
Then set it as test case level property value, may be in groovy step
In the jdbc step, create a parameter say firstName and its value as ${#TestCase#FIRST_NAME} (assuming that FIRST_NAME was sent in groovy step)
sql query looks like:
select * from TABLE_NAME where TABLE_COLUMN = :firstName
Loop thru data source.
Hope this helps.
- nmrao
Champion Level 1
It would have helped you and others if you try the reply rather than posting duplicates.- lokithorshieldContributor
Thanks and sorry for the trouble. I actually did not realize i have posted twice- am not sure how I did that. Maybe i was also trying to post in stack overflow i must have copy pasted twice instead of once.
Mahesh