cpanel multiple logins not working

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
Guest

cpanel multiple logins not working

Post by Guest » Fri Nov 18, 2005 12:06 am

Hello,

I am having significant trouble using IM to login into multiple cpanel's. I have had this functionality working in the past, but can no longer use scripts that worked previously. I have searched that forum and found a similar post with a solution suggested, but that solution is not working either. Very strange behaviour. Here is my macro:

VERSION BUILD=5001024
TAB T=1
TAB CLOSEALLOTHERS
CMDLINE !DATASOURCE source.csv
SET !DATASOURCE_COLUMNS 3
SET !DATASOURCE_LINE {{!LOOP}}
ONLOGIN USER={{!col2}} PASSWORD={{!col3}}
URL GOTO=http://www.{{!col1}}/cpanel
CLEAR
TAB T=1
TAG POS=1 TYPE=IMG ATTR=HREF:http://www.{{!col1}}:2082/frontend/x/mail/email.html
TAG POS=1 TYPE=A ATTR=HREF:http://www.{{!col1}}:2082/frontend/x/mail/pops.html
TAG POS=1 TYPE=IMG ATTR=TXT:<IMG<SP>src="/frontend/x/images/delete.jpg"<SP>border=0>
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:realdelpop.html ATTR=NAME:&&VALUE:Yes
TAG POS=1 TYPE=IMG ATTR=HREF:http://www.{{!col1}}:2082/logout/
'Comment: New page loaded



where source.csv looks like this:

somewebsite.com logininfo passinfo

Please help, as this functionality was previously working with the above macro, but no longer does.

Thanks.
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Fri Nov 18, 2005 5:26 pm

Are you using V5.01?

What error do you get?
Guest

Post by Guest » Fri Nov 18, 2005 5:37 pm

um, version is as indicated above: VERSION BUILD=5001024

error message says that it can't find the following image:
TAG POS=1 TYPE=IMG ATTR=HREF:http://www.{{!col1}}:2082/frontend/x/mail/email.html

This is because the login does not work for the cpanel, hence no image following login.

This issue has been brought up before in this forum, but a solid solution is not available.

http://forum.imacros.net/viewtopic.php?t= ... anel+login
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Fri Nov 18, 2005 5:53 pm

In this thread http://forum.imacros.net/viewtopic.php?t= ... anel+login the issue was solved.

My suggestion:

1. Update to V5.01

2. If the issue still persits, please send me some example login data so that we can test it.
Guest

Post by Guest » Fri Nov 18, 2005 7:02 pm

Ann,

I updated to version 5.01. No success. I looked at thread you posted again. As you can see in my original post, the solution suggested there is already in my macro code. No success. I'm willing to pass along a few examples. Did you read my original post, you seem to ask for or suggest things that I have already explained?

Thanks again.
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Fri Nov 18, 2005 7:48 pm

Please email me the test macro. The example you posted looks OK, so I need to test it here to find out what goes wrong.
Guest

Post by Guest » Fri Nov 18, 2005 10:00 pm

email sent, anyword?
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Fri Nov 18, 2005 11:12 pm

testing... the error message I get is:
Login Attempt Failed!
Can you confirm that we are talking about the same problem?
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Fri Nov 18, 2005 11:21 pm

The source input file you emailed us contained 4 columns instead of three (note the extra comma ,). Thus the user name{{!col2}} was always empty.

aaa.com,, userA, pwdA
bbb.com,, userB, pwdB

After I remove the empty column I get

aaa.com, userA, pwdA
bbb.com, userB, pwdB

and everything works!

Problem solved :D
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Fri Nov 18, 2005 11:29 pm

Here is some information for all users that read this thread:

How to debug an issue like this? Here is what we did:

Add a PROMPT command to the macro:

PROMPT {{!col2}} {{!var1}} {{!col3}}

This will open an input dialog for !var1 (unimportant in our case, !var1 is not used in the macro). The input dialog box displays the value of
{{!col2}} as dialog box text and the value of
{{!col3}} as input box default value. This allows you to check if these variables are populated correctly.

or use (in this specific case):
SET !REPLAYSPEED SLOW
This gives you the time to see what is actually filled in the logon password dialog as user name.
Post Reply