Hello! I'm Chamal Asela Perera.

I test code for living.

Homebrew

Homebrew is a package manager for OS X. It is designed for installing UNIX tools and other application on MAC OS. No need of drag and drop the .dmg files to the Applications folder. Homebrew Cask extends the Homebrew capabilities, with this support, it supports to install larger binary files.

Prerequisite 

Homebrew requires to have Command line tools for XCode on Mac. This can be done by either installing full XCode application from Apple or install only the command line tools, which is the easiest way to do this.

All you need to do is open a terminal and type below command. Then press Enter.

Install Homebrew

Type the below command on a terminal & hit Enter.

$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)

This requires the administrative password to proceed & status will be shown on the terminal.

Installing Cask

After installing the Homebrew, type the below command & press Enter.

$ brew install caskroom/cask/brew-cask

Done! You are successfully installed the Homebrew. Now let’s see what you can do from Homebrew.

Install Java

Downloading the relevant .dmg file from Oracle and install it by going through the wizard would be the ordinary way of installing the Java on a Mac OS X. But this can be achieved via Homebrew just typing few commands.

All you need is to open a terminal and type below command & hit enter.

$ brew update
$ brew tap caskroom/cask
$ brew install Caskroom/cask/java

Install Google Chrome

As in the above step, Open up a terminal, paste below command and hit enter.

$ brew cask install google-chrome

Here are few more commands of Homebrew.

Colombo Performance Test Meetup – April

It’s Meetup season again and I was privileged to do a session on Performance Testing in Colombo Performance Test meetup organized by the PerfTest Initiative of 99X Technology. It was collaborative session conducted by me and Nipuna Madusanka, a fellow Xian.

Chamal's Blog_PerfTest Meetup

What we talked…

Since we wanted to do something different for the meetup, (Other than the generic topics that we usually see in meetups), We thought of doing something about continuous integration (CI). CI is not a new topic, but CI integration with non-functional testing is kinda of new and cool (At least for us: D)

So after a couple of deep discussions, we decided the structure of the meetup. It was decided to have a theoretical session and a practical session. In theory session, we planned to explain the back end of a implemented solution and importance of having the CI environment.

In the practical session, we decided to use the Jenkins (a) Because everyone knows it (b) Everyone at least heard about it, Also as an additional bonus point, we decided to add Blazemeter integration part. Now, this part was something that I and Nipuna found out after a couple of research and we thought it was a really cool feature.

Challenges

Apart from countless hours of rectifying the errors in the presentation, we ran into a couple of configuration issues related to Jenkins, which was not easy to fix. However, we managed to fix those by the eve of the meetup 😀

Meetup Day

It was thrilling to have a good turnaround for the meetup. There were lots of questions from the crowd, which were really interesting (That may also be an indicator that we didn’t bore the crowd )

  

Aftermath

It is absolutely thrilling to see the increasing number of performance enthusiasts in the testing arena, We’ve received lots of positive feedback on the meetup.com. Lots of people tried the things we presented at the meetup, which is again really wonderful thing to see. Thank you very much 99XT Performance Test Team for the opportunity to talk in this platform.

In case If you missed the session, Here’s the link to the presentation.

Mobile Application Testing

How many apps do you use after its initial download? or in other words, have you ever downloaded an app and delete it after few minutes/weeks. Yes, would be the answer from most of us.
Recent study conducted by the 34SP.com ( Full report in PDF ) found out that 20% of people regularly delete apps within just three months of downloading them, while 39% often delete apps because they’ve been ‘useless’.
Here are some of the interesting facts from the survey,
  • 30% of respondents saying their mobile phone is the main device they use to access the internet. With Smartphones now providing instant access to the World Wide Web at the click of a button, we predict this number will be closer to 50% by 2016.
  • A third (32%) of respondents in our survey stated they ‘couldn’t live without’ their mobile phone. A further 36% said they were ‘addicted’ to checking their mobile phones, or know someone who is.
So apparently these numbers would increase in future. But what good would do, If your application is not satisfy the user.

Evolution of Mobile app ( Mobile web vs Mobile app )

Nowadays everyone wants to make a mobile app, even without considering the end goals or the cost. Point is that Mobile app should accomplish a specific target which couldn’t achieve by a mobile browser.
Mobile website should be your first step in making a presence in mobile world. When you get more business, when you get more personalized requirements from customers, then it would be the ideal time for mobile app.

Characteristics of a good mobile app

  • How long will it take to start your mobile application?
  • Are the intended purposes are served ?
  • Interactivity ? User experience ?
  • How easy to use the app ?
With the latest development technologies, It won’t take much time to create a mobile application. But It would take time to create a winning mobile application.
As you can see, Characteristics of good mobile application are limitless, So do the challenges.

Challenges in Mobile application testing

  • Devices / Different Operating Systems
This by far would be the biggest challenge facing by mobile application tester. As per the study conducted by OpenSignal, there are 24,093 distinct android devices seen in 2015 ( Last year it was 18796 )
Device F

Device Fragmentation – 2015 – Source : OpenSignal
That is only Android, Different story for iOS
iOS.JPG

Device Breakdown iOS – 2015 – Source : david-smith.org/iosversionstats/
Beside from the devices, there are different Android versions as well as different iOS versions.
  • Different Screen Sizes 
Variety of screen sizes / aspect ration / pixel density is definitely a trouble. It was a challenge for Android and with the release of iPhone 6, that challenge comes to the iOS world too.
Application should be performed as expected in iPhone 4 / iPhone 6 and iPad 3.
  • Behaviour on different networks
We cannot assume application’s behaviour on a very well 4G connection / 3G connection or EDGE connection to be same.
This would have a huge impact on application performance as well as the user experience. This is why some of the modern applications are supporting offline mode.
Let’s talk about how to overcome these challenges in next post.

Updating Lumia 920 to Windows 10

Windows 10 – For mobile has been there for awhile now, but haven’t had a chance to get familiarize with it. Yesterday I thought to update my Lumia 920 (which runs on Windows 8.1). It’s a pretty smooth process, no
hassle.Before proceeding to the upgrade, I should tell that below steps that I’ve tried are for a Lumai 920. In general these should be the same for other windows devices. You need to take risk of updating the device ( and its consequences )

Prerequisites/Things you should know before the update

  • Download Windows Insider – We are going to update our device from an application called, Windows Insider. (It’s basically the ‘Developer Preview’ application), and these builds are not official releases by Microsoft. So there can be scenarios, where your phone might not work as it should be (bugs). So by enrolling in the Windows Insider, You are agreeing to accept these risks. This can be done by simply going to the Windows Store and
search for Windows Insider.

  • Backup the device – It is always, ALWAYS recommended to back up the phone before doing an upgrade. In case, anything goes wrong you can  easily restore the backup.
  • Windows devices recovery tool (Optional) – If you are unsatisfied about Windows 10, you have the option to rollback to Windows 8.1 (or whatever the OS you have before the upgrade). So download and install this on your computer, In case of emergency.

Right, Let’s start update

Open up the Windows
Insider app, Select Get preview builds option.
There you will get two options,
  • Insider Slow – By selecting this, you can get the most
    stable build. But this build may or may not have latest updates. Also If there
    are any problems, there are workarounds for those. This is basically a risk free option.
  • Insider Fast – From this you can get the latest release. But
    on other hand, latest release might not be the most stable one. This may have
    bugs and unexpected scenarios. Also If you found something fishy, there is
    chance you may not found a workaround for that.
In my case, I’ve selected Insider Fast. Because I like to take risks 😀

Right, You will get a screen like below depending on your selection on above step, then it will start downloading the OS. Note that your device may reboot after this step.

What you need to do is, Go back to the Phone updates & check for an update ( Settings -> Update ). Then you will see something like this.

Once you tap on the download button, you may direct to the below screen. There you can see the version number of the build that you are going to download.

Tap on download button to initiate the download button, If you have a good internet connection, then your OS will be downloaded in 10-20 minutes.

After the download, You may get a screen like below. Once you tap on Install, Phone will install OS update and
that would take around 20-30 minutes.

After that you will navigate to the data migration screen, this may also take another 20-30 minutes (all depends on
number of apps you have / amount of data on the device)Remember to do a device reboot after the data migration.
After all of this (If everything goes well) , You will have a device with Windows 10. After the installation, You have to update all of your apps ( You need to go to the new Windows 10 – Store and update the apps )

2016 Goals – As a Tester

One would argue that creating a set of goals or a set of tasks should have done before a new year. But considering other factors around me on this period, I was not able to complete this. So here’s my wish list for 2016 as QA professional.

  • ISTQB Exam – I’ve completed ISTQB foundation level examination in 2013 and I had a little plan to do the next examination, which is the advance level examination in 2015. But lack of preparation forced me to not take the hurdle. So I’ve decided that I should take advance level examination in this year, unless something important factor stops me from doing it.
  • QA Dummy – This is the latest addiction of me ( What is QA Dummy ? ), I am going to pay some serious attention to this because a) It is kinda fun thing to being an “administrator” of a web site 😀 b) I’ve invested/paid $18 to get the domain c) I seriously like the idea ( of course, that is why I’ve created this thing ). So I’ve coupled plans defined me with me and I will start executing those stuffs as time permits for next 10 months. ( PS : How QA Dummy started )
  • Pair Testing – Though I have not 100% tried this method in real work, This sounds pretty amazing ( At least from the stuffs I’ve read ), this is something I am planning to apply in real work.

Apart from that, I should keep this blog space busy ( Even though I’m writing/editing stuffs for the QA Dummy ). So hoping for a good and awesome 2016 !>

QA Dummy – Starting point

This is basically a blogging platform to enable others to contribute. This concept is widely used in global arena but not in Sri Lanka. So this is my take on to implement this in local industry.What I’ve understood from the past couple of years that, Sri Lankan QA professionals are somewhat isolated among others. Especially when comparing with the other IT professionals. They are just known/recognized as set of bunch who do some verification of the application/software, or rather a final go-to-person to give OK to a release. But If you dig bit deeper, QA department of most companies is representing 10% -20% of the revenue. But we are the least recognized, Sadly!

Also when QAs are allocated to a certain project, they are there for a long period of time. On plus side, they can master the domain and be an expert on that particular domain. But again this leads to the first step of being isolated. Nobody knows what you are doing. You don’t get the recognition for the stuffs you did.

So this idea first came to address above issue. Then when I think more about this, I’ve got several ideas and I’ve decided to write all of those ideas on a piece of paper.

So basically, I’ve 05 main ideas;

  1. Blog articles – Ideas is to be a common platform to anyone to write. May be you are a QA lead or a QA engineer or a Trainee, Designation doesn’t matter. Complexity of the article/post doesn’t matter. If you are passionate about writing about your experience then this platform will provide you the space and publish the post with given recognition/credits to you.
  2. Provide help on exams – Everyone of us would like to do / plan to do the famous ISTQB exam. But most of us are postponing that because of a) We don’t have time b) We don’t have resources c) We don’t have the motivation. So this platform will provide the necessary motivation/resources to do. Maybe we can combine all good ISTQB resources to a one place, So anyone can refer them easily without spending hours on google.
  3. Meetup coverage – Nowadays we have so many meetups. SLASSCOM quality circle is organizing some valuable meetups. But truth to be told, it’s bit difficult to find the time to attend those meetup. Sometimes we are having major release or a client call or may be a personal commitment. What If someone ( from the participant’s point of view ) can write ( or give a coverage ) about the meetup / or upload a video of the full meetup. then the people who missed the event can access it and get something from it.
  4. Create a forum – We have so many question about our job, Testing methods/ Automation opportunities ? So here, we can post our problems and we can point them to right direction/right person to answer.
  5. Expert article series – QA industry is matured, we have people over 20+ years of industry experience. We can interview them and share their experience about testing. Perhaps this will benefit to the newcomers to select the right path.

Right. So missions are defined. Then I needed a good name. I’ve got different names/ideas but finally decided to go with QA DUMMY. Of course, I was inspired by the “Dummy book series” 🙂

So with all these, I’ve sketched the basic structure. I have ( had ) a WordPress site ( http://qadummy.wordpress.com ). So rather than creating a separate web/blog site, I’ve decided to change some content of my old wordpress site to suite to new requirement.

Then came the investment part. I knew that It’s not going to work, If I go with the wordpress.com extension. So then I’ve searched for the hosting options and most of them are going to cost me around $30 – $40. After considering so many things, I’ve decided to buy the [.]com domain for a one year. ( If it is goes well, then fine – But If it is not, the also it’s fine. Simple If-else saves the life )

So when everything is done, I’ve informed my ideas to few of my immediate leads and I was received good and positive feedback. Most of them were really keen to write/contribute to this, which makes me really thrilled. Then I’ve shared this idea with my peers in my company and some selected colleagues outside the company. Good feedback from everywhere 🙂

So, My initial ideas was to run this thing for one year ( at least till [.] com domain name expires ). I will contribute to this as much as I can and I’m sure that most of my fellow QA folks will do the same. After all this is all about us 🙂

#HappyTesting