Monday, January 9, 2012

E142: File not written: Writing is disabled by 'write' option

Recently i got this problem when i was worked on some xml file using vi editor in linux . Ran the following command in vi which solved the problem


 :verbose set write

Monday, June 13, 2011

Pride of being a software Tester

Many people (including testers i know) feel that software testing is a less brainy / easy to achieve task . They always rate software developer as the supreme. and see testing as peanuts .This is a highly wrong way of thinking . Software testing is a priced job . It requires special thinking abilities and out of the box approach . And definitely it is not an every man's job . It is really tough to become a good software tester .

If you are a software tester and are feeling bad about it , first find whether the job is too bad to get you exited .If it is , then quit it and find which gives you satisfaction . One should be proud of there job . And one can give good output and be happy only if he is satisfied well with his job .

Thursday, June 9, 2011

Problem with setting Testing Targets keeping testing case count in mind

In my 5 years of experience , i observed a very common problem when test plan is written and the application is tested with the plan . ie "Managers seeing only the Testcase count and setting the time frame for testing"

Testing Targets are normally set based on various factors . They differ based on the application under test . If it is client based urgent requirement , we will have some factors which mainly depend on the delivery date and quality . But for a product that can be released with some time delay , the factors vary . Being a product based company , we have the liberty to take more time . But the main problem i see in many managers here(even outside) is that they calculate everything based on the count of the cases . Planning based on count is good , but planning everything only on the basis of count is damn wrong . There are variety of factors that come in to picture here and some of the disadvantages are below

1. All the cases are not same . Some cases take more time to validate and some take less . So when setting a time frame , it is always better to have a bit extra time

2. Time for some extensive testing . Testing plans written exactly based on the test case count with tight schedule will not give the tester a free hand in testing . For example if a tester is asked to test an application having some 500 cases in 5 days . He will test only the testcases . He wont be thinking to crack the application . He will only try to finish of the cases and submit the reports . Although that would be suffice , it will no way enhance his skills or the product .It is always better to give some extra time and freedom to test .

3. A tight schedule might force the tester to skip the cases . If not credited or not planned well , the tester might end up being under pressure which will make him to skip some cases and hence resulting in breakages .

Tuesday, May 31, 2011

An easy way to reach the top?

Copied but a good one

Narayana Murthy (NRN), at old Infosys campus in 1990s. Since most of them know about the story of Infosys and NRN, let me narrate some interesting and rare facts which many might not know.

If Indian engineering students have taken job placements for granted, it is because of visionaries like Narayana Murthy. He is the Sultan of Indian IT but the journey was not as smooth as that of Tipu Sultan or other kings who were born in royal families.

Coming from a middle class family, like any other Indian, he had a dream of getting into IIT. He had managed to clear the IIT-JEE exams but his father could not afford IIT hostel and tution fees, due to which he made up his mind and joined a local engineering college (NIE, Mysore). He said to himself "All students from the IITs study well and do big things in life. But it is not the institution, ultimately it is you and you alone who can change your life by hard work" and he went on to prove his statement!! After engineering, he received Master's degree from IIT Kanpur.
Not many know that his first job was at IIM-A as systems engineer (also, he had 5 job offers including HMT, Air India, Telco after graduation but took up IIM-A which was the least paying).

He was initially a firm believer of communism but an interesting incident changed his life which led him to become a capitalist & an entrepreneur. During a foreign visit, for having talked against the Bulgarian govt with somebody in train, NRN was jailed for 4 days without food but later released because he was from India (which was a friendly country to them). This changed his life, he gave up the idea of communism and decided to create jobs in India. Thats how the story of his entrepreneurship started.

Infosys was his second attempt as an entrepreneur. The first one being Softronics, which was targetted to domestic market. Since India was not mature for IT yet, it turned out to be a big flop. So he started InfoSys (yes, the S was capital) and the rest is history.

Here is an interesting 3 min clip from a BBC documentary showing Infosys, Indian IT in general and the impact on India.
http://www.youtube.com/watch?v=I6-2hIImXok

The journey of Infosys was certainly not smooth and had seen lots of obstacles. Getting a computer took them 24 months, thanks to our govt red tape. Getting a loan was almost impossible. And at some point of time, the company was even at the verge of a sell-out. How they overcame all those troubles and became such a successful company is another story which I will be narrating using a different photo later :)

As usual, our next question. What is thought provoking in this story and what can we learn from it?
NRN has demonstrated that even if you are from a middle class family, inspite of studying in a local college, and being without any money to start a company & inspite of license raj of 1980s, you can go on to succeed in life and build a great empire by creating millions of jobs. He has shown that you need not have a surname called Tata/Birla to be successful. You dont have to be only from IIT to succeed. All it takes is hard work, determination & self confidence!! Hoping to see many more Narayana Murthys in future :)

Wednesday, May 25, 2011

how to start server with proxyInjectionMode option from the code

The below code can be used to start the server from the java code

RemoteControlConfiguration config = new RemoteControlConfiguration();
config.setProxyInjectionModeArg(true);
SeleniumServer server = new SeleniumServer(config);

Java Vs DotNet (Copied) Trailer

Well made and nice thought .