Posted: December 29th, 2009 | Author: Anuradha Uduwage | Filed under: Dribble and Shoot | Tags: Basketball, Gophers | 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.
Posted: December 24th, 2009 | Author: Anuradha Uduwage | Filed under: World is Crazy | Tags: Minnesota, Snow | 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.
Posted: December 15th, 2009 | Author: Anuradha Uduwage | Filed under: World is Crazy | Tags: News | 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.
Posted: December 15th, 2009 | Author: Anuradha Uduwage | Filed under: Data Mining, Information Retrieval | Tags: Problem, Social, Tool, Tracking | Enter your password to view comments.
Posted: December 15th, 2009 | Author: Anuradha Uduwage | Filed under: Java Ruled, Selenium | Tags: Java, Selenium | 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
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
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.
Recent Comments