Use Appium Desktop to Boost Your Appium Efficiency

Creating Desired Capabilities with Appium Desktop
(Last Updated On: 26 Jul 2017)

We’ve talked about this quite many times here at Bitbar Blog, but Appium has been one of the most solid open source test automation frameworks during the few past years. And despite of significant changes in Appium iOS, it seems that this framework is going (again) full steam ahead.

The latest addition is the Appium Desktop tool that enables users to work with Appium on their desktops and use Inspector for yet better analysis of their app. Let’s take a look at how to get Appium Desktop installed and how to work with it.

Appium Desktop is a great new tool for Appium users that actually makes the use of Appium test automation framework yet easier. However, Appium Desktop doesn’t replace any Appium components itself – but it adds great capabilities to work with Appium Server and Appium Inspector to explore your application. Furthermore, it also enhances the way how test scripts can be build and we’re pretty sure this will help many of you with the script creation.

Download our Appium ebook to learn best practices, tips & tricks, and more

Appium Desktop for Mac, Windows and Linux

Appium Desktop is an open source application running on Mac OS X, Windows, and Linux operating systems. Appium Desktop combines two essential components of Appium:

  • Appium Server: Server instance for enabling testing (and test automation) of apps.
  • Appium Inspector: For inspecting UI elements of your app and getting all details of those.

Appium desktop provides a graphical user interface for these two components that makes test script creation easy, setting up an Appium test server quickly, and even setting up the whole Appium environment with Appium Desktop installation.

One significant benefit introduced with Appium Desktop is that you don’t need Mac anymore to efficiently develop Appium test scripts. With the help of Appium Desktop you can use Windows or Linux as well.

How to Get Started with Appium Desktop

First, download the right package for your platform (Mac, Win, Linux) from Appium Desktop release page. After the download has completed install the package as you install any application on your OS.

Run the application and the following options will be available in the main menu:

Appium Desktop

Advanced options, such as server address, ports for Android and iOS agents etc. can be configured here but it’s highly recommended to read product documentation before doing so.

If you want to use local devices, start the Appium Server with preferred configurations and the server console will be launched on the host and port you specified. NOTE! If you use cloud services (such as Bitbar Public Cloud) you don’t need to start Appium Server.

Appium Server Console

With Appium Desktop you don’t need to work with command line, but in case you have to or you have integrated your Appium environment with some tools, you can also work with command line to get things done.

Now, you can click ‘Start New Session’ on console view and this will enable use of Appium Inspector possible on recently launched server. Furthermore, the new window opened enables you to build desired capabilities for an Appium test run/session, as follows:

Creating Desired Capabilities with Appium Desktop

TIP! When drafting desired capabilities for your test, Appium Desktop is capable to return specific desired capabilities that are missing. For example, “testdroid_target”, “testdroid_project”, “testdroid_testrun” etc.

TIP 2! When you have entered your desired capabilities do remember to save those (by clicking Save As…). This is very handy as those desired capabilities will be in use in next sessions with the Appium Desktop (e.g. if you close Appium Desktop your desired capabilities will be removed if not saved).

The Appium Desired Capabilities for your Appium tests, devices and additional configuration is fairly simple, but if you look for more information about how to master desired capabilities take a look at the Appium Ebook that provides you plenty of tips and tricks on how to use Appium efficiently.

Appium Inspector provides a graphical user interface tool to inspect your application with ability to exercise certain interactions for it. Appium Inspector, using XCUITest now as Appium foundation, looks like this with Bitbar Sample App:

When user clicks any element on screenshot Appium Desktop automatically updates “Selected element” view to reflect with user’s interactions. After this, users can implement different functions, like tap, write (send keys) etc.

Are you looking for a comprehensive list of tips and tricks for Appium? Take a look at our best practices, tips and tricks provided with those blogs!

Enjoy Appium Desktop!


The Beginner’s Guide of Using Appium for Mobile App Testing

(Last Updated On: 7 Dec 2016)

Learn all the basics about Appium, how to set it up and how to use it for mobile app testing.

Download

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close