Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
HP Recommended

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

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

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

View solution in original post

1 REPLY 1
HP Recommended

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

Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.