edit
createCookie token=bXJqYXRvOm1yamF0bw==
open main.html
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 1000
click xpath=(//a[contains(text(),'Edit')])[last()]
storeAttribute //tr[last()]/@id personId
type name=name Ana
type name=surname María
click id=btnSubmit
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 1000
verifyText //tr[@id='${personId}']/td[@class = 'name'] Ana
verifyText //tr[@id='${personId}']/td[@class = 'surname'] María
deleteCookie token