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

WPF application using TextControl

8 Answers 164 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tom
Top achievements
Rank 1
Tom asked on 04 Jan 2013, 08:55 AM
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.

8 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 04 Jan 2013, 04:13 PM
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
0
Tom
Top achievements
Rank 1
answered on 05 Jan 2013, 03:55 AM
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.
0
Cody
Telerik team
answered on 07 Jan 2013, 04:53 PM
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
0
Tom
Top achievements
Rank 1
answered on 08 Jan 2013, 08:44 AM
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.

ยท    

0
Cody
Telerik team
answered on 08 Jan 2013, 05:38 PM
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
0
Tom
Top achievements
Rank 1
answered on 14 Jan 2013, 02:56 AM
Hi Cody,
I've sent you the application. Did you find how to check the content of a file generated by textControl?
0
Cody
Telerik team
answered on 14 Jan 2013, 07:34 PM
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
0
Tom
Top achievements
Rank 1
answered on 15 Jan 2013, 11:48 AM
Ok thanks a lot for your time.
I've decided to use "window capture" to go around this issue.
Tags
General Discussions
Asked by
Tom
Top achievements
Rank 1
Answers by
Cody
Telerik team
Tom
Top achievements
Rank 1
Share this question
or