I am using coded ui test and testing an UltraGrid using UiAutomation.
Everything works fine but when I go to my application and change the columns visible on the screen and I execute again my tests, the Ui Automation Element is not updated and still contains the headers of the first run.
I tried everything up to now.
The only way to update the ui automation elements is to restart the application.
I also checked inside the application code but from that side the variables seems to be updated correctly.
Thank you for posting on our forums.
I will create a sample to observe the mentioned UltraGrid behavior. I will test this issue and will post an update by end of day Friday.
Please let me know if you have any questions.
I have investigated using UI automation from Coded Ui does not receive updates of the layout issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 250930. This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will update this thread with more information once its available.