samsmith99 wrote: ↑Wed Apr 24, 2019 1:32 am
Code: Select all
Firefox for Windows Ver 66.0.2 (64 bit)
iMacros for FF Ver 10.0.2.1450
OS Windows 10
I have recorded this iMacros from their website (edubirdie) and then added CONTENT=["some content"] at the end. When I run this, it does not add the content to the text boxes.
Code: Select all
VERSION BUILD=10021450
URL GOTO=https://edubirdie.com/plagiarism-checker
TAG POS=2 TYPE=SPAN ATTR=CLASS:b-radio__box<SP>js_checker__radio-box<SP>js_checker_module__highlight&&TXT:
TAG POS=1 TYPE=INPUT:RADIO FORM=ACTION:https://edubirdie.com/plagiarism-checker ATTR=ID:paper-type-43
TAG POS=1 TYPE=DIV ATTR=CLASS:plag-checker__title-input<SP>js_checker__title-input<SP>js_checker_module__input&&NAME:text-title&&DATA-PLACEHOLDER:Paste<SP>Your<SP>Title<SP>Here&&CONTENTEDITABLE:true&&TXT: CONTENT="testtitle"
TAG POS=1 TYPE=DIV ATTR=CLASS:plag-checker__textarea<SP>js_checker__textarea<SP>js_checker_module__input&&NAME:text-to-check&&DATA-PLACEHOLDER:Paste<SP>Your<SP>Text<SP>Here&&CONTENTEDITABLE:true&&TXT: CONTENT="testtext"
+ Parallel Thread on SOF:
-
iMacros cannot insert content into text field
Good to see that you mention your FCI here on our Forum, very good...
'Free'/'PE' Info is still missing, but it will be 'PE' if you are using a DataSource, I reckon...
But hum, I would give you
the same Answer that I already gave on SOF 10h ago... (where that Thread is waiting some Follow-up from your Side btw...):
chivracq on SOF wrote:But yep, the 'CONTENT' Parameter is meant to be used for 'INPUT' Fields. The 'TAG' Mode usually has "difficulties" working with editable ajaxy 'DIV''s like this Site apparently is using and the Workaround is usually to use the 'EVENT' Mode:
Code: Select all
VERSION BUILD=8820413 RECORDER=FX
TAB T=1
URL GOTO=https://edubirdie.com/plagiarism-checker
'Title:
'EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV:nth-of-type(4)>DIV>SECTION>DIV>DIV>DIV>DIV:nth-of-type(3)>DIV" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV:nth-of-type(4)>DIV>SECTION>DIV>DIV>DIV>DIV:nth-of-type(3)>DIV" CHARS="iMacros cannot insert content in to text field"
'Content:
'EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV:nth-of-type(4)>DIV>SECTION>DIV>DIV>DIV>DIV:nth-of-type(4)>DIV>DIV" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV:nth-of-type(4)>DIV>SECTION>DIV>DIV>DIV>DIV:nth-of-type(4)>DIV>DIV" CHARS="I want to input data from csv to form on website through iMacros."
EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV:nth-of-type(4)>DIV>SECTION>DIV>DIV>DIV>DIV:nth-of-type(4)>DIV>DIV" KEYS="[13,13]"
EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV:nth-of-type(4)>DIV>SECTION>DIV>DIV>DIV>DIV:nth-of-type(4)>DIV>DIV" CHARS="While recording iMacros, I got this code"
EVENT TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV:nth-of-type(4)>DIV>SECTION>DIV>DIV>DIV>DIV:nth-of-type(4)>DIV>DIV" KEY=13
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
BUT...!, the 'EVENT' Mode is not supported (anymore) in your v10.0.2 for FF ('Free'/'PE') Version. You would need to switch to Chrome where v10.0.5 for CR supports that Mode, or to "go back" to v8.9.7 for FF which works on FF v55.0.3 or PM27/28.
I would add a few "things":
- The 'PE' License you already seem to have for v10.0.2 for FF is the same also for v10.0.5 for CR... The 'FIO' Module needed for File Access to use a DataSource is the same Module.
You will notice that the 'EVENT' Mode is fairly "slow" to input some Text. If you have a large amount of Text to input from your '.CSV' into the 2nd Input Field, you may want to speed up the Process with a 'Paste' ('Ctrl^v') that can also be automated from the 'EVENT' Mode, but requires the 'MODIFIERS' Parameter, and that Parameter is not supported in v10.0.5 for CR (I think...(?)). It was only supported on FF, which would leave you only one Option: v8.9.7 for FF.
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...