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

How can I create custom AutomationObjects?

1 Answer 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Riley
Top achievements
Rank 1
Riley asked on 08 Aug 2017, 08:15 PM

I need to be able to access a real property which is an interface. I want to build an automation object that mirrors that real interface.

How can I go about this? I tried mirroring C# properties along with AutomationProperties, but this didn't work and resulted in serialization exceptions.

(When accessed by .GetAttachedProperty<AutomationObjectForIWhatever>() )

 

 

Any ideas on how to accomplish this?

1 Answer, 1 is accepted

Sort by
0
Nikolay Petrov
Telerik team
answered on 11 Aug 2017, 02:14 PM
Hi Riley,

Would you care to provide a bit more details on the scenario you are trying to accomplish here. Thank you in advance.

Regards,
Nikolay Petrov
Progress Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Riley
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
Share this question
or