Send HTML into field on website

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
leemond25
Newbie
Posts: 1
Joined: Fri Apr 03, 2020 4:18 pm

Send HTML into field on website

Post by leemond25 » Fri Apr 03, 2020 4:24 pm

I've recorded a macro that fills in a web form. One of the fields takes a snippet of HTML, and when the macro runs it crashes at the HTML section:

Send><p>Hi CLIENT FIRST NAME,</p>...

Is there something I need to do to allow it to insert the HTML?

Thanks

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Send HTML into field on website

Post by Marcus Tettmar » Mon Apr 06, 2020 3:09 pm

That should just simulate typing those characters so there's nothing intrinsic here that would cause a crash. So something else at play here. Is the correct window and field focused? What happens if you slow down the key send rate ... ?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1350
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Send HTML into field on website

Post by Dorian (MJT support) » Tue Apr 07, 2020 9:06 am

Resolved via support ticket.

The html/body was being stored in the script, causing errors. Solved with LabeltoVar.
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts