Micro Focus QTP (UFT) Forums
PressKey with JavaEdit - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: PressKey with JavaEdit (/Thread-PressKey-with-JavaEdit)



PressKey with JavaEdit - rameshrise3 - 09-22-2009

Hi,
I am trying to use Ctrl+End, End & Home keys for a JavaEdit box,
Ctrl+Home is working fine, but nothing else works.

The object is as follows
Code:
Browser("...").Page("...").Frame("....").ActiveX("......").JavaApplet("....").JavaEdit("....")

I am using .PressKey, its working only for Ctrl Home, but not for others,
even for other keys the statement executes but, it wont perform the according action.

Any help would be greatly appreciated.

Thanks
Rammy


RE: PressKey with JavaEdit - basanth27 - 09-22-2009

Would you mind using the Sendkeys method and see if that helps.

Does the app behave the same for sendkeys ??

Subsequently, if Sendkeys wouldnt then try to use, DeviceReplay.PressKey [ Not sure if this exist, but if it does please try ]