Skip to main content

#HACKMONDAY - Debugging my first UI Automation Test Sample (PART II)

Hi Y'all, thanks for stick around for part II. If you landed here by accident, you might want to stick around; this may get interesting. In part II of this blog, we will start to debug my python WordPad test for WAD. It’s exciting to me because back when I wrote this test, all I had was a dream, a notebook, a pencil, a computer, and Google.

Fellow Hacker: Hammid Funsho

I am still hacking with Hammid for part II.

So let’s get to it.

A quick description of what the WordPad test does. For starters,

We start off with the function Def setUP and Def tearDown. These two functions are in charge of opening the WordPad app and initializing the webdriver. Most automation test will have functions that resemble these at the beginning.  Then we have my test functions. Each of the tests function examines a unique aspect of the WordPad app. Function test_write sends keys to the text box. Function test_initialize looks at the title bar and makes sure WordPad is opened up with a ‘clean’ window. Function test_zoom tested the functionality of the zoom button. Last but not least, the function test_valid testes multiple different functionalities like the file tab, save button and file name.

We started off by running the WordPad test to which one of the tests passes or errors out. I commented out test_valid from the get go because I already knew it did not work and needed some significant improvements.  

Check out this video on Hammid and I troubleshooting steps


WARNING: I say the word like a lot in this video. To be honest, I was pretty nervous, and it was my very first time recording myself for the public. This was a learning experience; I will try to do better next time and improve my delivery.


This concludes part II of the blog. I will be going on a #HackMonday break for the next two weeks. I am traveling for work; I will be delivering training to some coworkers in Costa Rica. Hammid and I will be back for part III. Stay tune.


  1. Yeah polazila today all day on the Internet heard that you can earn some money while sitting at home and only this site proved it to me real online casino super Have you been to this site?


Post a Comment

Popular posts from this blog

Are You a New Programmer and Would Like to Test Your Windows Application or Existing Windows Application? Here Is a Guide to Help You Get Started. (The Beginner’s Edition)

Getting You Started with WinAppDriver

Are you a total beginner to programming just like I am, but you would still like to try out Microsoft’s tool for application testing? Well don’t worry, I got you covered. Below I will detail my experience with getting started with WinAppDriver and testing basic Windows application such as the calculator in Python and C#. This tool could be beneficial for developers that would like to test their software before production or launch. The purpose of this tutorial is to create easy steps to follow and enable you to use WinAppDriver. I once read a quote that says:
“If you want to learn something, read about it. If you want to understand something, write about it. If you want to master something, teach it.”                                                                                                                                             - Yogi Bhajan

So here goes nothing 😊

Getting Started: What is the Windows Application Driver?
Windows Applicat…

#HACKMONDAY – Debugging my first UI Automation Test Sample (PART I)

How to debug your first UI Automation Test Sample

Another One! (DJ Khaled’s Voice). That’s RIIGGHHT; I am back! I wanted to do my first #HackMonday to follow up on my WinAppDriver (WAD) post. This a three-part blog. In part I of the blog, I will debug the Python calculator sample test. In part II of the blog, I will debug my own Python WordPad test.
Background info:
#HackMonday is an idea I came up with as a social experiment. The goal is to #hack with someone new, with the hopes of learning or teaching them something new. For this #HackMonday, I had the pleasure of virtually meeting Hammid Funsho (HI FWEND!)

About Hammid:

A little bit about Hammid, He is a software engineer. He has about 12 years of experience under his belt. He has a passion for automation testing. He codes Java, but occasionally dabbles in Python, and Ruby.  Hammid is currently based out Raleigh North Carolina.
How did I come about meeting Hammid? Great question! It’s simple; I met Hammid on twitter. I saw his pr…

Raw | Uncut | Keeping It All the Way 100

I KNOW! I KNOW! I am terrible; I went back on my word. I have not been pushing out blogs like I promised I would. But I am back for another one so forgive me? Cool

A lot has happened since I last wrote. I have been working on this blog since January but decided not to post it. This is a reasonably vulnerable post, so I was hesitant. I still am, and I am hoping this is the right move. Hopefully, someone will find this and be able to sympathize with this.
I wanted to write a blog about my struggle and reflect on the past two years of my life. Back in December 2015, I accepted an offer to come work for Microsoft as a support engineer(SE). My start date was initially set for Feb 2016, but due to family issues, they pushed it back to July 2016. I chose Microsoft partly because my recruiter showed me the most compassion during that time and so easily accommodated my ask to push back my start date.

In July 2016, I started my job as an SE. At first, I loved my job, but slowly and surely it st…