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

An error occurs when running on a Windows 7 #18

Open
haohetao opened this issue Sep 14, 2021 · 5 comments
Open

An error occurs when running on a Windows 7 #18

haohetao opened this issue Sep 14, 2021 · 5 comments

Comments

@haohetao
Copy link

error

@haohetao haohetao changed the title An error occurs when running on a Windows 7 32-bit system An error occurs when running on a Windows 7 Sep 14, 2021
@siggipop
Copy link

What does error message say in your local language?

@haohetao
Copy link
Author

@siggipop
values are not in the expected range.

@a9038889
Copy link

a9038889 commented Jun 16, 2022

I also see the same error when run the app on windows7;And if you use version 1.2.0, there is no problem~
Capture

@Anton-V-K
Copy link

Any chances this issue can be fixed somehow?
Same issue happens both in 32-bit, and 64-bit Windows 7.
Maybe some component or update is missing in the system?

For references - text representation of the exception:

System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Value does not fall within the expected range.
   at Interop.UIAutomationClient.IUIAutomationElement.GetCurrentPropertyValueEx(Int32 propertyId, Int32 ignoreDefaultValue)
   at FlaUI.UIA3.UIA3FrameworkAutomationElement.InternalGetPropertyValue(Int32 propertyId, Boolean cached, Boolean useDefaultIfNotSupported)
   at FlaUI.Core.FrameworkAutomationElementBase.TryGetPropertyValue[T](PropertyId property, T& value)
   at FlaUI.Core.AutomationElements.AutomationElement.IsPatternSupported(PatternId pattern)
   at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at FlaUI.Core.AutomationElements.AutomationElement.GetSupportedPatterns()
   at FlaUInspect.ViewModels.ElementViewModel.LoadDetails()
   at FlaUInspect.ViewModels.ElementViewModel.<set_IsSelected>b__9_0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.ArgumentException: Value does not fall within the expected range.
   at Interop.UIAutomationClient.IUIAutomationElement.GetCurrentPropertyValueEx(Int32 propertyId, Int32 ignoreDefaultValue)
   at FlaUI.UIA3.UIA3FrameworkAutomationElement.InternalGetPropertyValue(Int32 propertyId, Boolean cached, Boolean useDefaultIfNotSupported)
   at FlaUI.Core.FrameworkAutomationElementBase.TryGetPropertyValue[T](PropertyId property, T& value)
   at FlaUI.Core.AutomationElements.AutomationElement.IsPatternSupported(PatternId pattern)
   at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at FlaUI.Core.AutomationElements.AutomationElement.GetSupportedPatterns()
   at FlaUInspect.ViewModels.ElementViewModel.LoadDetails()
   at FlaUInspect.ViewModels.ElementViewModel.<set_IsSelected>b__9_0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---

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

5 participants
@haohetao @siggipop @Anton-V-K @a9038889 and others