<?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 Adam Svoboda on Medium]]></title>
        <description><![CDATA[Stories by Adam Svoboda on Medium]]></description>
        <link>https://medium.com/@adam.svoboda?source=rss-41ca650d071e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*CzNF7z9l8jblg3dJQKNuvA.jpeg</url>
            <title>Stories by Adam Svoboda on Medium</title>
            <link>https://medium.com/@adam.svoboda?source=rss-41ca650d071e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 08:53:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adam.svoboda/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[Mobile Application QA — Capturing the evidence]]></title>
            <link>https://medium.com/@adam.svoboda/mobile-application-qa-capturing-the-evidence-a5115b0f2a4?source=rss-41ca650d071e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5115b0f2a4</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[automation-tools]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Adam Svoboda]]></dc:creator>
            <pubDate>Thu, 27 Jun 2019 12:33:47 GMT</pubDate>
            <atom:updated>2019-09-10T17:34:32.779Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7grKHFCsWORWCRmstInvkw.png" /></figure><h3>Capture mobile app bug evidence efficiently using terminal</h3><p>As a quality assurance engineer one should always provide concise and thorough bug reports, including the following mandatory information: what&#39;s wrong, reproduction steps (if known) and expected behaviour.</p><p>The first two can be easily represented by a screen recording or a screenshot, since one can literally see whats going on on the screen, and possibly also observe the steps taken prior to encountering a faulty situation. There are two significantly different ways of obtaining such evidence.</p><h3>Manual vs. automated approach</h3><p>The most straightforward and common one is a manual way -<strong> using a device specific combination of hardware keys for triggering the screen capture</strong>. After that additional time investment is inevitable for transferring the evidence to a computer for uploading to a task management system. And last but not least, the device storage will be entirely filled with the captured content at some point in the future, if it&#39;s not cleared once in a while.</p><p>The second approach is much more efficient - <strong>using a</strong> <strong>simple script for doing the hard-work </strong>in a blink of an eye, while stripping the repetitive tasks mentioned before. The job will be done faster and cleaner, but the biggest gain of this method is the discovery of a whole new world of automation possibilities, like the opportunity to capture the device log or to change the device settings without fiddling in the system settings app.</p><h3>Screenshot script example</h3><p>The most simple but very powerful script can consist of just three lines of shell code. Executing the following line will take a screenshot on any connected Android powered device with USB debugging option enabled in the developer settings.</p><pre>adb shell screencap -p /mnt/sdcard/screenshot.png</pre><p>First non-manual screenshot is born, now let&#39;s copy it to the desktop.</p><pre>adb pull /mnt/sdcard/screenshot.png ~/Desktop/screenshot.png</pre><p>Last step handles the removal of the screenshot file from the device.</p><pre>adb shell rm /mnt/sdcard/screenshot.png</pre><h3>The catch</h3><p>This looks great, but while having multiple devices or emulators connected, one also needs to target a specific one and that is causing a minor slowdown, since you need to list the devices, copy the target device id and pass it into every ADB command via -s option.</p><pre>adb -s &lt;device_id&gt; shell rm /mnt/sdcard/screenshot.png</pre><p>Performing more complex actions typically requires some previous scripting experience and the process of <strong>managing iOS devices</strong> using terminal is significantly different and <strong>very limited. </strong>There is no official ADB equivalent, so <strong>using </strong><a href="https://github.com/libimobiledevice/libimobiledevice"><strong>third party library</strong></a><strong> is necessary.</strong></p><h3>The cure</h3><p>Luckily, you wont need to bother about this kind of stuff, once you start using my <a href="https://github.com/IntergalacticPenguin/mobile-toolkit"><strong>pre-made set of scripts</strong></a><strong> designed specifically for testing mobile applications.</strong></p><p>Everything you need to do, to be able to swiftly capture a wide range of mobile application bug evidence and manage device settings and storage effortlessly on both Android and iOS, is to follow a <strong>simple step by step setup guide</strong> at the following <a href="https://github.com/IntergalacticPenguin/mobile-toolkit">link</a>:</p><pre><a href="https://github.com/IntergalacticPenguin/mobile-toolkit">https://github.com/IntergalacticPenguin/mobile-toolkit</a></pre><h3>Improve your process</h3><p>If you are taking your job seriously, you need to<strong> </strong>constantly improve your testing process, so you can work more effectively and don’t get stuck with doing repetitive tasks again and again. It is up to you to take the first step and start using advanced techniques and automation tools.</p><p><strong>How do you collect bug evidence and which tools do you use? </strong>Let me know<strong> </strong>via email <strong>adam.svoboda@thefuntasty.com</strong>. I am always looking for more inspiration. Have a great day and see you later. ✌️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5115b0f2a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Key points defining resilient mobile application]]></title>
            <link>https://medium.com/@adam.svoboda/resilient-mobile-application-3997c731c9f0?source=rss-41ca650d071e------2</link>
            <guid isPermaLink="false">https://medium.com/p/3997c731c9f0</guid>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[mobile-app-testing]]></category>
            <dc:creator><![CDATA[Adam Svoboda]]></dc:creator>
            <pubDate>Fri, 25 Aug 2017 13:43:33 GMT</pubDate>
            <atom:updated>2019-09-10T17:40:51.591Z</atom:updated>
            <content:encoded><![CDATA[<p>When you are developing a mobile application, regardless if it&#39;s for Android or iOS, you should always try to <strong>handle as much as possible situations which can user face</strong> while using it.</p><h3>Compatibility</h3><p>📺 Main thing you should always test is compatibility, always go through your app on a device with the <strong>lowest version of targeted operating system</strong> that you support. There are many things which can go wrong: eg. vector drawables or runtime permissions on Android, or usage of a newer API (such as UserNotifications or FileProvider) on iOS. Also make sure to test your app UI on <strong>different screen sizes and resolutions</strong> and check if the content is being displayed correctly.</p><h3>Unavailable network handling</h3><p>🌐 Next very common cause of malfunction is <strong>unavailable network connection</strong>. Take your time and try to turn it off while browsing through your app. Keep in mind that <strong>user can lose connection anytime on any screen</strong>, even while loading content. <strong>One should always be informed about missing internet connection when trying to load data from a server or send it</strong>. If you haven&#39;t got a dedicated designer, who can create some beautiful error layout, at least let people know about the situation via simple dialog/alert, toast or whatever.</p><h3>Empty list handling</h3><p>📝 Do you have any lists or pickers in your app? Do you handle the scenario when there is <strong>no data </strong>to show? One thing is that <strong>your app won&#39;t crash while trying to fill view with <em>nothing</em></strong>. But <strong>you can do more</strong>. Create an<strong> empty screen layout, which suggests that new data will appear</strong> there after submitting. Don&#39;t forget to <strong>show it also when the last item is deleted</strong> from the list, not only when you open the screen.</p><h3>Input validation</h3><p>✍️ If you give <strong>user ability to input some data </strong>to your app, whether is text or files, you should <strong>always validate it</strong>. Imagine a simple application where you can <strong>submit an image</strong> with some description, you definitely want to <strong>handle the situation when user tries to submit 100MB file</strong> with ”ßÅÞ¡冗 ّبُ🍔” as a description text. It&#39;s always pleasant to be informed about the validation rules, and also to prevent form submission when they are not met.</p><h3>Permission handling</h3><p>🚫 When some of the <strong>app functions require some special permissions</strong> (<strong>camera, location, storage</strong>, etc…), <strong>always handle scenario when user refuses to grant them</strong>, present some <strong>brief information about why they are requested</strong> and consider implementing <strong>button leading to the permission settings</strong> to simplify user&#39;s flow.</p><p>These are some of the little, but most important things you should think of, test and handle properly, if you want to <strong>receive 5-star reviews and have happy users (and testers 😉).</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3997c731c9f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>