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

Ui-automation is not working on win7 #96

Closed
techshashank80 opened this issue Oct 26, 2018 · 1 comment
Closed

Ui-automation is not working on win7 #96

techshashank80 opened this issue Oct 26, 2018 · 1 comment

Comments

@techshashank80
Copy link

Hi,
I was trying to automate but I am getting an error on the first line.
UIAutomation automation=UIAutomation.getInstance();

Following errors are coming:
java.lang.NoSuchMethodError: com.sun.jna.platform.win32.Guid$GUID.createFieldsOrder([Ljava/lang/String;)Ljava/util/List;
at com.sun.jna.platform.win32.Guid$GUID.(Guid.java:108)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.sun.proxy.$Proxy10.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:739)
at com.sun.jna.Native.loadLibrary(Native.java:415)
at com.sun.jna.platform.win32.Ole32.(Ole32.java:47)
at mmarquee.automation.Ole32Wrapper.createWrapper(Ole32Wrapper.java:65)
at mmarquee.automation.Ole32Wrapper.(Ole32Wrapper.java:58)
at mmarquee.automation.UIAutomation.(UIAutomation.java:86)
at mmarquee.automation.UIAutomation.getInstance(UIAutomation.java:147)

OS: Win7
UI-automation version is Snapshot version .0.5.1
JDK: 1.8.0_121

however its working fine on Win10.

Thanks

@techshashank80
Copy link
Author

Duplicate issue #52

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

1 participant