Skip to content

System.MissingMethodException : Method not found: 'System.Windows.Rect System.Windows.Automation.Provider.IRawElementProviderFragment.get_BoundingRectangle()' #664

Open

Description

@RajathHcJain

Hi,
I'm New to white while launching application i'm getting this exception can any one help me out to get rid this issue.
Message:
System.MissingMethodException : Method not found: 'System.Windows.Rect System.Windows.Automation.Provider.IRawElementProviderFragment.get_BoundingRectangle()'.
Stack Trace:
UiaCoreApi.OnGetProvider(IntPtr hwnd, ProviderType providerType)
UiaCoreApi.RawUiaGetRootNode(SafeNodeHandle& hnode)
UiaCoreApi.UiaGetRootNode()
AutomationElement.get_RootElement()
WindowFactory.get_Desktop()
Application.ctor(Process process)
Application.Attach(Process process)
Application.Launch(ProcessStartInfo processStartInfo)
Application.Launch(String executable)
Testss.Test1()

Activity

  1. satwik163 commented on Jan 14, 2020

    @satwik163

    @RajathHcJain did you get any solution to this problem ? I am also facing the same issue.

  2. satwik163 commented on Jan 14, 2020

    @satwik163

    Hi @RajathHcJain This issue can be resolved by updating Castle.Core package to latest version and then rebuilding your project. This worked for me.

  3. shirink28 commented on Sep 8, 2020

    @shirink28

    Is anyone facing issue while running teststack tests against .net 4.8 application?

  4. angeloCabezas commented on Mar 4, 2022

    @angeloCabezas

    Hi,

    Same problem here, did someone solve this issue ??

    Many thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions