grazie mille xò ho provato con
onload=self.document.forms[0].testo.focus()
e funziona!