10-Minute Guide to Object-Oriented Programming for Automated Testers

Object Oriented (OO) simplified by examples

Zhimin Zhan

--

A repost of my daughter’s article with permission. I added a few notes. This is also included in the 10-minute guide series:

Most modern programming languages support object-oriented programming (OOP). Mastering OOP is a must for software engineers and test automation engineers nowadays. This quick guide is intended for non-programmers to get a quick understanding of OO, in particular, to become automated testers.

Tables of Contents:
· Object Oriented Concept in a Nutshell
· In Ruby, everything is an object (or class)
· Class Inheritance
· Child Class Can Override Behaviours
· Use your newly learned OO knowledge to understand Automated Test Script
· Review by Zhimin

Object Oriented Concept in a Nutshell

OOP sounds like a complicated concept, at least for me when I was 13 years old. It turned out to be quite simple after my father illustrated with this example:

--

--