WebPagetest Forums
Login button click not working - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Login button click not working (/showthread.php?tid=14053)



Login button click not working - siddjo - 11-11-2015 10:26 AM

Hi,
I've tried the steps mentioned in the documentation, yet button click is not working for me.
Here's my HTML:
<form class="marketing">
<input id="username" name="username" class="type_email">
<input id="password" name="password" class="type_password">
<button name="submit" class="button" type="button">
<span>Log in</span>
</button>
</form>

Here's my code:
combineSteps
navigate https://myLoginUrl
setValue name=username myUsername
setValue name=password myPassword
submitForm className=marketing

navigate and setValue are working perfect.


RE: Login button click not working - pmeenan - 11-13-2015 02:13 AM

Does the form have an action? That appears to be missing from the markup (i.e. where it submits the form data to).