I have a "LogIn" recording module and a "doSomething" recording module in a TC, that looks like this:
TC
LogIn
doSomething
LogIn
The LogIn module is data driven with a variable for username. The first time the LogIn module is used it should use one username variable value. The second time the LogIn module is used (in the same case) it should use a different username variable value.
Yes, it should be possible to achieve what you want. You just have to enclose the Login module in smartfolder and set this smartfolder with data connector and data range of your choice. Like this (code-less way):