Does Testcomplete support System.Windows.Documents Namespace
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2014
09:50 PM
08-04-2014
09:50 PM
Does Testcomplete support System.Windows.Documents Namespace
I am testing an application which is developed using .Net Framework 4.0 and it is using System.Windows.Documents Namespace. Does Testcomplete 10 support this System.Windows.Documents Namespace?
5 REPLIES 5
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2014
12:02 AM
08-05-2014
12:02 AM
Hi Zeeshan,
You need to add a reference to the .NET assembly where this namespace is defined in the CLR Bridge settings. The "Calling Functions From .NET Assemblies" article contains the step-by-step instruction.
You need to add a reference to the .NET assembly where this namespace is defined in the CLR Bridge settings. The "Calling Functions From .NET Assemblies" article contains the step-by-step instruction.
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2014
10:12 PM
08-05-2014
10:12 PM
Hi Tanya,
Thanks very much for your reply. Is there any way to know which classes are supported by Testcomplete? For examaple this article http://support.smartbear.com/viewarticle/55825/#ID0EYE provides a list of all supported WPF classses. Does Testcomplete support all the classes as mentioned in this article http://msdn.microsoft.com/en-us/library/system.windows.documents%28v=vs.110%29.aspx?
Thanks.
Thanks very much for your reply. Is there any way to know which classes are supported by Testcomplete? For examaple this article http://support.smartbear.com/viewarticle/55825/#ID0EYE provides a list of all supported WPF classses. Does Testcomplete support all the classes as mentioned in this article http://msdn.microsoft.com/en-us/library/system.windows.documents%28v=vs.110%29.aspx?
Thanks.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2014
12:27 PM
08-06-2014
12:27 PM
Hi Zeeshan, are you wanting to actually write Script code using Classes and functions from the System.Windows.Documents Namespace or just wanting to test an application that happens to use the System.Windows.Documents Namespace?
Regards,
Phil Baird
Regards,
Phil Baird
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2014
07:59 PM
08-06-2014
07:59 PM
Hi Phil,
I am trying to automate an application which is developed using different classes e.g.FlowDocument,InlineUIContainer,Table etc from System.Windows.Documents Namespace. Whenever I am trying to use an object either by NameMapping or from Object Browser, everytime name of object is changing e.g. WPFObject("_tagf33739345b734215ac51aaca57fca145"), WPFObject("_tag86cdb0505e1347fb9b378fbbf0c1a662") etc . which is restricting me to use these objects. Just wondering do Testcomplete support all classses from System.Windows.Documents Namespace? Any solution to cater this problem?
Thanks.
I am trying to automate an application which is developed using different classes e.g.FlowDocument,InlineUIContainer,Table etc from System.Windows.Documents Namespace. Whenever I am trying to use an object either by NameMapping or from Object Browser, everytime name of object is changing e.g. WPFObject("_tagf33739345b734215ac51aaca57fca145"), WPFObject("_tag86cdb0505e1347fb9b378fbbf0c1a662") etc . which is restricting me to use these objects. Just wondering do Testcomplete support all classses from System.Windows.Documents Namespace? Any solution to cater this problem?
Thanks.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2014
10:02 PM
08-25-2014
10:02 PM
Hi Zeeshan,
Changing the object names isn't related to the classes and namespaces used in your app. They have dynamic names. From the developers' side, this is not a good approach, and it can make the tester's life more difficult, but it's still possible to test them in TestComplete. Watch the following screencast, demonstrating TestComplete features that can help you create reliable tests for dynamic objects: http://support.smartbear.com/screencasts/testcomplete/reliable-tests-for-dynamic-objects/
Changing the object names isn't related to the classes and namespaces used in your app. They have dynamic names. From the developers' side, this is not a good approach, and it can make the tester's life more difficult, but it's still possible to test them in TestComplete. Watch the following screencast, demonstrating TestComplete features that can help you create reliable tests for dynamic objects: http://support.smartbear.com/screencasts/testcomplete/reliable-tests-for-dynamic-objects/
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
