Ok well im running imacro on a website, filling forms with data, all forms are ok, but I still have a form which cannot accept any data entry with imacros
ALL OF THESE TAGS ARE RELATED TO THE FORM , AND THE SCRIPT CAN CLICK ON THE FORM WITH ANY OF THESE , BUT CANNOT FILL THE FORM WITH "CONTENTHERE"
TAG POS=1 TYPE=DIV ATTR=ID::*.f CONTENT=CONTENTHERE
TAG POS=7 TYPE=INPUT:TEXT ATTR=* CONTENT=CONTENTHERE
TAG POS=1 TYPE=DIV ATTR=CONTENTEDITABLE* CONTENT=CONTENTHERE
TAG POS=1 TYPE=DIV ATTR=ROLE:textbox* CONTENT=CONTENTHERE
I tried the X and Y method to fill the form, but fails I tried the Experimental event mode with firefox, but the form is dynamic and each time the attributes changes. So the only remaining method is filling the form with javascript I read these topics How to fill in form field, and submit, using javascript? Automatic form fill using javascript But I'm not javascript developer, and I don't know how to use javascript code to fill forms with imacros.
Did you figure this out? I found a YouTube video that helped me. https://www.youtube.com/watch?v=MtVT_Cdqvzg
RépondreSupprimerAbout halfway through the video, there's a line of code that looks like:
URL GOTO=javascript:functiontest(){document.getElementById("sb_form_q").setAttribute("value","123456");}test();void(0);
Use that on www.bing.com and it will populate the search box with numbers. Hope that helps.