Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RajathHcJain opened this issue Dec 27, 2019 · 4 comments

Comments

@RajathHcJain
Copy link

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()

@satwik163
Copy link

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

@satwik163
Copy link

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

@shirink28
Copy link

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

@angeloCabezas
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants