Appium Desktop is an open source app for Mac, Windows, and Linux which gives you the power of the Appium automation server in a beautiful and flexible UI.
Starting the Appium Server
On opening the Appium Desktop Client, we will be greeted with the following screen:
The Default values for Host IP is 0.0.0.0 and Port number is 4723. It is highly recommended to keep the Port number unchanged unless you are a System Administrator since other port numbers might be used by another Application.
Other recommended values for Host IP are localhost or 127.0.0.1.
Please note the values you enter here as these are the values we need to use in the Appium URL field in the Create Execution Configuration while creating a mobile Execution on Testsigma.
In the Execution Configuration page, we need to enter the Appium URL in the following format:
For example, http://0.0.0.0/wd/hub:4723
You can click on the Start Server button to start the Server. Your Appium Server will start running and it will look as shown below:
You may either Start a New Session or Stop the currently running Appium Server now.
Starting a Custom Session with Desired Capabilities
Many times, you may need to customize the default session created when Appium Server is started. Once such instance is when we need to set the noReset capability to avoid App Data reset while starting a Test Session on Appium. For such instances, you can use the Start New Session button.
1. Click on the Start new Session to open the Session Configuration Page. We will be using the Automatic Server to reduce the complexity. You may use a Custom Server, or Sauce Labs tab if you want to run tests on a Cloud Device.
2. In order to create a Desired Capability, enter the capability name, select the value type and then enter the actual value.
We will be setting the noReset Capability here. Enter the capability name as 'noReset', select type as 'boolean', and toggle to 'true'.
Setting the noReset capability will avoid the Application Data being reset when Appium Session is started. You can see a sample Desired Capability set below:
4. Finally, click on Start Session to start the session.