Go Gophers, Great Big Ten Opener

Posted: December 29th, 2009 | Author: | Filed under: Dribble and Shoot | Tags: , | No Comments »

Atmosphere at the barn (William Arena) was electrifying as always. Gophers got into a great start. It was good to see that both defense and offense was getting click right from the beginning. Hoffarber was red hot from get go. Pen State rallied for a come back in the second half, but Westbrook got really hot at the second half and put an end to Pen State’s come back by hitting some great shots from downtown. As I said, what a great way to start the BIG TEN Opener.


White X’Mas in Minnesota, more like White Storm

Posted: December 24th, 2009 | Author: | Filed under: World is Crazy | Tags: , | No Comments »

It started snowing last night and when I got up today morning snow had accumulated more than half a foot. Entire state is getting its fare may be more than its share of snow. According to news, it will snow till end of tomorrow. Fresh snow looks very pretty. Out side my apartment looks like a post card.


Bill to Volume Down loud TV adds

Posted: December 15th, 2009 | Author: | Filed under: World is Crazy | Tags: | No Comments »

I always wondered why the TV adds are way too louder than than the regular tv programs. Also its very annoying to hit the volume button up and down every single 15min while you watch a movie or a program. But good news is very soon we don’t have to do that at all. Today US house passed the bill to make sure that all the TV adds should aired with the same volume of regular programs.


Protected: Social Problem Tracking Tool

Posted: December 15th, 2009 | Author: | Filed under: Data Mining, Information Retrieval | Tags: , , , | Enter your password to view comments.

This post is password protected. To view it please enter your password below:



Handle Ajax with Selenium RC

Posted: December 15th, 2009 | Author: | Filed under: Java Ruled, Selenium | Tags: , | 7 Comments »

Lately I have been adding improvements to the framework that I have build using selenium rc, JUnit, Java, and Xpath. While adding more functions I wanted to add a method to handle ajax. The idea was to wait until all the ajax action complete in a page. Selenium api has a waitForCondition method. Method accept a script, and time out.

1
2
public void waitForCondition(java.lang.String script,
                             java.lang.String timeout)

Our application uses Prototype ajax library. so I used

1
waitForCondition()

from selenium api, and implement the following method.

1
2
3
4
    public void waitForAjax() {
        super.waitForCondition("selenium.browserbot.getCurrentWindow().Ajax.activeRequestCount == 0;",
                SeleniumDefaultProperties.getResourceAsStream("default.pageload.timeout"));
    }

I have added

1
 .properties

file to handle all the server settings and timings related to our test automation framework. In above method timing is invoked from that properties file.


Get Adobe Flash playerPlugin by wpburn.com wordpress themes