Regading \"On Error Resume Next\"
how to use "On Error Resume Next"?
I'm importing excel sheet from my local drive to QTP Datasheet. It (Excel sheet)contains 5 records of user name and Password fields. If first login fails, QTP should go and pick 2nd record to login to the application. The loop should continue till all the 5 records done.
Please help me...
Re: Regading \"On Error Resume Next\"
Yes, Ambience, you are absolutely right.
In case of LogIn Application fails - it should be coverage from TC code.
'On Error Resume Next' is used only to capture and manage script or QTP codes Errors.
QTP will never threat not correct Login as Error,
and this line is irrelavante for this coverage.
Even more: it is misunderstanding and not correct using of
'On Error Resume next'