Hello! I'm Chamal Asela Perera.

I test code for living.

Welcome to the iOS 9

Update: Apple released another update to the iOS 9 ( iOS 9.1 Public Beta 1 ) on 9th of September Along with the other Mac operating systems, Apple decided to release another operating system update to iOS devices. Like the El Capitan, this is not officially released to the public. But can access the features through the Apple beta software program.


This is all what you need to know If you are going to update your iPhone to the iOS9

First thing first,

  • You need to have Apple ID If you don’t have Apple ID, You can easily create a one from here.
  • Archive an iOS backup with iTunes – You are about to install a pre-release operating system. It is always advisory to backup the content. In case, If anything goes wrong, You will be able to restore the backup easily.

Righto, If you are done with above two steps. It’s the time to update.

  1. Go to beta.apple.com/profile web site from your iOS device and download the configuration profile. On screen installation guide will be there till you download the configuration profile.
  2. Tap Settings -> General -> Software Update to install the available beta software ( iOS devices running iOS 8.1.X or later will automatically receive the latest public beta )
  3. Tap on the Download button to download the iOS 9 Public Beta iOS 9 file size is around 1.2 GB, So it will take some time download
  4. Once it downloaded, agree to the Terms and Conditions and continue to install the iOS 9
  5. Installation will verify the update and will start to install.
  6. Device will be turn off for few time and it would take around 10 minutes to complete the full installation.

Then you are good to go with iOS 9



Hello El Capitan

As mentioned in a previous post, Latest Mac OS is now released to the public. It’s still in the beta version, So we can expect more unexpected circumstances. I had the luxury to install the new operating system on a Mac book Air and the experience was pretty good ( which I will save for another post ), Today is the day to welcome El Capitan.

Things  you need to have 

  • Apple computer – Of course where else would you install a Mac OS
  • Data Backup Plan – As we are dealing with a beta operating system, we need to make sure the safety of data. Like always, Backup of your data will save your from trouble. You can use Apple Time Machine feature for this.
  • Apple ID – This is needed to be enroll in the apple beta software program. If you don’t have an apple ID, You can create it from here
  • Good Internet connection – El-Capitan OS contains 6GB of files, So a good internet connection will surely avoid slow-internet-connection-disappointments.

That’s it, That”s all we need.

1. Go to the Apple beta program

2. Login with your Apple ID

3. Scroll down and find the ‘enroll your mac’ link

 

4. You will find a download link with the redemption code on the next screen.

When you click on the download link, Mac App Store will open with your redemption code already entered, and the download will begin automatically.When the download finish, Installation launcher will automatically launch.

Now it’s the time check your patience. Size of the operating system will be around 6GB so it would take some time to download.

In the installation process, Your Mac will automatically restart few times and it would take roughly around 15-20 minutes to complete the installation process.

Then you are good to go. Ladies and Gentlemen, Please welcome El-Capitan !

Windows Update Cannot Check For Updates ?

Rather quick post about a problem which I’ve encountered recently when I tried to set up a test environment of Windows 7 machine, I wanted to have a test machine with the latest windows updates. Each time I tried to update the test machine, I couldn’t go beyond the below screen, which was very annoying, considering the time I tried to do this task.

Google suggested few alternative ways to overcome the issue ( like restarting the windows update service from command prompt ) but sadly none of them were working form me.

Finally when I tried to give up updating my test machine, noticed a solution posted on a thread which actually worked for me. Here’s what you actually need to do If you ever encounter such a problem.

  1. Goto start > type services.msc
  2. Scroll down to find Windows Update service
  3. make sure Windows Update service is stopped, else right click and stop it
  4. Go to C:WindowsSoftwareDistribution and delete all files in it
  5. Come back to services.msc and start Windows Updateservice

 

Here’s the link to the original post 

OS X El Capitan

El Capitan ( pronounced as el kap-i-tan ) is the latest Mac OS introduced by Apple. Official public release of El Capitan is coming on this fall, but Apple already released two developer versions and the first public beta release scheduled on next month.  Apple has released the public beta version of El-Capitan OS along with IOS 9 release on 9th of July.Apple has introduced couple of exciting features to this new OS along with bug fixes and performance improvements to the existing OSs. Below are some of very momentous features of El Capitan.

  • Split view

How cool would it be If a user can quickly split the screen space between two running apps?That feature is available in new OS<

  • Mission controller with multiple desktops

This is more likely the VirtuaWin software which used by Windows users. This would give the benefit for users to spot the apps they are looking for, even they are stacked on top of other.

There are more improvements done to the Sportlight / Safari- Browser and Photos as well. You can read more about those features on MacWorld

Mobile Test Automation – Appium – Part I

Appium is an open source test automation framework for use with native, mobile web and hybrid mobile app. I found couple of interesting articles regarding this and it kept me excited, so I’ve decided to take a look.

Before going in to the configuration section, let’s just go through how Appium developed and the basic pillars of the Appium.

Appium is a cross-platform tool, it allows you to write tests against multiple platforms (iOS/Android/ Windows) using the same API. Also it enables the code reuse between iOS / Android platforms.  You shouldn’t have to recompile your app / or modify it in any way in order to automate it. Appium use the vendor provided frameworks from the main vendors who produces mobiles such as Apple / Google / Windows.

  1. You shouldn’t have to recompile app / or modify in in any way in order to automate it – Appium use the vendor provided frameworks from the main vendors who produces mobiles such as Apple / Google / Windows. So we don’t need to compile any Appium specific or third party code to the app.
  2. You shouldn’t be locked into specific language/ or framework to write and run your tests. – Appium wraps the vendor provided frameworks in one API (Web Driver API – Selenium Web Driver ) This specifies the client- server architecture, a client written any language can be used to send HTTP requests to the server.
  3. A mobile automation framework shouldn’t reinvent the wheel when it comes to automation APIs. – WebDriver has the standard for automating web browsers, it has extend the protocol with extra API methods which can be used to mobile automation
  4. A mobile automation framework should be open source, in spirit and practices as well as in name. – Appium is an open source project

More on configuration later 🙂

Working with a Mac OS – 1

For the last couple of days I had the luxury to work with Mac devices, which was bit tedious at first. However just like the other cases, It gets quite interesting once you know more about Mac OSs. Here in this blog post, I would like to share few tips which could helpful for anyone who are about to start working on Mac OSs.

Note – I’m using Yosemite OS and Mavericks OS to perform all these tasks.

Taking a screenshot

This is not Windows OS. So obviously, ALT + Print Screen combination won’t work, In fact there are no Print Screen button available in Mac keyboards. But Mac keyboard has a unique key just as in Windows keyboards, that is Command key – with a symbol of bowan knot, which can be use to take screenshots.

In order to take a screenshot,

  1. Press Command Key + Shift Key + 3 ( Number 3 on the keyboard ) at once.

Screenshot will be saved to desktop automatically.

  • Taking a screenshot on a specific place.

As a testers, Most of times we need to take a screenshot of certain places on the screen. ( Example is where UI elements are not properly aligned on a web page )  You can achieve that task by following below method,

  1. Press Command Key + Shift Key + 4 ( Number 4 on the keyboard ) at once.
  2. You’ll see that the mouse pointer turns to icon which looks like a ‘target’. 
  3. Take the mouse pointer to the specific place where you want to get the screenshot.
  4. Just like using the crop functionality in Windows- Paint, crop the area  you wanted to take.

Cropped area will be saved to desktop automatically.