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

Add CodedUI to Test Manager
UI Automation + Mechanic.js: selector issue
White Automation framework throws an exception when using “White.Core.Desktop” Class
Unable to uncheck a checkbox within a combo box
Coded UI - Add-ons
Is it possible to close app in UIAutomation in iOS
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

Categories

HOME
events
magento2
firebase
ontouchlistener
jms
exchange-server
postgresql-9.4
braintree
ios-simulator
iverilog
android-emulator
google-webmaster-tools
openflow
apache-kafka-connect
tweepy
stack-overflow
buffer
orc
powermock
spring-jpa
coroutine
spam
pfobject
android-custom-view
data-type-conversion
device
firemonkey-style
dragula
router
spreadsheetgear
running-object-table
points
oracleforms
lxml
gsp
django-smart-selects
swfupload
klee
data-uri
vungle-ads
minikube
jqgrid-asp.net
moinmoin
adblock
spongycastle
windows-media-player
.net-micro-framework
nonlinear-functions
embedded-v8
winmerge
http-basic-authentication
mpmovieplayercontroller
maatwebsite-excel
gawk
mifos
voronoi
phpquery
helm
in-app-billing
ibm-was
screen-orientation
mixins
wlanapi
alwayson
artisan
unidata
erlog
kotlin-android-extensions
pass-by-value
sunos
string.format
igor
lmax
ecos
webautomation
mfmessagecomposeview
incognito-mode
oxygene
usb-flash-drive
sensormanager
compiler-flags
xsd2code
iirf
unicoins
eager-loading
aero
jbox2d
chefspec
cmath
email-verification
sfinae
zotonic
gamesalad
exponent
fbml
botnet
nosetests
nsconnection
aptitude
tessellation
oracle-pro-c
rtti
community-server

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