<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vishal Gaikar on Medium]]></title>
        <description><![CDATA[Stories by Vishal Gaikar on Medium]]></description>
        <link>https://medium.com/@vishal.gaikar?source=rss-b9fe3cc9c858------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8gkVYqh6ryfnrMYgDYmwZA.jpeg</url>
            <title>Stories by Vishal Gaikar on Medium</title>
            <link>https://medium.com/@vishal.gaikar?source=rss-b9fe3cc9c858------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 22:33:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vishal.gaikar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Beginner’s Guide to the Internet of Things (IoT)]]></title>
            <link>https://medium.com/globant/iot-basics-and-its-presence-in-globant-ccc38aff3208?source=rss-b9fe3cc9c858------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccc38aff3208</guid>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[quality-engineering]]></category>
            <category><![CDATA[iot-architecture]]></category>
            <category><![CDATA[iot-platform]]></category>
            <category><![CDATA[globant]]></category>
            <dc:creator><![CDATA[Vishal Gaikar]]></dc:creator>
            <pubDate>Tue, 28 Sep 2021 14:38:25 GMT</pubDate>
            <atom:updated>2021-10-12T20:38:57.726Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Written by </strong><a href="https://medium.com/u/665ad25fe8d6"><strong>Prasad Gholap</strong></a><strong> &amp; </strong><a href="https://medium.com/u/b9fe3cc9c858"><strong>Vishal Gaikar</strong></a></p><h3>Introduction to IoT</h3><p>Internet of Things is a system of physical objects connected over the Internet. It collects and transfers data to get the necessary work done without manual touch.</p><p>You can operate objects ranging from household devices to commercial equipment over the IoT. For example, we can automate switching on and off light bulbs, fans, AC’s, and other appliances in a home over IoT.</p><p>Recent trends in IoT usage have been seen in the fitness and healthcare industries. Also, the automobile industry makes use of IoT in notifying the customer about the vehicle engine&#39;s health.</p><p>The blog covers how the IoT works. It covers the architecture and communication protocols and IoT over the cloud. It lists down the benefits and challenges of IoT. It also covers the top 10 IoT application areas and how to get started with IoT testing challenges. This blog is for Business Analysts and Quality analysts at the beginner stage in the software industry</p><h3>How the Internet of Things Works</h3><p>The IoT device collects data from the devices and shares valuable information by applying analytics. These powerful IoT platforms come up with useful information and ignore unnecessary details. It suggests recommendations and detects possible problems before they occur.</p><p>For example, in the case of the automobile business, I am keen to know which components (leather seats or alloy wheels, for example) are the most popular. IoT can help me here with the following:</p><ul><li>Use sensors to detect which areas in a showroom the customers linger in the most</li><li>Apply analytics on sales data to identify which components are being sold.</li><li>Smart supply chain logistics to make sure popular items don’t go out of stock.</li></ul><p>The connected devices help make smart decisions on which components to stock up on with real-time information. It helps in saving time and money.</p><p>With the insight provided by advanced analytics comes the power to make processes more efficient. Smart objects and systems can automate repetitive, time-consuming tasks</p><p>Let’s look at some examples to see what this looks like in real life.</p><p>You wake up at 7 am every day to get ready to go to work:</p><ul><li>Your alarm clock does the job of waking you at the time you set</li><li>But what if something goes wrong? Assume that your train is now canceled, and you have to drive to work instead.</li><li>The problem is that it would take more time to travel by road, so you would have to get up at 6.45 am to start early for travel.</li><li>You also get to know that it’s raining outside, so you’ll need to drive slower than usual.</li><li>A connected or IoT-enabled alarm clock would reset itself based on all these factors to ensure you got to work on time.</li><li>It recognizes that the train is not running. Then it calculates the driving distance and travel time for your alternative route to work.</li><li>It then checks the weather and factors in slower traveling speed and calculates your wake-up time, so you’re not late.</li><li>It will also sync with your IoT-enabled coffee maker to ensure your morning caffeine’s ready to go when you get up. That’s smart, right!!!!</li></ul><h3>IoT Architecture</h3><p>The IoT architecture depends upon different application areas of the Internet of Things, and it works as per the design. There is no standard defined architecture of IoT. It completely depends upon its functionality and implementation in different sectors. The below diagram shows a basic process flow of IoT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/0*tCpbr7ZusUvleSVG" /><figcaption>Image 1: IoT Architecture</figcaption></figure><p>The IoT system combines many smart devices and the cloud platform to which they are all connected.</p><p>The IoT system operates on several levels:</p><ul><li>Hardware can be wireless sensors or actuators. They react with the environment and make the data they collect available for analysis. For example, you can use them to switch off a light when the sun rises.</li><li>IoT Gateway connects to the sensors and actuators, which compiles all their data. It then converts it into digital form and routes over the network by the internet gateway.</li><li>Cloud infrastructure, which handles storage and processing of the data received. This is the preferred storage method in IoT implementations.</li><li>The application controls IoT devices on the user side (for smartphones, tablets, or PCs).</li></ul><h3>IoT Communication Protocols</h3><p>IoT protocols are being used to transfer data from devices to other IoT-powered devices. IoT protocols ensure that the information that is sent from one device is received effectively by the next device which is part of the connected environment.</p><p>We are listing here the top IoT communication protocols involved in the Internet of Things devices and applications.</p><ul><li>WiFi: Wireless Fidelity (<a href="https://www.wi-fi.org/">WiFi</a>) is the most popular for wireless local area networks. WiFi enables powerful communication between connected devices. It is applicable for indoor applications and home automation. (Range: 100 to 250 ft)</li><li>Bluetooth: <a href="https://www.bluetooth.com/">Bluetooth</a> is one of the most important IoT network protocols. Nowadays the new Bluetooth Low-Energy (BLE) is what IoT companies are using for different consumer product markets.<br>Bluetooth can be useful in smartphones, tablets, smartwatches, and media players. Bluetooth is more useful while transferring information between two or more devices that are near each other.</li><li>ZigBee: <a href="https://zigbeealliance.org/solution/zigbee/">Zigbee</a> is an open global standard for wireless technology. It uses low-power digital radio signals for personal area networks. Zigbee has lower power consumption, high security, and has a longer range of communication. Zigbee can reach 200 meters whereas Bluetooth can reach 100 meters.</li><li><a href="https://lora-alliance.org/">LoRa</a>: Long Range Wide Area Network (LoRaWAN) is a long-range radio-wide area network that provides low-cost mobile security to IoT and industrial applications. It has the ability to communicate in long-range with low power consumption and supports a large network of millions of devices.</li><li>Z-Wave: <a href="https://www.z-wave.com/">Z-Wave</a> is a radio frequency based low-power consuming communication protocol and like Zigbee, it is based on IEEE 802.15.4 standard. The operating frequency of the Z-Wave communication protocol is 900 MHz, and the range is around 30–100 meters. <br>This low-power radio frequency communication protocol is designed for home automation systems and electronic devices such as lamp controllers and sensors. Its data rate ranges approximately from 40kbps to 100kbps.</li></ul><h3>IoT Cloud</h3><figure><img alt="IoT Cloud" src="https://cdn-images-1.medium.com/max/1024/1*hIglocwm7EI_jMnYd-Jrjw.png" /><figcaption>Image 2: IoT Cloud</figcaption></figure><p>An IoT cloud is a huge network that supports IoT devices and applications. This is a platform that stores and processes IoT data. IoT cloud consumes large volumes of data generated by devices, sensors and then starts actions for real-time responses.</p><p>The sensors/devices from the IoT system talk to the cloud through some connectivity. The software starts processing the data and starts sending alerts. It can also turn the devices on and off based on the settings done within the application.</p><p>IoT clouds offer an efficient and scale-able model for delivering the configuration and services. Businesses with limited resources can opt for a demand solution of IoT cloud.</p><h3>Benefits Of IoT</h3><p>Looking at the big picture of IoT benefiting any business, the organizations can expect things like:</p><ul><li>Enhancing Productivity: Increased automation with connected devices performs various operations in a shorter duration. This leads to higher productivity</li><li>Customer behavior understanding and Analysis: IoT helps identify the customers’ behavioral patterns. It is useful in establishing better customer relationships and engagement strategies.</li><li>Precise monitoring and alert generation: Ensures the reduction in errors</li><li>Real-time Analytics and Reporting: helps to identify grey areas and take the right measures towards the solution.</li><li>Reduced risk of system failure due to low human intervention</li><li>Improved Quality Control mechanism: Increase quality control in the product life cycle.</li><li>Real-time decision making: the customer behavior patterns help in sustaining the target audience. It leads to marketing and building brand loyalty.</li></ul><h3>Challenges in IoT</h3><p>Even though IoT has many benefits, there are certain challenges IoT has. Listed below are a few of the challenges:</p><ul><li>Creating a culture of technology within the organization is a prerequisite to start the use of IoT.</li><li>Organizations need to invest in the following to enable effective use of IoT:</li><li>Investment in sensors — Sensors cost high and need maintenance as well.</li><li>Data analytics — Data analytics tools are required to identify patterns/sequences to arrive at a conclusion</li><li>Network investment — Heavy cost is involved in building the network for IoT</li><li>System integration — A lot of integration activity is involved in getting the IoT devices integrated with the system</li><li>Security — Security is one of the most important aspects which needs to be considered for preserving customer data</li><li>Compatibility and Interoperability of Different IoT systems are also concern factors.</li><li>Getting all the connected devices on one platform needs formalization</li><li>Network challenges will always remain a crucial factor as the Internet is still not available everywhere at the same speed.</li><li>Big Data in itself is so massive that combining it with IoT possesses a great challenge.</li></ul><h3>Top 10 IoT Application Areas</h3><p>Out of the 1,414 public enterprises, IoT projects identified, manufacturing / Industrial are most common (22%) followed by the Transportation / Mobility (15%) and Energy IoT projects (14%).</p><figure><img alt="IoT application areas" src="https://cdn-images-1.medium.com/max/1024/1*pM4IZ5MfyKiaqr74jV1JAQ.png" /><figcaption>Image 3: IoT Application Areas &lt;Ref: <a href="https://iot-analytics.com/top-10-iot-applications-in-2020/">IoT Analytics</a>&gt;</figcaption></figure><p>For example, IoT is used for Home Automation. This is the ability to control domestic appliances by internet-connected systems. It may include controlling all lights, motion sensors, contact sensors of your home.</p><p>Using smart home IoT solutions, you can get the best level of control over your household. You can remotely switch on and off appliances and control the full range of functionality using mobile or web applications.</p><p>Listed below are some of the basic steps you need to follow in order to get started with the IoT project.</p><ul><li>The project team needs to understand the problems the customer to install IoT</li><li>Create a business model around connectivity which will justify the recurring cos</li><li>We need to understand whether preventive or predictive maintenance activity needs an IoT. Also, whether it is for asset tracking, environmental monitoring, automatic refilling, etc.</li><li>We need to research the best IoT platforms, tools, and applications that could help us install an IoT product.</li><li>We should examine the below mentioned things for solutions for an IoT product:<br>- Hardware<br>- Device management<br>- Connectivity<br>- Method of connectivity<br>- Geographical coverage<br>- Type of Service</li><li>To summarize, including an IoT project in a business, we need to understand how the technology works and what it can do for your business.</li><li>A unique set of IoT applications and tools can serve specific industries. The IoT technical partner will help us determine the particular needs better by defining our expectations. This will be useful in avoiding the pitfalls faced by companies that attempt IoT deployment on their own.</li></ul><h3>IoT Testing Challenges</h3><p>Here are the few common challenges which the QAs can face while testing the IoT products:</p><ul><li>Gadgets involved in IoT might not be available every time.</li><li>It requires a lot of effort and is difficult to replicate the actual environment.</li><li>Large effort among many teams to get the right test data.</li><li>Due to device fragmentation, it is a challenge to build an IoT that can work across a wide range of devices. Presence of different brands, models, OS, versions of the OS, screen sizes, resolutions, and other elements.</li><li>Many IoT communications protocols are present in the market to test the interaction with controllers and each other.</li><li>Compatibility factor</li><li>Security challenges</li><li>Network and cloud availability: Network and clouds play an important role in IoT systems. It is a challenge to test the data at faster speeds. Testing IoT architecture on all kinds of network connectivity and speed is crucial.</li></ul><p>For testers to overcome the above challenges, they must focus on a good testing approach. It is important to follow the structured requirements, comprehensive test plan.</p><h3>Testing strategy for IoT</h3><p>IoT testing validates an IoT device’s functionality, performance, security, and connected clouds. It is important to verify that your IoT devices can send sensitive information before bringing your product to market.</p><p>Various types of testing help to ensure proper test coverage:</p><ul><li>IoT Device functionality testing: Done on both application and hardware to ensure that the device works as expected.</li><li>Sensor-protocol compatibility testing: Test various IoT protocols like WiFi, Bluetooth, for device compatibility</li><li>Device security testing: Verify that IoT devices are free from any threats, vulnerabilities, or risks. This includes checking device authentication, data collection, data transmission, device software, and more. This testing will make ensure data protection and encryption</li><li>Performance Testing: collect information on the response time and reliability of product features. Testers can check the performance of the devices with various IoT performance testing tools available in the market. It will ensure the expected performance of the IoT device under normal circumstances.</li><li>Network Connectivity testing: To check efficient and smooth connectivity across the connected network. This includes Device-to-Device connectivity and Device-to-Cloud connectivity testing.</li><li>Upgrade testing: The upgrade testing is to check that the devices are working after the firmware upgrade, cloud updates</li></ul><p>IoT devices must need large testing before releasing products to the market. The team can streamline IoT testing by adding the above testing practices to your development cycle.</p><p><strong>Summary</strong></p><p>The article covered various aspects of an IoT project: The architecture and communication protocols and IoT over the cloud. It listed the benefits and challenges of IoT and also covered the top 10 IoT application areas and how to get started with IoT testing challenges.</p><p>On the final note, the integration of IoT can open doors for many new opportunities across various business sectors. In the coming years, with more IoT providers, we will see exciting IoT applications and exponential growth in serving IoT Customers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccc38aff3208" width="1" height="1" alt=""><hr><p><a href="https://medium.com/globant/iot-basics-and-its-presence-in-globant-ccc38aff3208">The Beginner’s Guide to the Internet of Things (IoT)</a> was originally published in <a href="https://medium.com/globant">Globant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Get Started with Mobile App Testing]]></title>
            <link>https://medium.com/globant/how-to-get-started-with-mobile-app-testing-4e1ccccc756a?source=rss-b9fe3cc9c858------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e1ccccc756a</guid>
            <category><![CDATA[mobile-testing]]></category>
            <category><![CDATA[android-app-testing]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[mobile-app-testing]]></category>
            <category><![CDATA[ios-app-testing]]></category>
            <dc:creator><![CDATA[Vishal Gaikar]]></dc:creator>
            <pubDate>Thu, 01 Oct 2020 17:18:27 GMT</pubDate>
            <atom:updated>2020-10-01T17:18:27.500Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>With 3.6 billion smartphones globally and thousands of mobile applications being pushed on app stores, engineers are finding new career opportunities in mobile app development and testing. The mobile industries are getting flooded with millions of apps. Thus, mobile app testing is becoming crucial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vOsYuOEeW7KQG14J" /></figure><h3>What is Mobile Application Testing</h3><p>Mobile app testing is the process of testing mobile applications for required quality, functionality, usability, compatibility, performance, and other characteristics.</p><p>Testing is an essential part of every software development before making it available to the customers, and with the mobile app, it has become more critical. The growing number of mobile devices is leading to massive OS fragmentations, various screen sizes, and resolutions.</p><p>Android &amp; iOS are the most popular smartphone operating systems. There are millions of applications designed for these platforms and available for download on the Google Play and Apple App Store. The Mobile App success can be measured by the number of downloads, positive reviews, and the frequent updates and the new features with bug fixes.</p><h3>Types of Mobile Apps</h3><p>Mobile apps are primarily categorized into three types, based on their functionalities and the technology used for programming them:</p><p><strong>Native Apps</strong> are explicitly coded for smartphone operating systems (OS). This includes the majority of Android and iOS devices. Being programmed for one specific platform, native apps cannot be mix-matched.</p><p><strong>Web Apps</strong> are operated similarly to native apps but are accessed via web browsers and limited feature functionality. They are not standalone apps that require downloading and installing them onto your smartphone.</p><p>Finally, there are <strong>Hybrid Apps</strong>. They are built using multi-platform web technologies (for example HTML5, CSS, and Javascript) and then this code is embedded into a native wrapper using frameworks like PhoneGap, Xamarin, Mobile Angular UI, Ionic, etc. These are mostly web apps that operate and feel like native apps.</p><h3>Difference between Mobile, Web &amp; Desktop App</h3><p>Mobile applications, by their definition, are software applications that run on portable devices operating on specific OS. These types of apps are available for download through OS-specific portals like Google Play Store and Apple app store and are installed onto users’ devices with higher-level hardware access.</p><p>Web Apps download specific parts of the program from the internet onto the devices every time they run. Google Play Instant Apps are the best examples of web applications that don’t require complete installation, manual updates, and on-device hardware horsepower. They are mostly run on servers.</p><p>Desktop Apps are standalone apps that are installed on desktop and laptop devices. These can be full-fledged like Microsoft Office Suite, Google Chrome, or can perform few functions like the calculator and calendar apps. Usually, desktop apps rely entirely on device hardware.</p><h3>Mostly Used Mobile Platforms (OS)</h3><p>As Windows and macOS control your desktop or laptop computer, Mobile OS controls your smartphones and tablets. When you buy any mobile device, it comes with an operating system for that specific device. This smartphone OS manages the software and hardware resources of your mobile device, similar to computer operating systems.</p><p>There are following different operating systems available for mobile phones,</p><ul><li>Android (Google)</li><li>iOS (Apple)</li><li>Bada (Samsung)</li><li>Blackberry OS (Research in Motion)</li><li>Windows OS (Microsoft)</li><li>Symbian OS (Nokia)</li><li>Tizen (Samsung)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YDHZbSYFMo6D_Nga" /><figcaption>Market share of mobile operating systems worldwide 2012–2020</figcaption></figure><p>According to the survey released by <a href="https://www.statista.com/statistics/272698/global-market-share-held-by-mobile-operating-systems-since-2009/">statista.com</a> in January 2020, Android and iOS are the most popular mobile operating systems that jointly possess 99% of the global market share. Till December 2019, Android dominated the smartphone industry with 74.13% share, followed by iOS with 24.79%.</p><h3>Key challenges for mobile application testing</h3><p>Mobile apps should be rock-solid before being launched in the market. But there are key challenges that QA engineers might face while testing their apps.</p><p><strong>Display Resolution &amp; Aspect Ratio</strong>: The varieties of display resolutions — from 480p to 1600p — can be overwhelming, given there are now variable refresh rates. For testing, this means running the app on dozens of devices, starting from budget devices up to bleeding-edge flagships.</p><p><strong>Mobile Network</strong>: There are several local standards for mobile connectivity, including cellular and WiFi. For international apps, developers must ensure their apps are compatible with every standard. Data consumption is another aspect where every region might not have the privilege of unlimited usage.</p><p><strong>Hardware Access</strong>: iPhones are renowned for stable hardware with the latest OS updates. The same isn’t applicable for Android, where you’ll find half-a-dozen SoC vendors and manufacturers. Thus, mobile apps can’t utilize Android hardware extensively, as they must support unlimited manufacturers.</p><p><strong>OS Versions</strong>: iOS devices are famous for getting quick and consistent OS updates for five years. Who would believe that the iPhone 7 from 2016 runs on the latest iOS14? For developers, they must support older Android versions and API throughout five years of Android developments.</p><p><strong>Internationalization</strong>: Most of the mobile apps are designed for international markets. Testing apps for translation and regional language support is only half the story. Developers and testers should also account for regional time settings and audiences. These traits have always left developers puzzled.</p><h3>Start with Mobile App Test Strategy &amp; Plan</h3><p>For winning the battle of building an overall competent app, you must be aware of the challenges and develop robust mobile app testing strategies. You’ll be benefited if you keep these essential factors in mind:</p><ul><li>Choosing the right mobile devices for testing is essential for ensuring your app’s performance and stability across all devices.</li><li>Testing your app on emulators might save you from spending on hardware purchases, but you will lose on monitoring hardware stats.</li><li>The decision of cloud testing and in-house testing depends on your requirements and what you expect from your trials.</li><li>Manual and automated testing are two complementary methods that save you time while making the outputs more statistical.</li><li>On-device and in-house testing offers you monitor system resource usage, like CPU temps, memory usage, and battery drainage.</li><li>For security testing, incoming and outgoing credentials must be end-to-end encrypted, no matter what network the app is using.</li><li>The choice of tools and methods will affect the quality and terms of mobile app deployment and updates fundamentally. You need to ensure timely and cost-efficient testing while taking into account the evolving user need.</li></ul><h3>Effective Use of Mobile Vocabulary</h3><p>To use smartphones and tablets, users interact with applications with gestures. There are several different gestures (see Image 1 below).</p><ul><li><strong>Tap</strong>: Briefly touch the surface with a fingertip.</li><li><strong>Double Tap</strong>: Rapidly touch surface twice with fingertip</li><li><strong>Drag</strong>: Move fingertip over the surface without losing contact</li><li><strong>Flick</strong>: Quickly brush the surface with a fingertip</li><li><strong>Pinch</strong>: Touch surface with two fingers and bring them closer together</li><li><strong>Spread</strong>: Touch surface with two fingers and move them apart</li><li><strong>Press</strong>: Touch surface for an extended period of time</li><li><strong>Press and Tap</strong>: Press the surface with one finger and briefly touch the surface with the second finger.</li><li><strong>Press and Drag</strong>: Press the surface with one finger and move the second finger over the surface without losing contact</li><li><strong>Rotate</strong>: Touch the surface with two fingers and move them in a clockwise or counterclockwise direction</li><li><strong>Open</strong>: Rapidly touch the surface twice with a fingertip.</li><li><strong>Select</strong>: Briefly touch the surface with a fingertip.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/0*4uj8dMCCgB4KOn7S" /><figcaption><em>Image 1 — Gestures on Mobile</em></figcaption></figure><p>So, it’s always an effective idea to use the above mobile vocabulary while posting bugs on bug management tools.</p><h3>Understand The Orientation — Landscape &amp; Portrait</h3><p>Smartphone devices use two types of orientation- Landscape and Portrait. The accelerometer in the smartphones is used to align the screen depending on the orientation of the device.</p><p>Mobile apps use this capability and create a better user experience by providing support to the additional layout with a simple turn of a device, and without pressing any buttons. So while testing mobile apps, one should check if the app supports both the orientations or only one, and depending on this, the number of test cases can be added to test the orientations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H7OCbo_XQNY2t4bZ" /><figcaption><em>Image 2 — Portrait vs. Landscape modes</em></figcaption></figure><p>For eg. The YouTube app takes advantage of the available space by adding additional functionality in landscape mode (See Image 2).</p><h3>Device Fragmentation</h3><p>Device fragmentation refers to the uncountable numbers of mobile devices that are active at any given time. This is quite important as app developers, and testers must ensure good user experience across all such devices. According to Statista, the number of smartphone users has crossed over somewhere around the 3.5 billion mark.</p><p>There are so many combinations of mobile devices and operating systems known as fragmentation. Mobile device fragmentation is mostly associated with Android OS as there are a large number of manufacturers who provide their own forked versions of the OS such as One UI by Samsung (for Galaxy series), OxygenOS by One Plus, MIUI by Xiaomi, Huawei EMUI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lNRk56XEK_ypFB-8" /><figcaption><em>Image 3 — </em><a href="https://www.scientiamobile.com/device-fragmentation-growing-20-per-year/"><em>Smartphone Model Fragmentation</em></a></figcaption></figure><p>To make mobile testing manageable, we need to consider this as a crucial point while creating a test plan (see Image 3). Due to such diversity, the tester needs to assure whether a tested application is going to work perfectly with the customer-end users’ devices. The testing can achieve this by focusing on the below points,</p><ul><li>Identifying the target audience and the most popular devices among the target users</li><li>Identifying the minimum set of devices the app must support</li><li>Making use of the device cloud services to minimize the number of physical devices needed to test in-house.</li></ul><h3>Types of Testing for Mobile Applications</h3><p>There are various different effective mobile testing types including Functional testing, Security testing, Performance testing, Usability testing, Localization Testing, Installation testing, Compatibility testing, and Interruption testing. Most of them are the common types that we also follow for web testing, but the following 2 types including Compatibility testing and Interruption testing are different.</p><h4>Compatibility Testing</h4><p>Compatibility testing refers to checking and validating your application in order to ensure behavior remains the same across device combinations. Developers spend more and more hours into planning and developing apps, as they expect the best possible user experience across all devices.</p><h4>Interruption Testing</h4><p>It is a type of mobile application testing that deals with — how an application reacts to interruption and resumes to a state before the interruption. While testing different types of interruptions, we need to make sure that if the application gets interrupted it should enter into a suspended state and restart as soon as the interruption ends.</p><p>We all have interruptions in our day-to-day life. Consider a real-life example of being interrupted by a call when you are watching a video on YouTube. Some of us may notice the call, ignore it and continue watching the video, a few more might attend the call, and then resume watching the video.</p><p>However, the person’s thought while watching the video is interrupted or lost for which interruption testing helps to find out which behavior the app exhibits. The expected behavior for the above example is for the video to pause while the user attends the call and resume back when the call is over.</p><p>Below there are samples of Interruptions in Mobile Application</p><ul><li>Incoming and outgoing calls</li><li>Getting the text messages or WhatsApp messages</li><li>Push Notification</li><li>Battery Removal</li><li>Battery Low/Full</li><li>Device shut off</li><li>Putting the app into the background</li><li>The phone screen gets lock automatically</li><li>Alarm, Calendar events</li><li>Low Storage, Low Memory</li><li>Network connection loss and restore</li><li>Sending app to background/restore it</li></ul><p>The above list for the interrupting scenarios is not exhaustive but includes the most common scenarios.</p><h3>Testing On Different OS</h3><p>Now we will see how one can test the apps on the Android and iOS devices and what are the useful points to keep in mind while performing these tests.</p><h3>Android OS</h3><h3>Introduction to Android OS</h3><p>Jointly developed by Google and Open Handset Alliance, and built on the Linux kernel, Android is the mobile OS that dominates almost three-quarters of the smartphone industry. Powering smartphones, tablets and even laptops, Android is primarily designed for touchscreen mobile devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GK113jxP4gsYmqGO" /></figure><h3>Installation</h3><p>In order to install the Android app on your devices for testing, you need to sideload the app which is from outside of Google Play. This option is disabled by default for security reasons.</p><p>Follow the below steps to enable sideloading and install the APK file,</p><ul><li>Allow third-party apps. Go to Menu &gt; Settings &gt; Security &gt; and check “<em>Unknown Sources</em>”.</li><li>Download the application on the computer.</li><li>Connect the device and copy the application to the device storage.</li><li>Use the File manager to install the application.</li><li>Android will ask you to grant permission to install the app.</li><li>Grant the permission and it should bounce you back to the installation screen.</li><li>The app will get installed on your smartphone.</li></ul><h3>Emulators</h3><p>The Android Emulator simulates a device and displays it on your development computer. Once you’ve developed the app in Android Studio, create an Android Virtual Device (AVD) for installing and running your app.</p><p><strong>How to create a new AVD:</strong></p><ol><li>From the ‘<strong>Your Virtual Devices</strong>’ screen of the AVD Manager, click <strong>Create Virtual Device</strong>.</li><li>From the ‘<strong>Select Hardware</strong>’ screen, select a category and device profile, and then click Next. You can also create a new or import a hardware profile.</li><li>From the ‘<strong>Select a system image</strong>’ screen, select a particular API level, and then click Next. The Recommended tab lists recommended system images.</li><li>In case you see the Download option next to the system image, click on it to download the system image.</li><li>On the Verify<strong> Configuration</strong> page check all the information, select orientation, and click Finish.</li></ol><p>Now, from the toolbar, select your application from the debugging configs. From the target device’s drop-down menu, select the AVD that you created. Finally, click Run (see Image 4).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YI2LKQVScfkJ39Dz" /><figcaption><em>Image 4 — Virtual devices on Android Studio</em></figcaption></figure><p>You can launch an app on the emulator when you run a project from the Android studio, or you can drag and drop an APK file onto the emulator to install it. Once the app is installed on the emulator, you can start testing it.</p><h3>Developer Options on Android</h3><p>Android has amazing hidden settings that can be accessed by enabling “Developer options’ ‘ from the device setting (see Image 5). This feature has a lot of advanced and unique features including USB debugging, Tweak Animation Settings, show CPU Usage, Background process limits, Force GPU rendering, and so on.</p><h4>How to Enable Developer Options:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/228/0*gsQG6Lb9LKWbXkp5" /><figcaption><em>Image 5 — Enabling Developer Options in Android</em></figcaption></figure><ul><li>Go to “Settings” of your device</li><li>Tap on “About” or “About device” or “About Phone” option</li><li>Scroll down and then tap “Build number” 7 times.</li><li>Enter your PIN, Pattern, or Password to enable the Developer options menu.</li></ul><p>That’s it. The “Developer options” menu will now appear in your Settings menu.</p><h3>Capture Logs from your Android device</h3><p>While testing the mobile app, there are tons of reasons to provide <strong>Logs</strong> highlighting any findings to the developers.</p><ul><li>Enable the USB debugging on the device from the Developer Options</li><li>Connect your device to the computer</li><li>Launch Android Studio.</li><li>Click View &gt; Tool Windows &gt; Logcat (or click Logcat in the tool window bar).</li><li>The Logcat window will start showing the log messages</li></ul><p>From the top-right corner, choose ‘No Filters’, and you’ll see your Android device’s logs being gathered. Highlight the required logs and save as .log (see Image 6).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6cN4e3UsUpw0ieZt" /><figcaption><em>Image 6 — Logs in Android</em></figcaption></figure><h3>Capture Screenshots from Android devices</h3><p>To capture screenshots from your Android device, first, run your app on the Android device or emulator. In the Android Studio, select View &gt; Tool Windows &gt; Logcat. Now, select the Android device from the drop-down on the top window. Click Screen Capture on the left side of the window.</p><p>Follow the below steps to capture the screenshots without Android studio,</p><ul><li>Open the screen that you want to capture.</li><li>Depending on your phone model: Press and hold the Power + Volume down buttons at the same time for a few seconds.</li><li>If that doesn’t work, press and hold the Power button for a few seconds. Then tap Screenshot.</li></ul><p>That’s it. At the top of the screen, you’ll find a captured Screenshot.</p><h3>Record the Video of Your Screen on Android</h3><p>The main reason for you to record the screen of your app is so that you can use the video footage to attach it to the defect. With Android 10, there’s now a built-in screen recorder. You can access it using the notification bar quick settings.</p><p>Also, there are so many screen recording apps for Android available on the play store. One of the best apps is — AZ Screen Recorder. It is a stable, high-quality screen recorder for Android that helps you record smooth &amp; clear screen videos.</p><p>You can also record videos using the Android studio. To capture the video of your screen, first, run your app on an Android device. Go to Android studio, Select View &gt; Tool Windows &gt; Logcat. Now, from the screen recorder settings, select Bitrate, and resolution. Click Record on the left side of the Logcat window. Once that’s done, save the final output as an MP4 file.</p><h3>Monitoring CPU &amp; RAM usage</h3><p>The Android Profiler lets you understand how your app utilizes the device’s CPU, memory, network, and battery resources. To open the Android Profiler, select View &gt; Tool Windows &gt; Profiler. When you launch the debuggable app, the Android Profiler starts collecting profiling data and resource usage.</p><h3>Enabling Touches</h3><p>It is a good practice to enable touches in Android, so while recording a video for the bug a circle will appear under your finger and follows you as you move around the screen. This would be helpful for developers to see how many taps were done on the screen while reproducing the bug. You can enable this from using the steps below;</p><p>Open Settings &gt; Developer Options &gt; Scroll down to enable Show taps.</p><h3>iOS</h3><h3>iOS Devices</h3><p>iOS is the second most popular mobile operating system after Android. Developed by Apple Inc, iOS is only limited to Apple mobile devices (see Image 7). Over the years, Android and iOS devices are competing for higher market share. But iOS is partially focused on the premium segment with a 25% share.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tgfu_jN6FZaWyt4X" /><figcaption><em>Image 7 — iOS Operating System</em></figcaption></figure><h3>iOS App Installation (iTunes &amp; xCode)</h3><h4>For iOS app installation using iTunes, do the following:</h4><ul><li>Once the iOS app build is completed, download the .ipa file.</li><li>Open iTunes and drag &amp; drop the .ipa file into the App Library.</li><li>Now, connect your device to iTunes and open your device apps.</li><li>Finally, click the install button, and then click the Sync button.</li></ul><h4>For iOS app installation using Xcode, do the following:</h4><ul><li>Download the .ipa file once the build is completed.</li><li>Open Xcode and select Window &gt; Devices.</li><li>When the device screen appears, choose the device for installing.</li><li>Drag &amp; Drop your .ipa file into the Installed Apps section.</li></ul><h3>iOS App Installation (OTA)</h3><p>OTA (Over The Air) Deployment allows you to install your apps via HTTPS. Do the following for installing your app via OTA.</p><ul><li>Download the .ipa file after your app build is completed.</li><li>Upload the .ipa file on the website you prefer.</li><li>Upload the .plist file and make sure it’s accessible via the HTTPS.</li><li>Create an webpage for the .plist file using <em>&lt;itms-services://&gt;</em> protocol</li><li>After you receive the link, you’ll be prompted to install the app.</li></ul><p>You can also install iOS apps using other tools like TestFlight or Diawi. Find below detailed steps for the same.</p><h4>Install apps using TestFlight</h4><p>To test beta versions of apps using TestFlight, you’ll need to accept an email or public link invitation from the developer and have a device that you can use to test.</p><ol><li><a href="https://itunes.apple.com/us/app/testflight/id899247664?mt=8">Install TestFlight</a> on your Apple iPhone.</li><li>Now from the invitation email, tap on the public link on your iOS device.</li><li>Tap on Start Testing, or tap Install or Update for the app you want to test.</li></ol><h4>Install apps using Diawi</h4><p>You have to upload an IPA file to <a href="https://www.diawi.com/">diawi</a> and then you will get a link, open the link in safari and you will be asked to install the app. Tap on install.</p><h3>Obtain iOS Logs</h3><p>As mentioned earlier, it is always a good idea to provide logs in case if we find an app crash or any other critical issue. This will help developers to find the root cause of the defect.</p><h4>How to take the logs and share it using your iOS Device</h4><ul><li>Open Settings</li><li>Tap Privacy</li><li>Tap Analytics &amp; Improvements</li><li>Tap Analytics Data</li><li>Scroll down and select the app log with the correct date</li><li>Tap on the Share icon and share the log with the developer</li></ul><h4>How to Take iOS Logs using MAC &amp; Windows</h4><ul><li>Connect your iOS device and sync your device with iTunes</li><li><strong>On Mac</strong>, go to Finder, then choose the “Go” from the menu &gt; “Go to Folder” option. (The keyboard shortcut is Command-Shift-G.)</li><li>Copy-and-paste this location: <em>~/Library/Logs/CrashReporter/MobileDevice</em></li><li>Open the folder corresponding to your device.</li><li><strong>On Windows 8</strong>: go to <em>C:\Documents and Settings\\Application Data\Apple computer\Logs\CrashReporter\&lt;your iPhone’s name&gt;\</em></li><li><strong>On Windows Vista or 7</strong>: go to <em>C:\Users\&lt;USERNAME&gt;\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice/&lt;DEVICE_NAME&gt;</em></li></ul><h4>iOS Simulator (How to Access &amp; Run iOS Simulator?)</h4><p>Oftentimes, you may prefer launching the Simulator without launching the app. This helps in monitoring how your app launches from the home screen of your device, or if you want to test an iOS web app in the Safari browser. To launch the iOS Simulator on xCode, follow these steps (see Image 8).</p><ul><li>Control-click the Xcode icon and from the following shortcut menu, select Open Developer Tool &gt; Simulator.</li><li>Now, select your preferred iOS device and run the Simulator. This will enable an iOS home screen, where you can simulate your app.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/0*ehId31Zj4LmLcOyR" /><figcaption><em>Image 8 — iOS Simulator</em></figcaption></figure><h3>How To Get UDID</h3><p>UDID stands for Unique Device ID. For Apple iOS devices, the UDID is the unique sequence of 40 letters and numbers. For an Apple Developer to register an iOS device for testing, the unique UDID is required first. Here’s how to get the UDID of an Apple iOS device (see Image 9).</p><ul><li>Launch iTunes and connect your iOS device.</li><li>Under the Devices section on iTunes, click on your device.</li><li>Now, click ‘Serial Number’ and this should change into the UDID.</li><li>Finally, choose “Edit” and then “Copy” from the iTunes menu.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*skVtOEG-VIDhLuLF" /><figcaption><em>Image 9 — UDID in iOS</em></figcaption></figure><h3>Other Important Points To Consider</h3><h3>Firebase Crashlytics</h3><p>Firebase Crashlytics is Google’s real-time crash reporting program that helps you with tracking and fixing stability issues with your Android app. Firebase Crashlytics saves you from tedious troubleshooting by intelligently grouping app crashes and highlighting the reasons that might have caused them.</p><h3>Selecting Right Mobile Devices for Testing</h3><p>Selection of mobile devices for testing is an essential part of strategic test planning that tracks success and assures high adoption rates amongst the end-users. The smartphones and tablets landscape today is highly fragmented, spanning many devices across manufacturers and models.</p><p>While selecting the devices for testing, we need to make sure that it should support the maximum number of devices. Therefore, it is important to choose the ideal list of devices to test your mobile application.</p><p>The following are the parameters for choosing devices for mobile app testing:</p><ul><li>Know your mobile app users goal</li><li>Market share and popularity</li><li>OS &amp; OS Version Adoption</li><li>Manufacturers</li><li>Screen Size and Resolution</li><li>Hardware</li></ul><h3>Emulators</h3><p>It is always an effective idea to test your mobile application on real devices, but it can be considerable investments of money. So to save on the cost, we can also test our application on Emulators and Simulators. They are easy to set up and available easily. You can make the use of the emulators to explore the behavior of your mobile application.</p><ul><li>Android Studio AVD</li><li>Genymotion</li><li>Samsung Emulators for Developers</li></ul><p>The <em>emulator versus real device</em> decision also depends on where you are in the development lifecycle. Here are some pros and cons of using emulators;</p><ul><li>Emulator/simulator(s) are in most cases open and free software that can be very easily downloaded from the Internet and ready to be tested for.</li><li>They are cost-effective as it is a fairly inexpensive solution.</li><li>The emulator cannot emulate battery issues, network connectivity, and other real-time data: GPS, sensors, gestures, touch force, etc.</li><li>It cannot emulate the performance of an app in terms of incoming calls, SMS, etc.</li><li>Touchscreen issues cannot be emulated either</li><li>Lastly, not all mobile apps can be tested on emulators. Apps with functionality dependent on the hardware of the devices like biometry need to be tested on real devices.</li></ul><h3>Device Cloud</h3><p>Device Cloud is the mobile testing environment that allows app developers to evaluate their app’s performance remotely. This offers app developers with access to modern virtual devices, without spending on hardware.</p><p>Device Clouds with physical hardware may also provide additional insights into factors like real-time CPU temps, memory usage, and battery drainage. Find below the best 5 device farms,</p><ul><li><a href="https://www.perfecto.io/">Perfecto</a></li><li><a href="https://saucelabs.com/">SauceLabs</a></li><li><a href="https://aws.amazon.com/device-farm/">AWS Device Farm</a></li><li><a href="https://kobiton.com/">Kobiton</a></li><li><a href="https://appcenter.ms/">Microsoft App Center</a></li></ul><p>Nowadays, most of the companies use Cloud-Based Testing platforms for testing due to the reason of the device fragmentation. With device clouds, one can get a hold of many devices with different OS versions from the different manufacturers to test their apps.</p><p>There are some challenges you might face while using device clouds including testing the apps for a performance like Battery usage, storage usage. Also, network coverage testing can’t be done easily on clouds and for that, we need a real device for testing.</p><p>With real devices, you can use the device hardware to perform many tests. For eg., if the app under test needs to use the mobile’s camera (eg. to scan barcodes or click pictures) — this cannot be done in most of the device farms.</p><h3>Conclusion</h3><p>In today’s world of mobile apps, mobile application testing is highly recommended and very crucial for better user experience. A bug-ridden mobile application will definitely affect your app’s success ratio as the user might start posting negative reviews on the app stores and this may also set a bad impression for your app.</p><p>To boost the in-app experience we should build a solid test strategy by keeping in mind the points mentioned in the above article including the market share of the different OS, manufacturer-owned flavors of the OS, possible test scope (performance, security, stability, etc.), and selecting right devices for the testing. This will help to achieve the maximum test coverage and hence will improve the number of downloads, customer reach, and positive reviews on the stores.</p><p>Mobile app testing is essential for enterprises to engage and retain users and make them return to the app by providing the best experience possible for every customer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e1ccccc756a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/globant/how-to-get-started-with-mobile-app-testing-4e1ccccc756a">How to Get Started with Mobile App Testing</a> was originally published in <a href="https://medium.com/globant">Globant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>