Joined April 2015
·

Rajarao

Hyderabad
·
·

if target == 'android'

var =adb devices #list of android devices
arr = var.lines #get in to lines
arr.shift && arr.pop #crop first and last lines

split with space and crop first

arr.each {|x| kid = x.split(" ").shift
mid = kid.lines #puts #{mis}
for i in mid

mkdir Android_#{i}

export ADB_DEVICE_ARG=#{i} SCREENSHOT_PATH=Android_#{i}/ APP=prebuilt/Android-debug.apk && bundle exec calabash-android run $APP -p android #{ARGV.join(' ')} --format html --out Android_#{i}/android_"#{i}".html --format pretty

end

}
Android serial execution

Achievements
1 Karma
0 Total ProTip Views