microsoft-ui-automation


Some 3rd party controls are not always accessable in UI Automation


I am using Ranorex to do automation tests against our application, which consists of several 3rd party controls, like the DevExpress GridControl. In most cases the grid rows are accessible. However, it can happen that the grid rows are not accessible (for about 1 minute), only if you play with Ranorex Spy for a some time.
Do you know where the problem could be?
That sounds strange. Does that mean that the grid can be recognized after one minute and that only happens with Ranorex Spy. What if you run the test?
You wrote that it happen sometimes, did you already find out when?
Is there a difference when using the external Spy and the Spy which is integrated in Ranorex Studio?
I know I'm very late to this question, but I've found that grid size can have a big impact on this. As far as I can tell, it's not that the rows and cells are "not accessible", it's that Ranorex is trying to load all of them before showing you info about them, and while this works fine on small grids, it apparently doesn't scale well. Try running your tests on smaller data sets.

Related Links

Not able to click on an element in UIAutomation as it does not have Invoke property.
Windows UI Automation AutomationEventHandler on Start menu
How to get name / value from custom control like the Inspect tool from Microsoft?
use .net ui automation framework to capture user clicks of links in outlook application
Some 3rd party controls are not always accessable in UI Automation
How to check if a form is fully loaded?
IUIAutomationValuePattern SetValue has no effect
Handling ProgressBar's Value change with UIAutomation
.net UIAutomation simple example in C++
IUIAutomation::RemoveAllEventHandlers hangs
UI Automation - Select object based on multiple Identifiers
Microsoft UI Automation not returning expected ComboBox items

Categories

HOME
ionic2
webview
azure-functions
automapper
eclipse-plugin
bokeh
activex
add-on
kivy
histogram
gentelella
save
angular2-template
roku
lda
driver
twitter-oauth
lapack
smooks
createjs
sql-injection
phonegap-build
cocos2d-android
checkout
tfsbuild
significance
generator
websphere-portal
software-packaging
mod-wsgi
gravity-forms-plugin
annotation-processing
sales
bitbake
dnsmasq
mdns
monitor
objectmapper
mapnik
windows2012
snap-framework
advanced-filter
cmis
spring-rabbitmq
busboy
microsoft-ui-automation
mars-simulator
aurelia-http-client
assert
haar-classifier
httphandler
moinmoin
roracle
ilrepack
sonatype
subforms
connect-direct
clrs
emacs25
front-camera
ipywidgets
msg
ftp-client
android-sdcard
right-to-left
node.js-connect
qpixmap
rails-engines
enaml
360-degrees
dynamics-ax-2012-r2
google-gdk
karma-coverage
actionpack
mod-auth-openidc
kognitio-wx2
n-tier-architecture
password-recovery
berkeley-db-xml
jini
bittorrent-sync
nosql-aggregation
mft
facebook-game-groups
jmenubar
saga
sql-view
jacob
insertion
sly-scroller
multiscaleimage
idispatch
struts2-json-plugin
audiotoolbox
instance-variables
gamesalad
uploading
gwt-celltable
bll
dip
chunking
activestate
external-sorting
main-method
version-control-migration

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App