My Thoughts: 2011

Thursday, December 29

Yes, Virginia, There is a Santa Claus

Eight-year-old Virginia O'Hanlon wrote a letter to the editor of New York'sSun, and the quick response was printed as an unsigned editorial Sept. 21, 1897. 

A must read one . Read it slowly without hurry ..!! :)


Virginia's Letter to Editor :

Dear Editor

I am 8 years old. Some of my little friends say there is no Santa Claus. Papa says, “If you see it in The Sun, it’s so.” Please tell me the truth, is there a Santa Claus? 

VIRGINIA O'HANLON.
115 WEST NINETY-FIFTH STREET.

Editor's Reply:

VIRGINIA, your little friends are wrong. They have been affected by the skepticism of a skeptical age. They do not believe except [what] they see. They think that nothing can be which is not comprehensible by their little minds. All minds, Virginia, whether they be men's or children's, are little. In this great universe of ours man is a mere insect, an ant, in his intellect, as compared with the boundless world about him, as measured by the intelligence capable of grasping the whole of truth and knowledge.

Yes, VIRGINIA, there is a Santa Claus. He exists as certainly as love and generosity and devotion exist, and you know that they abound and give to your life its highest beauty and joy. Alas! how dreary would be the world if there were no Santa Claus. It would be as dreary as if there were no VIRGINIAS. There would be no childlike faith then, no poetry, no romance to make tolerable this existence. We should have no enjoyment, except in sense and sight. The eternal light with which childhood fills the world would be extinguished.

Not believe in Santa Claus! You might as well not believe in fairies! You might get your papa to hire men to watch in all the chimneys on Christmas Eve to catch Santa Claus, but even if they did not see Santa Claus coming down, what would that prove? Nobody sees Santa Claus, but that is no sign that there is no Santa Claus. The most real things in the world are those that neither children nor men can see. Did you ever see fairies dancing on the lawn? Of course not, but that's no proof that they are not there. Nobody can conceive or imagine all the wonders there are unseen and unseeable in the world.

You may tear apart the baby's rattle and see what makes the noise inside, but there is a veil covering the unseen world which not the strongest man, nor even the united strength of all the strongest men that ever lived, could tear apart. Only faith, fancy, poetry, love, romance, can push aside that curtain and view and picture the supernal beauty and glory beyond. Is it all real? Ah, VIRGINIA, in all this world there is nothing else real and abiding. 

No Santa Claus! Thank God! he lives, and he lives forever. A thousand years from now, Virginia, nay, ten times ten thousand years from now, he will continue to make glad the heart of childhood.

Saturday, December 10

"Self Respect" in dependent relationship

There is no relationship without dependency.Its hard to believe but its true.

The moment we realize "we are no longer depend on the other person" , we are nothing to each other .

Dependency might be in many forms. It might be either emotional , financial , physical. But sometimes it is nice to depend on other person and it is  a nice feeling to know that there is someone depend on us.

As a kid we completely depend on our parents , once you grow up you depend on friends for fun, company and whatever. And once you get married you will get to know your whole family is depending on you which may increase our responsibility but that is what makes your life keep going.



But one thing we must remember is "No relationship is worth sacrificing your dignity or self respect for....!!" .Never lose your self respect for others because that is what makes others to attract you. The moment they realize you are not what you are they will quit you in seconds .

sometimes people may take your self respect as "EGO" but as soon as they realize what you are they will come to you .If they are not realizing then it means they are not the ones who really deserve you love.

But never never ignore the small line between "Self respect" and "EGO".If you forget that line may be you will end up spending your whole life alone.

Have a good day ..!!


Tuesday, November 29

Mobile testing with Firefox

Most of the people are habituated to use their mobile for their daily usage - shopping , banking ,mail checking everything ..!!

So I am just going to share a piece of information with you i.e How to test mobile site usting Firefox. It's very simple.

Here are the steps for you to check the functionality of mobile site on Firefox :

1.First thing is you need to have two addons on your Firefox.
   a.Default user Agent
   b.Modify headers

2.Once you have successfully installed above two addons then you are done. Just restart your firefox.

3.You can find an option named "Default User Agent" under "Tools"

4.Just select the type of device on which you want to check your device. By default iPhone user agent will be added.Just select the agent and open your website. Now you are done. :)

5.If you want to test your site on Android then add the below user agent(Tools>>Default User Agent>>User Agent Switcher>>Options>>New>>New User Agent)

Mozilla/5.0 (Linux; U; Android 2.2; en-gb; GT-P1000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

Time for break . see you soon ..!! :)

Friday, November 25

Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

Today I upgraded my current firefox version to 8.0. But all my scripts got failed with the error which reads

 org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java: 96) at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java: 149) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java: 73) at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java: 128) at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java: 79)

Immediately I downgraded my FF version to 3.6. Now all my scripts are running up fine.

 Lesson I learnt :
" Never be in hurry to get newer version. Let it stabilize stabilize stabilize :)
 Otherwise we will run into problems :)"

Tuesday, October 11

Running JavaScript in the Java platform


Java is one of the powerful language.And we can do so mang things with it .

If you want to integrate javascript code with your javacode then it is very simple.
the steps are
1. Create ScriptEngineManager object
2.Get the ScriptEngine object from scriptEngineManager
3.Evaluate a script using the ScriptEngine object.

Here is the sample code :
You need to include "javax.script" package.

The scripting API consists of interfaces and classes that define Java Scripting Engines and provides a

framework for their use in Java applications.


import javax.script.*;

public class Javascript {


public static void main(String[] args) {
// Creating ScriptEngineManager
ScriptEngineManager mgr = new ScriptEngineManager();
//getting the ScriptEngine object
 ScriptEngine jsEngine = mgr.getEngineByName("JavaScript");
 try {
//Evaluate the script.For this we are using eval method
   jsEngine.eval("print('Hello, world!')");
 

 } catch (ScriptException ex) {
     ex.printStackTrace();
 }  

 try {
//We can import even java pacjages from script
   jsEngine.eval("importPackage(javax.swing);" +
       "var optionPane = " +
       "  JOptionPane.showMessageDialog(null, 'Hello, world!');");
 } catch (ScriptException ex) {
   ex.printStackTrace();
 }

}

}

Thursday, October 6

Happy Dasara

Wish you Happy Dasara




Steve Jobs Dies

Who doesn't know about Steve Jobs in this world.

He is the one who kept Apple in the top place of industry. He is the creator of Apple iPhone,iPad,iPod.

But he passed away today.We all miss him very badly .

The homepage of Apple's website this evening switched to a full-page image of Jobs with the text,

"Steve Jobs 1955-2011."


Clicking on the image revealed the additional text:

"Apple has lost a visionary and creative genius, and the world has lost an amazing human being. Those of us who have been fortunate enough to know and work with Steve have lost a dear friend and an inspiring mentor. Steve leaves behind a company that only he could have built, and his spirit will forever be the foundation of Apple."



Tuesday, October 4

Business Vs Testing

These are the words that I came to know from one of my friend :

"Business team will always look for something which is better than today. Testing team will always look for perfectness. "

Its true. There is nothing to be blamed.


But , having something better than today , always may not give good results.Every new feature has to meet some standards to maintain company brand.

And there is no perfect person , software in this world. As a tester if you don't give green signal for your product until it reaches perfectness , then your product will never never reach the customer.At somewhere and some point you have to stop testing and let the product go out.

At the end , goal of Testing Team is to improve business which is as same as Business Team :) .  

Saturday, September 24

I Love Chrome


Hey ,

After a long time I am seeing you again. :)

Let me tell you one interesting thing.People usually ask me why i like Chrome why not other ?

My answer is very simple "Chrome is fast and has nice features " .

1. We can set up sync for with our existing Google account .It will sync everything including bookmarks, themes, addons ( wow ). This is something i really like it because i need bookmarks where ever I go. And chrome is providing this feature with our existing Gmail account.

2.Chrome is fast fast fast fast . :)

3.In Chrome we can do good number of things by simply typing what you need in address bar.

a.about:sync -- You can see what has been synced.
b.about:version --- Will give you current Google Version details.
c.about:cache --- Will show the cached content.
d.about:memory --- Will give memory storage details .
e.about:settings --- Will display "Options" page.
f.about:sessions --- Will display session details.

See you in next post , until then have a Great day..!! :)


Monday, September 12

Welcome ..!!


Hi all .


This is my first post.
Today i am little busy . So I cant put good amount of content or information i have today
(Seems i am lying :P)
Whatever i will be back tomorrow. Until then have a great day :)