Automate Blackberry 10 simulator actions -


i'm using vmware player , blackberry 10 simulator image; need unit/integration tests automatically. know can use vix api spin new simulator , load blackberry image.

what love able send 'key presses', launch specific apps, , perhaps send gestures. on android there's monkeyrunner , other similar apps. haven't found respect bb10, know it's new can't 1 request.

also, how powerful telnet option? can telnet emulator , change directory apps dir, can't list contents, sudo, or run anything.

*****update*******

i've made progress wrt this, not much. seems can use windows api send mouse_evt messages vmware emulator; it's not 100% reliable works enough open apps. big hole have right being able detect state after action/swipe/touch executed, aka "did swipe execute work? in right app?". hugely beneficial query device's process list, 'devuser' account given in telnet example can't anything.

this gist has basics how touch , swipe screen based on experiences. https://gist.github.com/edgiardina/6188074

as on windows, have tried autohotkey (freeware) on host machine runs vmware player? software can send key/mouse move/click combination , has several ways of analysing vmware player window output , react it.

if in example want check if app has started , visible, can start manually once , make screenshot of small part of apps interface. write script sends whatever mouse moves , key types needed start app, make script pause while , perform imagesearch command search image on screen.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -