MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - How to get the tool to identify spaces in an input?

WebPagetest Forums

Full Version: How to get the tool to identify spaces in an input?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am new to WebPageTest and im trying to script for one of the pages on the below application, but the input data has spaces and the script fails with spaces. I tried giving % instead of spaces and it passed except the % stayed where they are in the input, ultimately failing the request.

Pls help.

navigate http://business.stg.comcast.com
sleep 5
sendClickAndWait innerHTML=Change location
sleep 5
setValue id=LocalizeStreetAddress 1485%BAYSHORE%ABCD
sleep 5
setValue id=LocalizeUnitNumber 320
sleep 5
setValue id=LocalizeZipCode 94124
sleep 5
clickAndWait innerText=Continue
You need to use tabs to delimit the actual script commands and if you do that spaces inside of each element should be fine. If you don't use tabs there is some server-side logic that tries to do the conversion automatically and it is probably messing up.
Reference URL's