GSP-[Prendi posizione dello schermo (Coordinate)] Tool.
Utility: per ottenere le coordinate del touch screen. L'uso MonkeyRunner anche essere usato.
Github :: https://github.com/AndyYou/GSP
Esempio ::
da com.android.monkeyrunner importazione MonkeyRunner, MonkeyDevice
device = MonkeyRunner.waitForConnection ()
package = 'com.apputu.gsp'
attività = 'com.apputu.gsp.MainActivity'
runComponent = pacchetto + '/' + attività
device.startActivity (componente = runComponent)
device.touch (100,100, "DOWN")
Categoria : Strumenti
Ricerche associate
Che farebbe? ?