How can I create custom AutomationObjects?

2 posts, 0 answers
  1. Riley
    Riley avatar
    1 posts
    Member since:
    Aug 2017

    Posted 08 Aug Link to this post

    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?

  2. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    235 posts

    Posted 11 Aug Link to this post

    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
     
Back to Top