Help with login scripting


I would like to run a test on a page available only after logging in. I’ve read the scripting docs and it seems simple enough. I’m able to pass my username and password, but nothing happens after my clickAndWait action in the script. Below is my script. Your thoughts on making it work greatly appreciated.

// Logging off
logData 0

// Login 
setValue name=username <username>
setValue name=password <password>
clickAndWait class=login-form_button

// Logging on
logData 1

// Page to test

// END

Wrong class in clickAndWait function.

Check in your code i see login-form__button insted of login-form_button like You set in script.