Problems with special SUBMIT-Button

Your WebpageTest is a powerful tool. I want to test the speed of a browser game. I enter the credentials, but I can not press the button with a script.

I can make the login information to the public. It’s just a test account.
http://koeln:pennergame.de
user: schlagbaum
password: mypassword

The source code of the section is:
[font=Courier]

Spieler: Passwort:
[color=#FF0000][/color] Passwort vergessen
[/font]

My script is this
[font=Courier]//This works fine
navigate koeln.pennergame.de
setValue name’username schlagbaum
setValue name’password mypassword
// problems from now on
//submitForm name’submitForm
clickAndWait innerText=Login
navigate 404 - Not Found

I need your help. Thanks in advance

Try:

submitForm	id=loginform

You need to act on the form itself, not the submit button (for the submitForm command).

The innerText method on the button wouldn’t work as it’s the Value that is Login, not text in the html.

You also need a combineSteps or logData 0/1 block since it is a 3-step test (loading the landing page, logging in and going to the target page).

Patrick Thank you for your concise answer. It was a big help. The results are extremely interesting. And the final code looks like this:

[color=#000080][font=Courier]combineSteps
navigate koeln.pennergame.de
setValue name’username schlagbaum
setValue name’password mypassword
submitForm id=loginform
navigate Pennergame - Köln
[/font][/color]