App-Inspector: Inspect tool for mobile app testing

inspectcomputer

Inspect element is importance when do automation testing. Appium have GUI to help you inspect mobile application elements, but when iOS 10 and xCode 8 has release,i have trouble to inspect element on latest OS version. Then I found a page to give me a solution.

And i create this post to show more details when i tried to use it.

The good point of “App-Inspector”:

  • Support both android and iOS platforms.
  • Use command line (cli)
  • Not depend on appium

1. How to install it?

The first you need installed node. then you install app-inpsec to via npm:

$ npm install app-inspector -g

2. How to use it

 2.1. #For Android

$./node_modules/.bin/app-inspector -u 192.168.59.101:5555

screen-shot-2016-11-20-at-8-58-16-pm

Then your default browser will show inspector window

screen-shot-2016-11-20-at-8-58-00-pm

screen-shot-2016-11-20-at-9-00-39-pm

2.2. For IOS

./node_modules/.bin/app-inspector -u 5AFD2031-128E-4C10-9DB7-4BA0E0F687B7

screen-shot-2016-11-20-at-9-05-32-pmThen your default browser will show inspector window

screen-shot-2016-11-20-at-9-04-43-pmScreen Shot 2016-11-20 at 9.05.12 PM.png

Advertisements

2 thoughts on “App-Inspector: Inspect tool for mobile app testing

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s