Current time: 11-25-2020, 01:11 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the tool to identify spaces in an input?
12-11-2015, 02:55 AM
Post: #1
How to get the tool to identify spaces in an input?
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
Find all posts by this user
Quote this message in a reply
12-16-2015, 02:12 AM
Post: #2
RE: How to get the tool to identify spaces in an input?
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)