Each day presents something new to learn.

The goal is to write at least once a month about topics that relate to my work - Enterprise Agility, Leadership, Entreprenuership, Personal Develop and Africa. My writings represents my opinions and it will change over a period of Time.

Performance Testing experience using Ant and Jmeter - Part 2

In my last blog post, i described how i have used jmeter-pluginsat my current client site, now i am faced with another problem , i need to be able to run these performance test from command line, in other for these performance tests to be executed in a CI environment such as teamcity. A quick search brings to light the ant jmeter taskwhich is an ant task for running jmeter test.

Performance Testing experience using Ant and Jmeter - Part 1

Jmeteris a well known open source performance/load testing tool and to be fair it does a lot of stuff really well. if you wants to do some quick performance testing without a whole lots of infrastructure around it then it is great. I started out my task with jmeter with some objectives: <li> A tool that i could integrate into a CI tool such as teamcity</li> <li> Meaningful graphs that could be easily interpreted by any one in the team</li> <li> Able to integrate the graphs into teamcity</li> <li> Able to monitor the performance of the website under test.

Screenshare tool for my trainings

Occasionally i invite people round to my house for testing or automation training which sometimes i find inconvenient. In other situation, someone on other side of town need my help and i cant. I have recently come across the tool - join.me and it is awesome, it allow mwe to share my screen with people and you can give them control ove your machine as well. I think this is great !

Stumbled on Chrome Net Internal

Sometime i would use my blog as a place to keep interesting stuff for future exploration. I came across the chrome net internalstoday and i think it exposes a lot of useful information that might be useful to testers when testing a web application. To access the chrome net internals, navigate to chrome://net-internals/ on a google chrome browser. I would be spending some more time in the future exploring this but for now its back to work.

Writing acceptance test before development or implementation starts

In my the few years, where i have pushed for testers developers to write acceptance test before development or implementation commences, I've had testers come up to me say its difficult to achieve this when you dont know what the UI would look like. This post would attempt to decribe how i have done this in the past and i still do this at the moment. NB: Ideally i would write my test using page object pattern, if this was a new project, I would start creating page objects

Test automation click might not completely simulate an actual human click

I have been working at this client where i am opportuned to use cucumber, watir-webdriver and i came across this problem today. The application i am testing is an e-commerce site and i am writing test for a page on which i click on an item and the item appears on the shopping basket area of the site. My code look like [code] def select_item(item_name) @browser.li(:text => /#{item_name}/).link(:class_name => “addOptions”).click Watir::Wait.

Redirecting blogger post to wordpress.com

I moved my blog from the blogger one to wordpress and i wanted to ensure that people that have bookmarked post on my old blog get redirected to the new one on wordpress as i wouldnt be update the old blog anymore. I found a lot of effort by different people and all the stuff that was suggested using javascript didnt work for me, what i got was regardless of the page you are on my old blogger site, you would be redirected to my homepage on the wordpress site which is not very helpful.

My notes from the selenium conference 2011

I had the opportunity to attend the selenium conference and loads of good stuff, i must tell you. This post is an attempt to highlight the conference talks/ seminar that i really enjoyed. Page Object 101: This was a workshop delivered by Patrick Wilson Welshand Adam Goucher. Even though I have done a lot of page objects in the past, at a glance i like the way patrick has approached html elements, (wraping each html elements in a class), it feels like writing selenium code in a watir way.

A tester's reflection on kanban plus BDD

Having just finished an engagement with a client where the development practices include kanban and BDD. Kanban for us meant that we give priority to work on the right side of the board. So as a tester, I would rather spend my time doing some manual testing on a story that is in the QA queue, than writing automated acceptance tests for a story in the queue for Acceptance Tests.

Implement 'Select column_name from table_name where condition' in Active Record

I needed an array from the data contained in a particular database column based on a condition, so i get the array of active recordrows:array_of_rows = TableName.find(:all, :conditions => {:column_name => [‘col_data1’,‘col_data2’]}) Then use the array map!function to replace the active record objects with the column_name valuearray_of_rows.map!{|item| item.column_name}Doing some search got me:array_of_rows = TableName .find(:all,:select=>‘column_name’ :conditions => {:column_name => [‘col_data1’,‘col_data2’]}).map(&:column_name)And i like this better, concise ….update:I've had to update the active record query above by removing the :select optionarray_of_rows = TableName .