Monday, 3 August 2009

Automatic Birthday scrap to your Orkut friends

This application would almost eliminate the human or user interaction to Orkut web site while sending Birthday Scarp to your Orkut friends.
Just copy this piece(wait for next blog for code) of code to your local folder. And click on .exe.
Not feeling to click on .exe :) then,
-> Go to control panel and add this application to Scheduled Tasks to run some predefined time.
And the predefined time this application would automatic run and will do the below mention steps. Even being in invisible mode :)

  1. The flow chart of this application is as below:-
    1. Open Internet explorer (optional).
    2. Go to Orkut website.
    3. Login with predefined credential.
    4. On successful login check that any friends birthday fall today.
    5. If yes. Click on leave scarp and leave a predefined birthday wishes to selected friend’s scrap book.
    6. Come back to home page.
    7. Check for the next friend birthday if his/her birthday fall today repeat steps 5 to 6.
    8. After above steps click on logout link.
    9. Logout from Orkut and close the browser.

I have developed this console application using C#, .net2.0.
And for interface with Orkut I used WATIN tool/framework 2.0.
Note: best part of this aaplication is that i m not asking your Orkut's details at all.cuz this code would be with you so,whenever you want you can stop it or run it :)
For this blog I have attached only video.
In next blog, I would like to publish the code with .exe and about the code description. Thanks!!!

My learning from this blog -: WATiN is not for Automation only. It can be used as API Interface .
Happy Orkuting :)

Thanks,
Md.Jawed

Monday, 27 July 2009

Run WATiN code thorugh web application

To run your WATiN Automation code/Script from web application or by using web application


Jus add this Header tag in .aspx file

< AspCompat="true" >

Example: - suppose that you have code file as MyWatinCode.aspx and MyWatinCode.aspx.cs.

Now go to MyWatinCode.aspx file and replace the top most Header Tag

<@ Page Language="C#" AutoEventWireup="true" CodeBehind=" MyWatinCode.aspx.cs" Inherits="AutomationTesting._ MyWatinCode" ValidateRequest="false">

By

<@ Page Language="C#" AutoEventWireup="true" CodeBehind=" MyWatinCode.aspx.cs" Inherits="AutomationTesting._ MyWatinCode" AspCompat="true" ValidateRequest="false" >

And run your Automation code in web Application .if still you are facing any issues please reply me.

Correction/Comments are always welcome :)

Happy Automation.....

Thanks,

Md.Jawed

Testing Definition

Today morning something spark in my mind regarding Definition of testing then I came up with my own explanation of testing.It’s fully based on my testing experience and by observing others.

Testing is an Art to execute your Knowledge, Skill and Desire.
Knowledge: - what to do and why?
Skill: - How to do?
Desire -: Want to do?

Correction is always welcome.

Wednesday, 8 July 2009

Afraid of writing blogs

Oooooooooooopppppppssssssss!!!!!!!!!! I took long gap for my second blog. Actually I was afraid of writing blogs. I was thinking that for writing blogs you need to have good writing skill and good technical knowledge of WATiN field. But after reading Pradeep Soundararajan blogs at http://testertested.blogspot.com/ I realized that I was wrong. Some contents which I would like to share with all of you.


1. You don't need to be an expert to blog but people commenting on your posts can help you to be an expert of the field.
2. As you peruse through the blog you would realize that you have improved a thousand leaps. It comes from practice and a blog helps you to practice writing.


Still I m working on WATiN blogs. Hope as soon as possible I will come up with that. :)

Wednesday, 24 June 2009

My First Blog.

hey Guys,

Shortly i m going to write my own blog.

i m working on it.

my blogs would be related to WATiN code and there use in Automation.

even i would love to put some of my creative work in WATiN with video..

Thanks.