Forum Discussion
5 Replies
Sort By
- TanyaYatskovskaSmartBear Alumni (Retired)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.
- IRISQATeamContributorHi 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. - Philip_BairdCommunity ExpertHi 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 - IRISQATeamContributorHi 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. - TanyaYatskovskaSmartBear Alumni (Retired)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/
Related Content
Recent Discussions
- 6 hours agoSvetaG