Ok. So here is my first post and its a help me question. How lame..... [img]/images/graemlins/grin.gif[/img]
I am using QTP 9.2 with Java 9.1 addin and have a login applet written in swing and deployed through webstart. QTP records it without a problem, but when I replay, the values for Username and Password entered in lower case. Only I entered them in Upper case at recording time.
I tried to do the parametarization with datatable and entered the values in all caps, but still - QTP only inserts lower case.
Re: A weird problem in QTP 9.2 with Java plugin 9.1
To my knowledge, I am unaware of any reason for this to happen. You should be able to put in a literal string or a parameterized value into your .Set method and it should set it the way you created it, with capitalization.
Have you tried including UCase to the .Set method?
Browser().Page().WebEdit().Set UCase ("username")
Probably won't help, since ultimately it sets the same value to the WebEdit that you would have set by just using .Set "USERNAME", but maybe it's worth a try.
As an aside, is it possible the swing applet is converting your value to lowercase?