-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Notebooks Archive
- Triggering the enter key in UFT

Create an account on the HP Community to personalize your profile and ask a question

03-06-2015 08:39 AM
I have been trying to get UFT to simulate clicking the "Enter" key on the keyboard without success. I have tried several methods. Here is what I have currently:
Browser("Interaction Center - [Identify").Page("Interaction Center - [Identify").Frame("WorkAreaFrame1_11").WebEdit("C20_W77_V78_V84_erpadminh_stru").Set "4000340"
Dim objKeys
Set objKeys = createobject ("wscript.shell")
objKeys.SendKeys "{ENTER}"
Set objKeys = Nothing
Nothing is occuring when I run the script and I need it to click "Enter" after typing in the number.
Any help for this would be appreciated. Thank you very much
Solved! Go to Solution.
Accepted Solutions
06-07-2015 06:46 PM
This is the wrong forum for Servers, Storage, Software, and Networking. Use the EBC forum:
http://h30499.www3.hp.com/
http://h30499.www3.hp.com/t5/Unified-Functional-Testing/bd-p/sws-Fun_TEST_SF
06-07-2015 06:46 PM
This is the wrong forum for Servers, Storage, Software, and Networking. Use the EBC forum:
http://h30499.www3.hp.com/
http://h30499.www3.hp.com/t5/Unified-Functional-Testing/bd-p/sws-Fun_TEST_SF
