WebPagetest Forums
setValue doesn't trigger other element to be enabled - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: setValue doesn't trigger other element to be enabled (/showthread.php?tid=12774)



setValue doesn't trigger other element to be enabled - alexwang999 - 01-24-2014 04:58 AM

Hi,

I have created the following script:
logData 0
navigate https://payroll.intuit.com/signup/iam/start
Sleep 2
setValue id=emailAddress cmtqatest8754@test.com
setValue id=emailAddress cmtqatest8754@test.com
click id=emailAddress
logData 1
clickAndWait value=Continue
submitForm value=Continue

And the Continue button should be enabled after we fill in the emailAddress, but from the result: http://www.webpagetest.org/result/140123_E7_REA/

It seems the email address get populated, but not able to trigger the continue button to be enabled.
Is there any other work around I should use?

Thanks

AlexExclamation


RE: setValue doesn't trigger other element to be enabled - pmeenan - 01-24-2014 05:23 AM

Your best bet is to use an exec or execAndWait command to run some javascript that triggers the continue button to activate.