In a web application i enter the login name and password by using external excel sheet in datadriven test. just i check the welcome page whether it shows the login name. Please lemmeknow the logic n code.
Its not easy to tell the logic and code without knowing ur app...and no here will do that also...
If your app displays the loginId somewhere after successful login, then try to put an checkpoint or use "getroproperty "on that object and parameterise the values to the excel data, so that the value is compared against the expected.
Search the QTP help for checkpoint and getroproperty for more info..