Appium Desktop is an open source app for Mac, Windows, and Linux which givesyou the power of the Appium automation server ina beautiful and flexible UI. It is a combination of a few Appium-related tools:
- Download Appium For Windows
- Appium Inspector For Windows
- Appium Inspector Download For Mac Windows 10
- A graphical interface for the Appium Server. You can set options, start/stop the server, see logs, etc.. You also don't need to use Node/NPM to install Appium, as the Node runtime comes bundled with Appium Desktop.
- An Inspector that you can use to look at your app's elements, get basic information about them, and perform basic interactions with them. This is useful as a way to learn about Appium or as a way to learn about your app so you can write tests for it.
Download Appium Desktop
You can always pick up the latest release at ourRelease page onGitHub.
If you're on Windows or macOS, Appium Desktop will automatically provide youwith updated versions of the app when they are released. If you encountera problem updating, simply delete or uninstall the app and re-download thelatest from the link above.
#appium #appiumdesktop #learnappium Inspect iOS iPhone/iPad native apps using Appium desktop app on Mac OSX Installation Tutorials: https://www.youtube.co. Apr 26, 2019.
Note that Appium Desktop is not the same thing as Appium. Appium Desktop isa graphical frontend to Appium with additional tools. Appium Desktop isreleased on its own cadence and has its own versioning system. If you arereporting an issue with Appium Desktop, always be sure to include both theversion of Appium Desktop and the version of the Appium Server which is in use(see below).
If you're on macOS, you will need to install Appium Desktop by copying the appfrom the downloaded DMG file to your own file system (the best place is the'Applications' folder). Running Appium from in side the attached DMG itself isnot supported, and will not work.
Known Issues
- Auto updater is not working (https://github.com/appium/appium-desktop/issues/74)
Usage Instructions
These instructions assume you are already familiar with Appium andAppium-related concepts. If you are new to Appium, please visitappium.io and read our introductory material.
This app provides a convenient way to download and run the Appium automationserver, as well as a tool for inspecting your Android or iOS application. Mac os leopard download size. Itsvarious capabilities are described in the following sections.
The server start window
Starting a simple server
When you open Appium Desktop, you are greeted with the server start window. Thebasic option is to start an Appium server with all its defaults and the abilityto modify the host and port. The start button will also let you know whichversion of the Appium server you are running, which can be useful whenreporting issues to the Appium team.
Starting a server with advanced options
By clicking on the 'Advanced' tab, you have the ability to set all the serverflags that are available in Appium. This is for advanced users and should onlybe modified after consulting the Appium documentation.
Server presets
If you use the advanced server options, you have the ability to savea configuration for later use. Simply save the preset on the 'Advanced' tab,and you will subsequently be able to recall and start the server with thatconfiguration from the 'Preset' tab.
The server console output window
Once you start the server, it will launch on the host and port you specified,and open a new window displaying the server log output.
This is fairly straightforward and no real interaction is possible, beyondusing the button to stop the server. You can also copy-and-paste the logs fromthis window which is useful in reporting Appium issues.
One other button is available: 'Start New Session'. Clicking this will open upthe New Session window enabling you to start an Inspector session on thecurrently-running server.
The New Session window
The New Session window allows you to construct a set of Appium desiredcapabilities used to launch an Appium session. You can launch a session againstthe currently-running Appium Desktop server (which is the default), or you canlaunch a session against a variety of other endpoints.
Since it's not required to run against Appium Desktop's own server, you can getto the New Session window without starting an Appium Desktop server. Simply goto 'File' (Windows/Linux) or 'Appium' (Mac) and choose 'New Session..', whichwill open the New Session window without having to start a local server. Inthis case, attaching to the local server will be disabled.
Appium Endpoints
These are the options for launching a session against a non-local Appium server:
- A custom host/port configuration: this is useful if you want to launch an Inspector session against an Appium server running on another machine in your network, for example.
- Sauce Labs: if you don't have access to, say, iOS simulators on your machine, you can leverage your Sauce Labs account to start an Appium session in the cloud.
- TestObject: you can also utilize TestObject's cloud of real devices for a real device-based Inspector session.
It should be straightforward to get set up with any of these options. Simplyenter your details in the input fields provided.
Desired Capabilities
Desired capabilities are how you configure your Appium session. They tell theAppium server what kind of platform and app you want to automate. If you areunfamiliar with the concept of desired capabilities, or which desiredcapabilities are required to launch Appium sessions of various types, youshould consult the Appium documentation.
Appium Desktop does not restrict your creation of desired capabilities in anyway, nor will it validate them for you. It simply provides a nice UI forentering them in, and saving them for later use. Under the 'DesiredCapabilities' tab, you can use the form fields and '+' button to enter as manydesired capabilities as you need. You will also see a representation of theresulting JSON, which is what is actually sent to the Appium server. This canbe useful for verifying your capabilities, or for copy-and-pasting whenreporting issues.
Once you have set your desired capabilities, you might wish to save them so youcan run the same type of session later. Simply click the 'Save As..' button togive your capability set a name. You can then access it under the 'SavedCapability Sets' tab, for later editing or session launching.
Once your server type and capabilities are set, click 'Start Session' to launchthe Appium Desktop Inspector.
Attach to an Existing Session
If you click on the 'Attach to Session..' tab, you'll be able to entera session ID of a currently-running session. https://entrancementak344.weebly.com/brainworx-vst-free-download.html. That session should be running onthe server details you specified in the server type section above. Attaching toan existing session is possible because the Inspector is just an Appium client.This could be useful if you want to debug the middle of a running test. Whenyou quit the Inspector window of an existing session, Appium Desktop will notquit the session as it does normally.
The Inspector
The Inspector is a visual representation of the state of your application alongwith the ability to perform certain interactions in your application throughAppium.
Appium sessions can take some time to load, especially on cloud services, soplease be patient. When the session loads, a screenshot of your app will appearon the left. You can mouse over various UI elements in your application, andsee them highlighted.
https://ameblo.jp/tamadiqu1977/entry-12630786914.html. In the middle of the Inspector window is your app's hierarchy, represented asXML. You can navigate this tree by clicking through it, or by clicking onelements in the screenshot view. They will then be highlighted.
When an element is highlighted, its information will appear in the detail viewon the right side of the Inspector. This detail view consists of potentialactions to take against the element, and a table of the element's properties.These properties are valuable in determining how the element might accessedusing a particular Appium locator strategy. With an element selected, you canalso 'Tap' the element, or 'Send Keys' to the element (if it is a text field).
When you take such an action with an element, the Inspector will send thecommand to Appium, which will execute it. If the action is successful, a newscreenshot will be generated and you should see the updated state and XML ofyour app. If it's not successful, you'll have an opportunity to see the errormessage.
Conclusion
This is everything you need to know to use Appium Desktop successfully!Remember, Appium Desktop is not a replacement for understanding Appiumitself---it is simply a convenient tool for working with Appium on yourdesktop, and an Inspector for exploring your app. Have fun!
Reporting Issues and Requesting Features
Appium Desktop is open source, and we use GitHub for issue tracking. Pleasesimply report issues at our issuetracker. We will endeavor todetermine whether the issue you are reporting is related to Appium Desktop orAppium Server. If it's not related to Appium Desktop specifically, we willclose the issue and ask you to open a general Appium issue at Appium's mainissue tracker. Please, saveyourselves and us valuable time by getting clear on whether the issue you'reexperiencing is related to Appium Desktop specifically or instead is a generalAppium issue. You can do this by seeing whether the issue reproduces with theAppium command line server as well. If it does, direct your report to Appium'sissue tracker.
Have a feature request? Follow the same process and submit an issue to theappropriate tracker! (Either here in this repo if the request is specificallyfor Appium Desktop, or Appium's main tracker if the request is for Appium moregenerally.)
Advanced Topics and Troubleshooting
Appium can't detect environment variables on Mac
Appium uses environment variables like
ANDROID_HOME
as well as relying onvarious binaries in your PATH
and so on. When running from the command linein an environment where you have set these variables appropriately, Appium hasno problem in picking them up. However, Appium Desktop does not run in a shellor a command-line environment, and so by default it does not have access toenvironment variables you have set in your shell startup script or profile. Towork around this, we use theshell-env package to pick upenvironment variables defined in your shell. This package only looks in certaincommon init scripts, however, like ~/.bashrc
, ~/.bash_profile
, and~/.zshrc
. If you set your Appium environment variables in some other way, youwill need to create one of these default init scripts and set your environmentvariables there as well, so that Appium Desktop will successfully pick them up.
Warnings about being on a read-only file system
This probably means you tried to launch Appium Desktop from the downloaded diskimage (
.dmg
file). This is not a supported mode of running Appium Desktop. Tocorrectly install Appium Desktop, copy the application from the disk image toyour local filesystem, to somewhere like /Applications
. Then, run the appfrom that new location.
Developer Instructions
Want to hack on Appium Desktop? Awesome! Head on over to our ContributingDoc for information on how to get a dev environment set upand submit changes back to the project.
Appium Inspector is the next set of articles in our Appium Tutorial series. This is a series of 4-5 articles which would help you learn the process of identifying elements on your mobile app. Let us start this by understanding what Appium inspection process actually is.
What is Appium Inspection Process?
In very simple words, Appium inspection is the process using which you can identify or find elements in your mobile app. If you want to automate any scenario in your mobile app, then you would need to follow these 2 steps –
- Step 1: Identify the element uniquely
- Step 2: Perform action on the identified element
Appium inspection process helps you solve the first step mentioned above. For example, let us suppose that you have an app with a login screen. Now your task is to enter username and password in this screen. Here, Appium inspection process would help you “inspect” the screen and then let you uniquely identify the text fields. This way you will be able to write code which enters login id and password in the correct fields.
Let us now have a look at the tools that you can use to inspect these elements.
Different Appium Inspectors that help you identify elements in mobile app
There are many different tools that help you inspect elements in mobile apps. But for our Appium Tutorial series, we will cover the most popular and widely used tools (and supported by Android or Appium). These tools are –
- UIAutomatorViewer: This is a tool provided by Android Studio that lets you inspect elements in your mobile app
- Appium Desktop Inspector: The latest version of Appium GUI (Appium Desktop) comes with an inspector. You can use this inspector for both Android and iOS apps (for iOS apps, you would need a Mac)
In this article, we will start with the basics of UIAutomatorViewer. The next few articles in this series will cover in detail, the different ways using which you can inspect your mobile app using both UIAutomatorViewer and Appium Desktop Inspector.
How to open UIAutomatorViewer
UIAutomatorViewer comes with Android Studio installation package. So when you install Android Studio, UIAutomatorViewer would automatically get installed with it. There are 2 ways in which you can open UIAutomatorViewer. You can follow any of these methods to open it –
Important Note: Please make sure that you have followed our Appium Tutorial guide and have installed the latest version of Android Studio and correctly setup the Android environment variables.
Method 1: Open UIAutomatorViewer from Command Prompt This is the easiest way of opening UIAutomatorViewer. Just follow the steps given below to open it –
Step 1.1: Open command prompt
Step 1.2: Type uiautomatorviewer and then hit Enter
Wait for a couple of seconds. UIAutomatorViewer window would open as shown below
Method 2: Open UIAutomatorViewer from its folder location UIAutomatorViewer is installed on your machine as a .bat file. Using this method, you will navigate to the folder location where it is installed and then open it. Follow the steps given below to use this approach –
Download Appium For Windows
Step 2.1: Open the folder location where UIAutomatorViewer is installed. Generally, this location is – C:UsersAnishAppDataLocalAndroidsdktoolsbin (Replace ‘Anish’ with the username that you have on your machine)
Step 2.2: Check that this bin folder contains uiautomatorviewer
Step 2.3: Double click on uiautomatorviewer. It will open UI Automator Viewer window in a couple of seconds
As we had mentioned above, you can use any of these methods to open UI Automator Viewer.
Connect your mobile phone to your machine using USB
Before you start inspecting elements of your mobile app, you first need to connect your mobile device to your machine via USB. Follow the below steps to do this –
Step 1: Connect your mobile phone to your machine via USB
https://pafoela.hatenablog.com/entry/2020/10/12/011213. Step 2: To make sure that the phone is connected properly, open command prompt and run adb devices command.
When you run this command, it would show the mobile phone’s Device ID. This means that the mobile phone is connected properly to your machine.
Step 3: You will now need to open the app which you want to inspect. As with the previous articles in our Appium Tutorial series, we will be using Google Play Store app as an example in this case as well. So, open Play Store app on your phone
Inspect mobile app using UI Automator Viewer
Follow the steps given below to inspect your mobile app with UI Automator Viewer – Tekken 7 for pc download.
Step 1: Make sure that your mobile phone is connected properly with USB. Also, ensure that it is unlocked and Play Store app is opened
Step 2: Now click on Device Screenshot icon in UI Automator Viewer (this is the second icon as shown in the below image)
Note: You would have noticed that there are other icons next to Device Screenshot icon you have just clicked. In this article, we are not going to explain the functionality of these icons. We will cover these in our upcoming articles on Appium Inspector.
Step 3: You will see a popup message which shows the progress information as shown below
Itunes 10.5 download free. Step 4: Wait for a few seconds for UI Automator Viewer to process all the information on your screen. Once this is done, UI AUtomator Viewer will load the screenshot of your phone as shown in the below image
Step 5: Now, hover your mouse pointer anywhere on the device screenshot. You will see that some information gets displayed on the right side panes
Let’s understand whats happening here
Let us now pause for a moment and try to understand what happened here. When you click on Device Screenshot icon, then UI Automator Viewer does the following three things –
- It first captures details of all the objects visible on the screen in XML format.
- Then it captures the screenshot of the mobile screen in PNG format
- Once the above details are captured, UI Automator Viewer shows both these things in the UI
Important Note: Technically speaking, UI Automator Viewer just captures your mobile screen. So whatever is displayed on the device, UI Automator Viewer would capture that. Be it any app, or your home screen or even lock screen.
Appium Inspector For Windows
3 main sections in UI Automator Viewer
From the below image, you can see that UI Automator Viewer has 3 main sections –
1. Left Side Pane: This pane shows the device screenshot. This is an interactive image, where you can click or hover your mouse pointer over any element on the screenshot.
2. Right Side Top Pane: This pane shows the entire XML structure of the screen. This XML structure shows very basic details about each control – control name, its text (if available) and its coordinates.
![Inspector Inspector](/uploads/1/2/6/7/126762188/112420195.jpg)
3. Right Side Bottom Pane: This is an important pane which shows all the details of a control. Whatever element you select from the screenshot, this pane will show its entire details such as its text, class name, package name etc. This is the pane from where you will get information on how to identify an element uniquely.
Till now, we have talked about the basics of UI Automator Viewer, how to open it and how you can load mobile app’s screenshot in it. We will stop this article here and cover the remaining part in the next article. There are multiple ways in which you can identify an element with Appium. We will discuss all that and much more in our upcoming articles on Appium Inspector.
Try it Yourself Activity: In one of the sections above, we have mentioned that you need to connect your mobile device to your computer using USB cable. Did you know that you can do this in wireless mode as well? Check out this article which shows how you can run your Appium test scripts over WiFi. Using this article as a reference, try to connect your mobile device via WiFi and then see if you can inspect any elements.
Appium Inspector Download For Mac Windows 10
Feel free to contact us if you have face any issues with any of the sections above, or if you have any feedback for us. We would love to hear your feedback as it helps us improve our articles and make it more useful for all our readers.