Hi,
I read the beginners help file and tried searching here but I can't find info on this:
I don't see any way to enter a few paragraphs of text into a web form...
All the examples I've looked at are only entering one line of text like FieldValue = "blah blah"
So, please can you tell me how to do it?
Also, when I did try to paste (ctrl-v) some "blah blah" text into WebRecorder to be used in the macro, it wouldn't paste - is there any reason why?
Thanks for your help.
Jim
Entering text (a whole paragraph or more) into a web form.
Moderators: Dorian (MJT support), JRL
-
- Newbie
- Posts: 2
- Joined: Tue Apr 24, 2007 2:27 am
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Save what you want to enter as a variable:
Let>filldata=This is a single line. And this is a second sentence on the same line..$CRLF%This is a second line, the third sentence.
Set Focus on the web page
Tab to the field for data entry
Use the Send command:
Send>%filldate%
-------------------------------------
Or you could copy %filldate% to clipboard and paste from clipboard after setting focus and tabbing to the data entry field.
PutClipboard>%filldata%
...
...
TAb to data entry field
Press CTRL
Send>v
Release CTRL
----------------------------
Let>filldata=This is a single line. And this is a second sentence on the same line..$CRLF%This is a second line, the third sentence.
Set Focus on the web page
Tab to the field for data entry
Use the Send command:
Send>%filldate%
-------------------------------------
Or you could copy %filldate% to clipboard and paste from clipboard after setting focus and tabbing to the data entry field.
PutClipboard>%filldata%
...
...
TAb to data entry field
Press CTRL
Send>v
Release CTRL
----------------------------
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
-
- Newbie
- Posts: 2
- Joined: Tue Apr 24, 2007 2:27 am