Handling Dialog box
I am writing a Loadrunner's script to run a load test on a web site. when access to the web site, a login required. But, if the login fail, a Windows "dialog box" prompt for "Invalid Login". And the web pages remain unchange with login name & password cleared. In this case, how to detect the dialog box? How to detect the login is fail?
Thanks a lot
Re: Handling Dialog box
a different approach to this is to check for the success rather that the failure.
By using a text or graphic check specific to the first page displayed after login, you should be able to record any unsuccessful logins irregardless of what mechanism is used to flag this (pop-up window, windows message box, text on the login page etc.).
Hope this helps,