Micro Focus QTP (UFT) Forums
JavaEdit printing the input text twice - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: JavaEdit printing the input text twice (/Thread-JavaEdit-printing-the-input-text-twice)



JavaEdit printing the input text twice - Raj - 07-29-2008

Hi All,

I'm setting javaEdit text as c123. But in runtime it's always setting 'cc112233'.

Code:
Browser("Logon").Page("Logon").JavaApplet("LogonApplet").JavaEdit("UID:").Set "c123"

what's wrong with this ?

Thanks in advance,
Raj


RE: JavaEdit printing the input text twice - Rajashekar Gouda - 07-29-2008

Hi Raj,

try this and let me know the result

Code:
Browser("Logon").Page("Logon").JavaApplet("LogonApplet").JavaEdit("UID:").Click
wait(1)
Browser("Logon").Page("Logon").JavaApplet("LogonApplet").JavaEdit("UID:").Set "c123"


Regards
Raj


RE: JavaEdit printing the input text twice - Raj - 07-29-2008

No luck Raj, still i'm experencing the same

Thanks,
Raj