Posts

Appium Book

Image
Glad to share that my book on appium titled Mobile Test Automation with Appium is now listed under appium official site as one of the book & resources to read and learn appium. About This Book How to automate testing with Appium Apply techniques for creating comprehensive tests How to test on physical devices or emulators Discover Appium and how to set up an automation framework for mobile testing Understand desired capabilities and learn to find element locators Learn to automate gestures and synchronize tests using Appium Take an incremental approach to implement page object pattern Learn to run Appium tests on emulators or physical devices Set up Jenkins to run mobile automation tests by easy to learn steps Discover tips and tricks to record video of test execution, inter app automation concepts Learn to run Appium tests in parallel on multiple devices simultaneously Who This Book Is For Are you a mobile developer or a soft...

Mobile Test Automation with Appium

Image
To all my fellow testers and friends, " Mobile Test Automation with Appium " is the title of my book. It's an attempt to give back to the testing community a guide and help in terms of a step by step guide which will help them learn mobile testing and automation. Who this book is for: It's for any QA who knows Java and is familiar with Selenium API (however it's not a must). Buy your copy here  from Packt & also available on Amazon here This book covers all about appium and how would one get started with mobile test automation. Through the chapters, effort has been put to take on a journey which would help you understand appium help you set up your machine help you write the first test using Cucumber help you uncover new emulator called Genymotion help you understand Desired Capabilities help you understand how to automate gestures help you understand how to implement page object pattern help to implement Continuous Integration via Jenkin...

My experiences from writing a book

I was approached by one of the acquisition editors of a reputed publishing house. When we discussed the idea I felt I have already written a book on similar lines then why a new book. And I started evaluating my existing book which is available on Gitbook. It’s the most widely downloaded and read Appium book . But I felt that there is a chance to re-work on the book and improvise what I have already done. This book " Mobile Test automation with Appium"   is an idea to help a larger mass learn test automation and basics of mobile testing and automation using Appium. It’s written in such a way that if you know Java, you can pick up mobile test automation and practice it. It’s highly practical in approach with a lot of coding examples to help you learn. This book is aimed at saving a lot of your time in finding the right material and provides you a step by step guidance to learn how to design a good test automation framework from scratch. It's going to be out in a mont...

How to profile network calls for Android and iOS

Image
Network Calls profiling for Mobile Steps to intercept network calls: Download and install free version of burp ( Location here: https://portswigger.net/burp/download.html ) Launch the JAR and navigate to Start up . From menu tab select Proxy → Options In proxy Listeners section, click on Add Enter Bind to port value as 8080 Choose Specific address and select your machine IP address. Press OK Click on HTTP history tab. Click on text: " Filter : Hiding CSS, image and general binary content” In Filter by MIME type, Select CSS, Images. Click on Filter tab again to close the window. Steps to modify emulator settings: Start the android emulator After starting an android emulator, go to Settings->WiFi then click and hold the active wifi connection and select modify network. Click on “ Show advanced options ” and in proxy ( by default it is set to none) click on the drop down menu and select manual and now you should see more options like Proxy hostname...

Hiring - key to start up growth

In a hectic and a joyful life of running a company, being full time on a project and then being a father is just a little too much.  Writing took a back seat because of all this.  So I thought to cut down my sleeping time to get back to writing blogs, it's liberating I feel. Here I have basically tried to discuss what we generally look in for when we are hiring especially for a position in start up point. Excerpt here:  We are 14 right now and we are still looking for more. We have filtered around more than 400 resumes, close to 150 face to face interviews and then we selected bunch of folks who are working with us. I have been doing interviews since 2007, so when I reflect at the hiring process, I feel there is not much change with respect to how you give interview. Largely the process of giving interview remained the same. To a certain extent the reason could be that what we ask in interview hasn’t changed. Full blog here:   lnkd.in/fnT...

UiAutomator died while responding to command

Recently while working on one of the Appium automation framework, we noticed this error: " org.openqa.selenium.WebDriverException:   UiAutomator died while responding to command,  please check appium logs!  (WARNING: The server did not provide any stacktrace information) Let me explain the framework we have. The framework is using Cucumber + Appium + Gradle.  So the test are written in feature file in plain english and in turn talk to step implementation which calls the page class for any action.  We also have some utils written  which basically captures the screenshot of the device on the step of failure and captures the adb log of the device. But in this case of error there was no snapshot  taken. Also we are running the tests in parallel and are not using Selenium grid, we have our own custom solution to take care of it. Couple of guess what we made: We suspected the issue to be sessi...

Mobile Testing Strategy for Enterprise apps

Image
Smartphone and tablet adoption has pushed the growth of mobile application in last couple years. People are spending more and more time on these devices and it has slowly replaced any other device as primary means of communication. Compared to web, mobile space is very challenging when comes to testing. Gone are the days when you had enough time on hand to develop a feature and push to production after thorough testing. Even though most of the mobile app has only couple of screens (may be 5 or 6 max if it’s transactional in nature) and very limited input mechanism (mostly dominated by keyboard input or selecting by scroll) then what makes it complex? Most of the mobile app (especially enterprise mobile app) has the need of releasing faster and releasing frequently. This is primarily due to new feature being pushed or user feedback incorporation. It could also be due to UX improvement or changes. So when we are talking about mobile app testing we need to have a strat...