I'm executing script test using monkeyrunner on AVD (Android Emulator) sequentially with the code below, and I want to know if it is possible to execute Script Tests in a parallel on all emulators.
*listADVtotest is a text file with the names of emulators online and for each emulator I call to monkeyrunner to execute the test.
for index, line in enumerate(listAVDtotest):
emulatorid = listdevtotest[index][0]
deviceid = listdevtotest[index][1]
print "Identified device %s" % deviceid
#Execute test with monkeyrunner for each AVD
subprocess.call('monkeyrunner -v ALL Test1.py ' + emulatorid + ' ' + deviceid + ' ' + str(index), shell=True)