WPF application using TextControl

9 posts, 0 answers
  1. Mark
    Mark avatar
    27 posts
    Member since:
    Nov 2011

    Posted 04 Jan 2013 Link to this post

    Hi all,
    I have an issue with the Telerik recorder.
    Actually I try to record a test case which use both WPF and TextControl technology (http://www.textcontrol.com/en_US/).
    The most relevant protocol to choose is of course WPF but once we click on a textcontrol functionality, Telerik doesn't capture anything.
    The thing is, sometime we call a WPF functionality via a TextControl functionality...
    Have you ever met that kind of issue?
    How can I go around this issue? Any ideas about that?
    Thanks in advance for your help.
  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 04 Jan 2013 Link to this post

    Hello Mark,

    Are you using this one
    http://www.textcontrol.com/en_US/products/dotnet/
    or this one?
    http://www.textcontrol.com/en_US/products/dotnetwpf/

    The first one is for WinForms. Unfortunately at this time Test Studio cannot automate WinForms controls. The second one is for WPF. We've never dealt with that particular control, but in theory since it is for WPF it should work. If you can confirm you're not using any WinForms then we'll be glad to look into this further for you.

    Kind regards,
    Cody
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Mark
    Mark avatar
    27 posts
    Member since:
    Nov 2011

    Posted 04 Jan 2013 Link to this post

    We are using the WPF one but I dont know if the application was written entirely in WPF or wraps the .NET WinForms one though.
  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 07 Jan 2013 Link to this post

    Hi Mark,

    If you can find out from your software developers whether or not your application makes any use of WinForms controls, and assuming it isn't we can look deeper into any recording and playback problems you are running into.

    Greetings,
    Cody
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  5. Mark
    Mark avatar
    27 posts
    Member since:
    Nov 2011

    Posted 08 Jan 2013 Link to this post

    Hi Cody,
    Some part of my application use Winform but not the one i try to record.
    Not only WinForm but also
    - Telerick Control for WPF
    - TxTextControl .Net for WPF
    - TxSpell .Net for WPF
    - Atalasoft DotImage for WPF
    Thanks in advance for your assistance.

    ·    

  6. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 08 Jan 2013 Link to this post

    Hi Mark,

    Thanks for the update. Would it be possible for you to send us your application? If we can run it in our shop we'll be able to study it and determine whether or not we can automation the WPF portions of your application.

    FYI, our system allows attachments up to 20MB in size. If it's too large I can provide other methods for you to send it to us. Also if you need to send us any confidential information (a URL, passwords, etc.) you can send them to support@telerik.com and reference ticket 645338. It will get directed to me that way.

    All the best,
    Cody
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  7. Mark
    Mark avatar
    27 posts
    Member since:
    Nov 2011

    Posted 13 Jan 2013 Link to this post

    Hi Cody,
    I've sent you the application. Did you find how to check the content of a file generated by textControl?
  8. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 14 Jan 2013 Link to this post

    Hello Antoine,

    Thank you for sending me your application along with the video demonstrating where the problem is. I have found that the text you're attempting to verify is content being displayed by a Win32 control hosted inside of your WPF application. To Test Studio this content is contained in a "black box" and it is doesn't know how to deal with this type of object. Here's a video demonstrating what I have found:
    http://www.screencast.com/t/YuY157uA

    Greetings,
    Cody
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  9. Mark
    Mark avatar
    27 posts
    Member since:
    Nov 2011

    Posted 15 Jan 2013 Link to this post

    Ok thanks a lot for your time.
    I've decided to use "window capture" to go around this issue.
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!