Current time: 11-24-2020, 06:34 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to fill a checkout form using Webpage scripts
02-12-2016, 06:35 PM (This post was last modified: 02-12-2016 06:37 PM by rviscomi.)
Post: #3
RE: Unable to fill a checkout form using Webpage scripts
Did you make it a private test? I'm unable to see the script, which makes it hard to debug.

The general pattern for this type of test would be something like this:

Code:
logData 0
navigate setup-page.html
setValue id=foo bar
logData 1
navigate test-page.html

Of course, "foo" must be the ID attribute of the input element whose value should be set to "bar". Repeat for each form field.

If you want to try the JS approach with getElementById, make sure you're using it with the exec[AndWait] command and not just writing pure JS in the script block.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Unable to fill a checkout form using Webpage scripts - rviscomi - 02-12-2016 06:35 PM

Forum Jump:


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