scripting, button click not working

Hello,

I am trying to test page navigation using form submit, here is my html block for button selection

[code]

Search for a .com now
------------------------------------------[/code]

Script:

logData 1
// bring up the login screen
navigate https://qa-test-smsi.com/

logData 1
setValue name=search vpntest
submitForm className=pre-form

the above script not working, How can I submit the form with click.

any suggestions?

Thanks