I have a window for change pin . user must be enter pin&newpin & confirm( in 3 textbox pin-newpin-confirm) my script is : function ChangePin() { var p1; var p2; var w1; ...
Remove Tab keystrokes from your code and check how it works. If it does not work, try to enter keystrokes to your window using the Sys.Desktop.Keys calls.