Showing posts from April, 2015

Keep A Good Sense of Humor at Your Workplace

Today I'm not going to post any technical blog rather going to share some of the light moments of IT professionals. We all know the importance of humor in our life. And sometimes it comes our way when it's most unexpected and sometimes during stressful work hours and you just can't restrict yourself from sharing these funny moments with others.
 This is what I'm going to share with you today. I come along one webpage where some of the QA Engineers have shared there funniest experiences with developers. I'm not editing the real content and posting as it is, to retain the natural flavor of humor.We, IT professionals aware of the epic cold war between Developers and QA's. Developers never accept bug in their code and very often they give some illogical and funny excuses to back their buggy code.

When some of the QA Engineers have been asked to share there funniest experiences /conversations with developers, see their responses:
Suresh: In my recent project, every ti…

Web Automation Simplified By Virtual Ninja (Robot Framework)

Talk of the town! Automation is the latest trend. Many Managers are chasing good-quality automation guys to set up an automation suite for their project. But to pick the right match of language and automation tool is the biggest defiance for them. Have undergone circs when projects failed by choosing wrong tools and technology. Question arising, what factors should be pondered while making the choice for the automation tool?
                                                                               Some managers look towards clients for the answer, but to me this is not a handy approach at all. How can a person, who is not a techie can counsel you on this puzzle? Manager should be aware of his team's skillset and capabilities well. If team members are more into manual and they don't have a smashing command over technical language then Robot Framework can be a best-fit for his team.

Validate Date Format Using Regular Expressions in JAVA

As such there is no API in java to validate the format of Date String (I didn't found any). I have had a requirement for the same in my code. Accomplished it using Regular Expressions. Thought of sharing my piece of code with the world residing on other side of my laptop screen, may be useful for someone.

Here is the code:

// Check the Date format to be MM/dd/yyyy
    private boolean validateDateFormat(String date){
        StringBuffer sBuffer = new StringBuffer(date);
        String mon;
        String dd;
        String year;

        // Store the Date in String Buffer and Break down the date
        mon = sBuffer.substring(0,2);
        dd = sBuffer.substring(3,5);
        year = sBuffer.substring(6,10);
        System.out.println("DD: "+ dd + " Mon: "+ mon + " Year: "+ year);

        // Validating Date Format for Tunr In Date and Live Date to be MM/dd/yyyy
        if(mon.matches("0[1-9]|1[0-2]") && dd.matches("0[1-9]|[12][0-9]|3[01]&…

Test-aliens are here on Earth, Go slow developers !!

Why should a company have a team for Software Testing and Quality Assurance? What is the need to test a software?

Why shouldn't developers test their own work?
When I started my career around two years back I encountered above listed queries. At that time I had no reply to these queries. But after dwelling around two years in IT sector I come along with some firm replies.
                             All above listed questions are inter-belonging and the highlighted one was recently posted in a programmer's Q&A post, it inevitably raised my curious eyebrow. This can be a big debate. Diving straight to the point, the simple, unmistakable and well known answer is : “Developers are not very good testers.”                                                                    But according to my understanding correct answer is, - “They don't want to see bugs in their code and only look for happy paths and and happy endings.” (Beleive me I was a developer in the past and the…