iMacros for ActiveX Form Filling

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
dolluatdoll
Posts: 4
Joined: Mon Oct 27, 2014 11:15 am

iMacros for ActiveX Form Filling

Post by dolluatdoll » Tue Oct 28, 2014 7:30 am

Hi All,

I am new to iMacros. I would like to auto fill in website form with iMacros.

the testing site : https://login.taobao.com/member/login.j ... bao.com%2F

I tried to record the process of fill in the login form and re-play, it was succeed.

Code: Select all

VERSION BUILD=10.2.26.4235
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=https://login.taobao.com/member/login.jhtml?spm=a213y.6633709.396478089.1.AhDOjc&redirectURL=http%3A%2F%2Fhk.taobao.com%2F
TAG POS=1 TYPE=SPAN FORM=ACTION:/member/login.jhtml ATTR=TXT:手機號/會員名/郵箱
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/member/login.jhtml ATTR=NAME:TPL_username CONTENT=user1
SET !ENCRYPTION TMPKEY
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ACTION:/member/login.jhtml ATTR=NAME:TPL_password CONTENT=9kf0/eG19hfCLVB6/dA1BH6p3ommEnr7tf2TbOOEVdU+1DHLsF08q8bWTyo50WYeXG0ihsN4MMt+plur81c4uw==
Then, I tried to do the same procedure but checked the "Safety Control" checkbox
The form become a ActiveX control login form.
ActiveX login form
ActiveX login form
loginactivex.jpg (24.66 KiB) Viewed 2045 times
I repeated the same procedure to record the login processing, the password input box wasn't located by iMacros

Code: Select all

VERSION BUILD=10.2.26.4235
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=https://login.taobao.com/member/login.jhtml?spm=a213y.6633709.396478089.1.AhDOjc&redirectURL=http%3A%2F%2Fhk.taobao.com%2F
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/member/login.jhtml ATTR=NAME:TPL_username CONTENT=user1
I tried to locate the password input box in the source code, but I don't really know how to access the activeX embedded object with iMacros.

Code: Select all

<span id="J_PasswordEdit" class="password-edit" style="display: block;">
<object id="J_Safeedit1414460211614" width="228" height="27" type="application/aliedit" codebase="https://img.alipay.com/download/2121/aliedit.cab" classid="clsid:488A4255-3236-44B3-8F27-FA1AECAA8844">
<param value="0613110323" name="cm5ts">
<param value="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDS92pDVyWNT7dzG9zH0opH44z9FayCZTX5iqGUxUjPi667IkyaqrsmDPqKsJp47lJ29lzs+Qv8zjPPdmnxjFteMrfpc4ui24gL1iZnchwX87Ox/+Xrm8HFmKlhmUO9n/QgTT+Nz1RGMEN1+HijvsoAhS0TS8XjSfzRkrwvK2pJQIDAQAB" name="cm5pk">
<param value="4" name="CryptoMode">
<param value="1" name="PasswordMode">
<embed id="J_SafeeditNotIE1414460211614" width="228" height="27" type="application/aliedit" tabindex="2">
</object>
</span>
Can anyone give some advice?

The testing infromation:

1. What version of iMacros are you using?
iMacros Browser (x86) version 10.2.26.4235

2. What operating system are you using? (please also specify language)
Microsoft Windows 7 Professional

3. Which browser(s) are you using? (include version numbers)
IE 11

4. Do the included demo macros work ok?
YES
Post Reply