This is a migrated thread and some comments may be shown as answers.

WPF: User.Click() does not work on x64 CPU architecture.

3 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Igor Sychev
Top achievements
Rank 1
Igor Sychev asked on 23 Aug 2017, 07:19 AM

Hello.

Telerik Testing Framework try to simulate mouse click (UserInteraction.Click) using method SendInput to interact with application, but mouse click does not occur.

The main reason is that method SendInput used in x86 architecture maner.

Structure ArtOfTest.WebAii.Win32.Input does not support that in x64 length of field type 8 instead 4.

The problem is discussed in my question on stackoverflow  - C#: The unmanaged method SendInput does not work with different representation of the structure .

The main question is whether the Testing Framework supports architecture x64?

If yes, can you fix that problem?

If no, can you throw exception at test initializing? - It is common practice that users immediately understand the problem.

 

 

 

3 Answers, 1 is accepted

Sort by
0
Nikolay Petrov
Telerik team
answered on 28 Aug 2017, 08:40 AM
Hi Igor,

Thank you for this feedback. Unfortunately we could not reproduce reported problem. Could you send us a sample application and a test scenario that could reproduce it to investigate further.

Thank you in advance for your cooperation. I hope to hear from you soon.

Kind Regards,
Nikolay Petrov
Progress Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
yu
Top achievements
Rank 1
answered on 19 Jan 2018, 09:46 AM

Hello,

      I would like ask the similar question,too. It will click fail when run my program which build with "ANYCPU" and run on x64 platform.

Does Telerik Testing Framework support architecture x64 platform? Thanks

 

Regards,

Yu

0
Nikolay Petrov
Telerik team
answered on 24 Jan 2018, 08:48 AM
Hi Yu,

Thank you for your question.

It is possible on a 64-bit OS to create a test project which refers Testing Framework dll and is built to support "Any CPU" platform. Using this test project "User" actions can be set and executed on a WPF application built for "Any CPU" or explicit 64-bit platform.

Please, provide a sample application and scenario that we could use to reproduce the problem you are facing related to a 64-bit architecture.

Best Regards,
Nikolay Petrov
Progress Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Igor Sychev
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
yu
Top achievements
Rank 1
Share this question
or