Problem in identification of Input to textbox
i am working on a web application.
when ever i enter a string in text box manually, it is opening a new window.
But when ever i pass the same string through QTP, it is not opening.
Please help any one of you to resolve the issue.
Thanks in advance.
Re: Problem in identification of Input to textbox
There is one scenario I can think of. Find out if a script is getting triggered on the page by an event being performed on that editbox. If this indeed is the case then you can try changing the replay type of your script.
The following example uses the ReplayType property to run mouse operations using the mouse. By default its 1, so you can change it to 2.
Setting.WebPackage("ReplayType") = 2
1 - Runs mouse operations using browser events.
2 - Runs mouse operations using the mouse.
Hope this helps.