-
Notifications
You must be signed in to change notification settings - Fork 12
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.AccessViolationException: Attempted to read or write protected memory on scrolling #218
Comments
Hi @SamGeens , which kind of element are you trying to scroll down and language? Maybe i can reproduce this part afterwards to identify why an Access Violation will be thrown. |
Hi @Nepitwin, |
Please try the following and update us with the results, If the error is the same or you are getting another error or it fixes it UUT.Scroll down ${item_list} 1 if_focus=${Flase} What you have not yet answered is this a c# project with WPF or is it windows Form or something else? |
Hi @noubar, I tried This is a .NET Framework 4.8 WPF project |
The problem is mostlikely with checking a list item that is not yet in the current window:
|
Background:
We are trying to automate a testcase via robot framework via FlaUI library. We have a custom made GUI to control. Before, we were using TestStackWhite and with that library we were able to scroll up/down in the list and find the "element"/"row" we wanted to interact with.
Issue:
After solving the previous issue. We ran into a new issue. The following error is thrown at random times during our scroll process:
The code we are executing is the following:
Do you have any idea/indication on how to prevent the memory issue. Our implementation is currently unstable because of this.
The text was updated successfully, but these errors were encountered: