Book Image

Instant Adobe Edge Inspect Starter

By : Joseph Khan
Book Image

Instant Adobe Edge Inspect Starter

By: Joseph Khan

Overview of this book

Mobile web testing is currently a really time consuming and cumbersome process as there are no direct debugging tools available with mobile web browsers. Since mobile devices vary so much it is important to ensure that your web page looks as intended across the multiple mobile devices that you are targeting for your audience. Edge Inspect is a perfect tool for web developers and designers who are developing for mobile devices, allowing them to simultaneously test on numerous devices in real time as they develop without learning anything new."Instant Adobe Edge Inspect Starter" is a practical, hands-on guide that provides you with a number of detailed steps, which will help you to get started on testing and previewing all your mobile web projects on multiple mobile devices. This book will also show you how to use all the other available features of Edge Inspect and make the entire testing process on mobile devices very simple, effortless, and faster.This book starts with an introduction to Edge Inspect and will take you through a number of clear and detailed steps needed to set up a working installation, and get up and running with testing your web pages on mobile devices. You will also learn why traditional ways of testing mobile web applications are not very helpful and how Adobe Edge Inspect overcomes it. We will take a look at connecting single and multiple mobile devices with your computer and how to browse in sync. We will learn about remotely inspecting and previewing mobile web pages on a targeted device and directly see the changes taking place on the device itself. We will discuss in detail about creating our very own simple mobile web application, running it from a local server and testing it across mobile devices. We will also take a look at how to use the Edge Inspect web inspector window and do some basic HTML, CSS, and JavaScript debugging. And then finally we will take a look at using our own local Weinre debug server with Edge Inspect and some other very important features. If you want to take advantage of Adobe Edge Inspect and make mobile web testing a lot easier, then this is the book is for you."Instant Adobe Edge Inspect Starter" will guide you in getting started with Edge Inspect and will make testing on mobile devices a lot simpler and faster. The book is packed with a lot of examples and diagrams that will help you to test all your mobile web projects without any hassle.
Table of Contents (7 chapters)

Installation


In three easy steps, you can install Adobe Edge Inspect and get it set up on your system.

Step 1 – what do I need? (basic requirements)

Before you install Adobe Edge Inspect, you will need to check whether you have the basic minimum requirements, as listed in this step. These are the current specs at the time of writing this book.

Windows

  • Intel Pentium 4 or AMD Athlon 64 processor

  • Windows 7 or Windows 8 (Adobe Edge Inspect is currently not supported by Windows XP)

  • 512 MB of RAM

  • 200 MB of available hard disk space for installation of the Edge Inspect helper application

  • 1280 x 800 display with 16-bit video card

  • Broadband Wi-Fi Internet connection

Mac OS

  • Multicore Intel processor

  • Mac OS X v10.6 to 10.8

  • 512 MB of RAM

  • 200 MB of available hard disk space for the installation of the Edge Inspect helper application

  • 1280 x 800 display with 16-bit video card

  • Broadband Wi-Fi Internet connection

Google Chrome web browser

The Adobe Edge Inspect web inspector (the place where you will remotely test and debug) runs as a Google Chrome extension and you will need the Chrome web browser installed on your computer. The minimum version supported is Chrome 14 but for better results Chrome 21 or greater is recommended. So go ahead, download and install Google Chrome on your computer from this link: http://chrome.google.com/.

iOS

  • Adobe Edge Inspect is compatible with iPhone (including iPhone5), iPod touch, and iPad

  • iOS 4.3 or greater

  • At least 2-3 MB of free storage on the iOS device

  • Wi-Fi support

Android

  • Android 2.1 or greater

  • At least 2-3 MB of free storage on the Android device

  • Wi-Fi support

Amazon's Kindle Fire support

The Edge Inspect application is available in the Amazon store for Android. You can download and install the app on Kindle Fire devices. You should have the following specifications:

  • Android 2.1 or greater

  • 740 KB of minimum free space

  • Wi-Fi support

Step 2 – downloading and installing Adobe Edge Inspect

Adobe Edge Inspect is a part of Adobe Edge Tools and Services. You can get Edge Inspect by signing up for a free or a paid Creative Cloud membership subscription. With a free subscription you can download the free version of the Edge Inspect application and get started. The difference between the free version and the full version is that with the free version you can pair and connect only one mobile device with your computer whereas with the paid full version you can connect unlimited number of mobile devices with your computer simultaneously. We will soon be talking about pairing and connecting mobile devices in our next section, so till then this might sound a little confusing to you. To get the full version of Edge Inspect you can either buy a full Creative Cloud membership or upgrade to a paid subscription for Edge Inspect only.

Navigate to this link https://creative.adobe.com/join/starter to sign in to your Adobe Creative Cloud account or create a new one if you do not have it already. After logging into your Creative Cloud account you can download Edge Inspect by following the link as shown in this screenshot:

When you are downloading Edge Inspect it is the free version that you are downloading. You can upgrade to a full version by following the upgrade link below the download section. It is shown in the following screenshot:

After that, it is very easy to set up Adobe Edge Inspect. There are four parts to setting up the environment. Let's look at each of them individually.

Edge Inspect application for your computer

The Edge Inspect application (I call it the helper application) runs on your computer. Download the installer from your Creative Cloud account for Mac or Windows based on the computer platform that you are using by clicking on the Download button shown on the previous page.

After downloading the installer file, locate it, and then run it. Follow the on-screen instructions in the setup wizard. The following image shows the installer setup on a Windows 7 machine:

Similarly, if you are using a Mac machine, run the installer and follow the given instructions till you have the helper application installed on your computer. The overall steps for installation are pretty simple and you should be done within a few seconds.

After installing, you have to run this helper application in order to use Adobe Edge Inspect and start detecting devices. When you run it, it will live in the Taskbar Notification Area on Windows and the Menu Bar Extras on Mac OS X. We will talk more about this in our later sections.

Bonjour

Edge Inspect uses Bonjour for the auto-discovery and detection of target mobile devices. The Bonjour setup comes as a part of the Edge Inspect installation folder for Windows. So if you are using a Windows machine then go ahead and install it. You can find the Bonjour setup file as follows:

  • Windows 32-bit machine:\Program Files\Adobe\Adobe Edge Inspect\BonjourPSSetup.exe

  • Windows 64-bit machine: \Program Files(x86)\Adobe\Adobe Edge Inspect\BonjourPSSetup.exe

In Mac OS X, Bonjour is enabled by default so there is no need to install it separately.

Let's see what Bonjour is, before we move further. Bonjour is a network discovery technology developed by Apple Inc. that enables automatic discovery of devices and services on a local network. It is mostly used for finding printers and file-sharing servers, connecting them with a computer, and then using their services. You can learn more about Bonjour by visiting the official page at http://www.apple.com/support/bonjour/.

Edge Inspect client app for mobile device

The Edge Inspect mobile client will run on your mobile device. For each mobile device that you are going to test on, you will need to install the app on it.

  • For an iOS device, navigate to the App Store and search for Adobe Edge Inspect, then download and install it. The following image shows the Adobe Edge Inspect app in the iOS app store:

  • For Android devices, navigate to Google Play (Android Marketplace is merged into Google Play) and search for Adobe Edge Inspect and then download and install it. The following image shows the Adobe Edge Inspect mobile app for Android:

Both the iOS and Android apps are absolutely free, so go ahead and install them on your mobile devices. After you have installed the app it will appear as an icon with In written on it in your menu screen.

Google Chrome browser extension for Edge Inspect

You need to install the Chrome extension for Adobe Edge Inspect, as all interactions with the paired mobile devices take place through the extension. The Edge Inspect extension can be installed only with Google Chrome and no other browser. You can download the extension by following this link: http://www.adobe.com/go/edgeinspect_chrome. Click on the link to navigate to the Chrome web store and then click on the ADD TO CHROME button on the right to install the Edge Inspect extension.

After you install the Edge Inspect extension it appears as a dark grey icon with In written on it in the right-hand corner of Chrome's menu bar as shown in the following image:

Step 3 – installing a web server on your computer

As a developer you always want to test and debug your pages locally before moving them into production, so you need to download and install an HTTP web server on your computer. Edge Inspect cannot debug pages from the local filesystem via the file protocol (file:///). You will need to host your pages either in a local HTTP web server that runs on your computer or a hosted server that can serve your pages over the web. I am using the WAMP server on a Windows 7 computer and hosting all my mobile web projects inside the www folder. There are other options available for Windows; you can try something like XAMPP or the Apache HTTP server. If you are using Mac OS X, you can use the built-in Apache server to host your mobile web projects.

Download and install the WAMP server from http://www.wampserver.com/en/.

And that's it!

By this point, you should have a working installation of Adobe Edge Inspect and are free to play around and discover more about it.