Comments on: 3 ways to use keyboard input in QuickTest Professional: Type, SendKeys and Device Replay https://testguild.com/qtp-keyboard-input/ Wed, 26 Jan 2022 10:16:25 +0000 hourly 1 By: Joe Colantonio https://testguild.com/qtp-keyboard-input/#comment-244657 Thu, 13 Oct 2016 23:41:55 +0000 https://testguild.com/?p=109#comment-244657 In reply to Sudharshana.

Are the machines up and running without the screen saver turned on?

]]>
By: Sudharshana https://testguild.com/qtp-keyboard-input/#comment-244577 Thu, 13 Oct 2016 11:09:53 +0000 https://testguild.com/?p=109#comment-244577 Hi Joe,

I am using Jenkins slave and trying to run the scripts in a remote machine. I am having issue in executing the SendKeys or DeviceReplay steps (to enter data in a WebElement). There are executing only when i am logged into the Remote. Is there any other alternative?

Thanks,
Sudharshana

]]>
By: anderson https://testguild.com/qtp-keyboard-input/#comment-229147 Mon, 11 Jul 2016 13:59:58 +0000 https://testguild.com/?p=109#comment-229147 someone can help me?
I can’t make the keyboard button PAUSE work.
What happnes?
i’m used this code :

wait 2
Set myReplay = creatobject (“Mercury.DeviceReplay”)
myReplay.PressKey 116 ‘PAUSE
wait 2

I need to clear the screen of Mainframe.

]]>
By: [BLOCKED BY STBV] Revealed: Four Secret Functions Hidden in QTP and UFT | Joe Colantonio - Selenium-UFT-QTP-SoapUI-ALM-LoadRunner & more https://testguild.com/qtp-keyboard-input/#comment-138781 Tue, 11 Nov 2014 14:52:58 +0000 https://testguild.com/?p=109#comment-138781 […] I actually covered this functionality in my previous post, Three ways to use keyboard input using QTP/UFT. […]

]]>
By: Joe Colantonio https://testguild.com/qtp-keyboard-input/#comment-72530 Fri, 03 Jan 2014 00:36:12 +0000 https://testguild.com/?p=109#comment-72530 In reply to pooja.

Does it work if you use the ASCII code Chr(43) for the + sign? For more info on how to use the Chr() in QTP check out my ASCII CHR QTP POST

]]>
By: pooja https://testguild.com/qtp-keyboard-input/#comment-71443 Sat, 28 Dec 2013 17:43:28 +0000 https://testguild.com/?p=109#comment-71443 Hi,
I am using following command :-
set WshShell = CreateObject(“WScript.Shell”)
WshShell.SendKeys “{ENTER}”
WshShell.SendKeys “+:techstack”
I observed it is not writing ‘+’ symbol, the data written by script is “:techstack” instead of “+:techstack”
Please help me with this issue.
Thanks,
Pooja

]]>
By: Alfonso Flores https://testguild.com/qtp-keyboard-input/#comment-65560 Fri, 06 Dec 2013 17:13:37 +0000 https://testguild.com/?p=109#comment-65560 Please HELP!!!!!
I’ve been using in IE8 Grid a .fireevent “ondblclick” and a .set methods to enter data in a grid.
A IE had a lot of isues in many ways, we’ve migrated to Firefox 12.
Trying to call the same funtion, neither the .fireevent and .Set methods worked.

Have tried several ways to set the information using:

“set mySendKey = CreateObject(“WScript.shell”)
var1 = “Datatable (“parameter1”, “global”)
mySendKeys.SendKeys (var1)”
And
“myDeviceReplay.SendString var1”
without any success.
In both cases the var1 is entered VERY FAST! and only remains on the object the last 3 letters of such variable.
have tried one by one on a loop with “wait 1”

Please help!!!!!

Ragards and thank you!

Alfonso

]]>
By: Anbarasu https://testguild.com/qtp-keyboard-input/#comment-62788 Tue, 22 Oct 2013 20:38:46 +0000 https://testguild.com/?p=109#comment-62788 I am writing a QTP function to send emails through Outlook 2007. I am unable to send the email programmatically using Outlook object because I am getting security Dialog Popup.
Keyboard shortcut to send Email from Outlook is Alt+s. How to press Alt+s using Presskey method.

]]>
By: Joe Colantonio https://testguild.com/qtp-keyboard-input/#comment-61982 Sat, 05 Oct 2013 22:50:20 +0000 https://testguild.com/?p=109#comment-61982 In reply to Manu Sharma.

I’m not sure when you spy on the control after pressing an Alt key is there any property that changes? If so you can check for that property in your test to confirm that the Alt occurred. I don’t know if there is an ASCII character you could look for that represents an underline character. Anyone else have any suggestions?

]]>
By: Manu Sharma https://testguild.com/qtp-keyboard-input/#comment-61765 Tue, 01 Oct 2013 12:03:35 +0000 https://testguild.com/?p=109#comment-61765 Hi Joe,

Is it possible to check which mnemonic is underlined after pressing the “Alt” key? In one of our scenarios, we need to verify whether character “b” is underlined when we press “Alt” key for a checkbox control. Any idea?

Regards

]]>