My application not identified the values entered by Winrunner, my Code is
after running this code my application throws an error, user name cannot be blank, user name is enter in the field, but when i tried manually, it is working. Suggest me how to proceed.
With Best Regards
Which type of application are you testing? Java?
Might be that your application needs some keyboard events that will not be sent from WinRunner. In this case this statement might help:
Or you try type() or obj_type() instead of edit_set() and check if this works...
Sounds like what I have seen on any of the new applications developed for the web from .NET.
edit_set() will display the information into the control, but it won't be registered by the application on POST.
Try the method of using edit_set(object,"") to clear the contents of the control, then follow with obj_type(object,"my text") to enter the infromation you need to.
Insanity: doing the same thing over and over again and expecting different results
Thanks Juergen & Davis for your replies, the below code is worked for me