Ask a Question

Keys()-function broken in TC 12.4 x64

SanderK
Occasional Contributor

Keys()-function broken in TC 12.4 x64

I use TestComplete to test a Delphi VCL application. After upgrading to TestComplete version 12.4 I noticed that the x64 version fails to execute a TEdit.Keys() command properly. In the x86 version everything still works fine, but the x64 version will not input anything into the TEdit and post an "Incomplete keyboard input"-warning to the log.

5 REPLIES 5
tristaanogre
Esteemed Contributor

What happens if you change "Keys" to "SetText"?  Unless you actually need to simulate keyboard events against the control, SetText will work just fine for entering values into an edit field.  I know this doesn't exactly resolve your problem, but it is a work around.

 

Additional question: Your application under test, is it a 32-bit app or a 64-bit app? It's possible that there may be a bit of a performance problem for TC x64 to send key commands to a 32-bit control.  In any case, try SetText... and I would also suggesting opening a support ticket directly to SmartBear customer service as they will be able to help more with technical issues in the tool.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
SanderK
Occasional Contributor

The reason I use Keys instead of SetText is because this type of edit component does not appear to have that function available.

Our application under test is indeed a 32 bit app, so that might be part of the problem as you say. For now I'll just stick with the 32 bit version of TC, but I thought it would be useful to report this issue.

tristaanogre
Esteemed Contributor

Use https://support.smartbear.com/message/?prod=TestComplete to report this issue directly to SmartBear.  While smartbear employees to monitor these forums and respond here, this kind of issue would do better as something to send directly to them.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

Hi Sander,

 

Have you been able to submit this issue to the Customer Care team directly as Robert suggested? If not, I would appreciate it if you submitted it. I think that the problem is somehow related to your environment and we would like to investigate it.

 

http://support.smartbear.com/message/?prod=TestComplete

 

Thank you in advance!

--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

Hi Sander,

 

I would like to let you know that we were able to identify the issue you are facing and have a fix for it. Please contact us to get the fix.

 

Thanks!

--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: