Wednesday, February 23, 2011

Clicking on divs using webrat

Modern apps uses javascript to trigger events such as ajax action on clicking divs.


x = find(:xpath, "//div[text() = 'TEXT IN DIV']")
x.click()

Tuesday, February 22, 2011

Wednesday, February 2, 2011

APN for Hong Kong 3 mobile network

APN: mobile.three.com.hk
username: blank
password: blank