ui-automation


UI Automation: Tap on table view cell that’s off screen


When I try and tap on a table view cell that’s off screen I get:
Debug: target.frontMostApp().mainWindow().tableViews()[0].cells()[16] could not be tapped
Error: Script threw an uncaught JavaScript error: target.frontMostApp().mainWindow().tableViews()[0].cells()[16] could not be tapped
What’s the best way to get this cell on-screen? Should I use a dragInsideWithOptions or scrollToVisible?
You can call scrollToVisible() on the cell.
Example:
var cell = tableView.cells()[5];
cell.scrollToVisible();

Related Links

ios uiAutomation tapWithOptions not working properly
My automationelement FindFirst/FindAll seems to be very slow. How to improve the performance?
UI Automation CreatePropertyCondition 0xc0000005
NativeWindowHandle Returns 0, but Spy displays handle
Can we “click” on edit boxes using Microsoft UIAutomation libraries
Test flex mobile application built with 4.10 sdk with testcomplete
TreeWalker cant see AutomationElement, but UIA Verify can
Accessing elements of webview within a native iPhone app using UI Automation
Ranorex not able to recognise elements uniquely?
Getting / ussing full path to find controls in UIA and White
UIA: Get ControlType from control type name (string)
how to select which button to select in alert message for IOS UIAutomation
How to run multiple .trace files in one run i.e one after the other in UI automation tool?
Using TestComplete's UIAObject with Microsoft UI Automation Control Patterns
scrollToVisible error while testing on a device, UIAutomation
How to select font node in Sahi?

Categories

HOME
spring-data
entity-framework
plesk
xcode
gaming
windows-8.1
yahoo-weather-api
livecode
operating-system
stacktrace.js
openlayers-3
visual-studio-2010
amp
navigation
visualforce
tup
port
spring-security-oauth2
scrape
watch-os-3
rangy
responsivevoice
feature-extraction
multi-step
google-awareness
c#-7.0
asciimath
scheduled-tasks
infrared
libgit2
el
perfino
backendless
dragula
environment
web-push
uri
substance
copy-protection
winsock
mongodb-3.4
cloudera-manager
autoencoder
transform
runtimeexception
aurelia-http-client
game-center
grails-spring-security
ol3-google-maps
scala-breeze
sonicmq
freshdesk
nivo-slider
google-shopping-api
meld
odp.net-managed
jemdoc
vimperator
univocity
django-validation
gluon-desktop
360-degrees
fantom
ngcordova
dynamics-ax-2012-r2
alwayson
microsoft-expression-web
famo.us
configurable-product
smacss
csslint
accountmanager
autonumber
rautomation
insertion
eager-loading
examine
semantic-merge
prefuse
kobold2d
autosize
multidrop-bus
django-apps
will-paginate
motodev-studio
firefly-mv
winsxs
mediacontroller
bll
ninject-interception
explicit
uninstaller
resharper-5.0
facebook-fbml
gtktextview
iphone-sdk-3.1.3
bindable-linq

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