Bootstraping your own mobile web testing lab for Android Part 1

What do you do if you want to quickly test your sites on mutliple versions of Android at the same time?
There are couple of solutions, such as Adobe Edge Inspect, but what if you want to create and manage your own in your own workflow? I haven’t seen single solution yet.
Here is a simple shell script that I created that starts to get you on your way to your own testing lab.


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan

<p>What do you do if you want to quickly test your sites on mutliple versions of Android at the same time?</p> <p>There are couple of solutions, such as <a href="http://html.adobe.com/edge/inspect/">Adobe Edge Inspect</a>, but what if you want to create and manage your own in your own workflow? I haven't seen single solution yet.</p> <p>Here is a simple shell script that I created that starts to get you on your way to your own testing lab. It connects to every single Android device that is attached to your machine by using <code>adb</code> (Android Debugging tool).</p> <p>The process is as follows (and please suggest better ways):</p> <ul> <li>Kill any existing adb servers</li> <li>Get a list of attached devices</li> <li>For each device set up port forwarding (required for <a href="https://developers.google.com/chrome-developer-tools/docs/remote-debugging">Chrome Dev tools</a>)</li> <li>Fire Android intent to open the browser (with a url if one is on the command line)</li> </ul> <script src="https://gist.github.com/4706201.js"></script> <p>It's not a complete solution, but it is a nice way to start. My ultimate goal is to have a <a href="http://www.xda-developers.com/android/adb-fully-working-on-raspberry-pi/">Raspberry PI</a> hosting adb and all the devices that I can attach to it with an attached proxy that will route all my devtools requests to the correct device.</p> <p>How do you test across multiple devices?</p>


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan


Print Share Comment Cite Upload Translate Updates
APA

Paul Kinlan | Sciencx (2013-02-04T00:00:00+00:00) Bootstraping your own mobile web testing lab for Android Part 1. Retrieved from https://www.scien.cx/2013/02/04/bootstraping-your-own-mobile-web-testing-lab-for-android-part-1/

MLA
" » Bootstraping your own mobile web testing lab for Android Part 1." Paul Kinlan | Sciencx - Monday February 4, 2013, https://www.scien.cx/2013/02/04/bootstraping-your-own-mobile-web-testing-lab-for-android-part-1/
HARVARD
Paul Kinlan | Sciencx Monday February 4, 2013 » Bootstraping your own mobile web testing lab for Android Part 1., viewed ,<https://www.scien.cx/2013/02/04/bootstraping-your-own-mobile-web-testing-lab-for-android-part-1/>
VANCOUVER
Paul Kinlan | Sciencx - » Bootstraping your own mobile web testing lab for Android Part 1. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2013/02/04/bootstraping-your-own-mobile-web-testing-lab-for-android-part-1/
CHICAGO
" » Bootstraping your own mobile web testing lab for Android Part 1." Paul Kinlan | Sciencx - Accessed . https://www.scien.cx/2013/02/04/bootstraping-your-own-mobile-web-testing-lab-for-android-part-1/
IEEE
" » Bootstraping your own mobile web testing lab for Android Part 1." Paul Kinlan | Sciencx [Online]. Available: https://www.scien.cx/2013/02/04/bootstraping-your-own-mobile-web-testing-lab-for-android-part-1/. [Accessed: ]
rf:citation
» Bootstraping your own mobile web testing lab for Android Part 1 | Paul Kinlan | Sciencx | https://www.scien.cx/2013/02/04/bootstraping-your-own-mobile-web-testing-lab-for-android-part-1/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.