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

4 posts, 0 answers
  1. Igor Sychev
    Igor Sychev avatar
    1 posts
    Member since:
    Apr 2017

    Posted 23 Aug 2017 Link to this post

    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.

     

     

     

  2. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    308 posts

    Posted 28 Aug 2017 Link to this post

    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
     
  3. yu
    yu avatar
    6 posts
    Member since:
    Apr 2017

    Posted 19 Jan Link to this post

    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

  4. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    308 posts

    Posted 24 Jan Link to this post

    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
     
Back to Top