Fast Android Emulator

It is nice to have a fast Android emulator for various reasons (ex. test automation) but it is notoriously known as slow to the extent that engineers abandon it. On the other hand, the iOS simulator is super fast. In …

Read more »

Sikuli iOS Automation

In this short article, I will explain how to create a test automation framework for iOS using Sikuli, iOS simulator and Python unit test. I assume prior knowledge about these technologies and only focus on the actual technical details so …

Read more »

Python Simple JSON Web Service

Introduction I was testing a client software which communicates with a server software using JSON format. The behavior of the client depends on the instructions specified in the server response. In order to test the client I had to modify …

Read more »

Simple Trick to Strong Passwords

Each website or online service requires a password. Different websites have different rules to passwords. If you want to use the same password everywhere then you might end up tweaking your password for each website. Passwords do expire and you …

Read more »

Printing Words

Problem Given an input text file as in the example below I 1:1 Work 1:2 At 1:3 NetApp 1:4, 2:1 Is 2:2 Good 2:3, 3:1 To 3:2 See 3:3 You 3:4 Write a script that prints the output below I …

Read more »

Longest Common Sub Path

Problem Given an input text file with format as in the following example: /foo/bar/x/1/2 /foo/bar/x/3 /foo/bar/x/4/5/6 print the number of sub directory levels that are common to all paths in the file. In this case it is /foo/bar/x so the …

Read more »

Page 1 of 3012345...102030...Last »