Domain Specific Language QA

without comments

An interesting question and answers about DSL (Domain Specific Language) with Martin Fowler.

What is a Domain Specific Language?
A Domain Specific Language (DSL) is a computer programming language of limited expressiveness focused on a particular domain. Most languages you hear of are General Purpose Languages, which can handle most things you run into during a software project. Each DSL can only handle one specific aspect of a system.

Read complete question and answers here.

Written by admin

September 10th, 2008 at 9:38 am

Posted in Development

Tagged with , , ,

AgilePakistan First Meeting

with 2 comments

AgilePakistan is going to have its first meeting on Saturday, 23rd August 2008 at 4PM.

For further information about this meeting please check this.

Everyone is encouraged to join us in this meeting.

Written by admin

August 19th, 2008 at 12:10 pm

Posted in General

Tagged with , ,

What Is A Blog?

with 2 comments

I have been following a few blogs from their beginning. Daily Blog Tips is one such excellent blog, I find it very useful as it gives me the knowledge I need to have about today’s phenomenon “Blogs”.

Yesterday Daniel Scocco of Daily Blog Tips posted an article on “What is A Blog”, which is a group writing project. I found this question of “What is A Blog” very interesting as I recently started blogging, I also wanted to share with you that what do I think of “What is A Blog”?

I think it is a platform for me:

  • To express myself
  • To share the experience I have
  • To share the knowledge I have
  • To learn from other people

As it is a group writing project, I am looking forward to read very interesting “What is A Blog” from other participants.

Written by admin

August 12th, 2008 at 11:34 am

Posted in General

Tagged with ,

Final Project For CS201

without comments

Our final term for this semester is going to start in the last week of August. I am also working on the final project for my course CS201. The project I am working on is a reservation system for a bus company. It is required to have:

  • New Reservation
  • Update Reservation
  • Delete Reservation
  • Search Reservation

The deadline for this project is 9th August. So I will be busy in this and will try to post the source code, once I get the marking on this project.

I am writing this project in C/C++ and using notepad++ for writing C/C++ code.

Written by admin

August 7th, 2008 at 12:24 pm

Posted in Development, Personal

Tagged with , ,

Testing Automation Setup

without comments

On a continuation to my previous post regarding Testing Automation Tools, I will try to write the process through which I went while writing the testing scripts.

The application for which I wanted to do the automated testing is a web based application written in PHP on top of Zend Framework. As Zend Framework follows the MVC pattern, we followed the same pattern. For database, we wrote our own layer and didn’t use the layer which Zend Framework provided.

For testing automation I followed the same design rules, which I followed while designing and writing this application. I wrote testing scripts for each entity in their own files. Then I called them in one main file, which I run when I want to run the regression test. Following is an example configuration file:

//include all files, which are required to run the test cases
_include("webadmin_login.sah");
_include("webadmin_company.sah");
_include("webadmin_user.sah");
_include("webadmin_group.sah");
_include("webadmin_homepage.sah")
_include("webadmin_sysconfig.sah")
//global variables
_setGlobal("companyname", "Test_1");

// login
login("admin", "admin");

// create company info
createCompany("Test_1");
createUser("test1_user1");
createUser("test1_user2");
createUser("test1_user3");
createUser("test1_user4");
createGroup("test1_group");

// homepage
startAll();
stopAll();
refresh();

// logout
logout();

I treat this main script as my main configuration file. Where I declare some global variables, call those scripts which I need to run during my test run. I can include the scripts, which I need to run and can exclude those scripts which I don’t need.

I will continue with this series with further updates on how I wrote automated tests for every individual entity.

Written by admin

July 31st, 2008 at 11:20 am

Agile Pakistan

without comments

Launched AgilePakistan with Sheheryar. The aim is to have a platform for the developers community in Pakistan to meet and discuss issues they face in developing small / large applications. For a more detailed description about this group click here.

I hope we could make a difference.

Written by admin

July 28th, 2008 at 11:33 am

Posted in General

Tagged with , ,

Testing Automation Tools

with 3 comments

I recently started using Sahi. Sahi is an automation and testing tool for web applications, with the facility to record and playback scripts.

When I was trying to find any tool for testing automation, I evaluated many tools as the following:

  • AutomatedQA’s TestComplete – It is one of the other product which I would love to use. It is an excellent product and could be used very nicely for GUI applications. I had to drop this from the list due to its price :( and availability of free / open source automation tools for web.
  • Watir – I couldn’t try this much but it was dropped from the list due to the learning curve involved in learning Ruby and then using this whole suite efficiently. Though, it seems to be a nice product and offers many add-ons.
  • Sahi – I chose this due to the ease of use. Another positive aspect of this application is that its scripting is done in Javascript. So I didn’t have to learn another language. I was able to start actually automating my test cases the next day, when I installed Sahi on my system. Till date, I am able to automate about 50% of my application. That application testing, I am going to automate has been written in Zend framework.

In the next posts, I will try to post some more details about my testing experience.

Written by admin

July 24th, 2008 at 12:45 pm

Posted in Development, Testing

Tagged with , ,

Welcome

without comments

Welcome to my blog.

I have started this blog to share my knowledge about software development and learn from you. I hope this space becomes a useful place both for me and you.

Thanks and keep coming.

Written by admin

July 22nd, 2008 at 10:51 am

Posted in General

Tagged with ,