-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Appium Essentials
By :
Native apps are basically developed for a particular platform and can take advantage of the device's features. One important point to note is that these apps can work even when you are offline. You can install them directly onto the device or through application stores, such as Google Play or the Apple App Store.
In the case of Android automation, the same code that was used in the previous chapter will work when testing with an emulator, but we need to remove the avd capabilities from the emulator automation code.
Here, we are going to take an example of the Android dialer app. In this section, we will make a call with the Android dialer app, which is shown in the following screenshot:

Let's start with the following steps to automate the dialer app:
Set the desired capabilities to launch the dialer app, as follows:
caps.setCapability(MobileCapabilityType.APP_PACKAGE, "com.android.dialer"); caps.setCapability(MobileCapabilityType.APP_ACTIVITY, "com...
Change the font size
Change margin width
Change background colour