Need more descriptive results
For login function in QTP I used If-else for invalid username and password due to which script performed next actions and run for all iterations.
My question is I need message in results as “Invalid username or password” so able to know which login is with invalid username.
Please give suggesation.
Re: Need more descriptive results
user_value = "User"
password_value = "Password"
Reporter.ReportEvent micFail,"Step Login","Failed to login with user " & user_value & " and password " & password_value
de omnibus dubitandum
For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this