WebPagetest Forums
Form Data not getting updated - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Form Data not getting updated (/showthread.php?tid=15522)



Form Data not getting updated - rghildiy - 10-22-2018 05:12 PM

Hi
I have been trying to provide script to webpagetesttool url for the angular4 application but the email address and password are not detected by the reactive form and validation message is thrown. PFB script

logData 0
navigate https://test-feature-3-secure.reqtest.com/maintenance/login

logData 1

setValue type=email xxxxxxxx
sendKeyDownAndWait type=email TAB
setValue type=password xxxxxxxxxx
clickAndWait type=submit
navigate https://test-feature-3-secure.reqtest.com/app/dashboard

Login submit error


RE: Form Data not getting updated - pmeenan - 10-22-2018 10:58 PM

Switch to using JavaScript with exec/execAndWait. First get it working locally in Chrome in dev tools console and then use it in a WPT script. Whatever JS on the page is doing form validation isn't recognizing the values have been added and you need to figure out how to trigger it.