Nav. to a Login Pg OK but Login Itself Gets Error
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
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
Nav. to a Login Pg OK but Login Itself Gets Error
I'm using Windows 10 - English, Firefox Version 49.0.1, Latest iMacros version (I think -- installed recently).
I'm having trouble with automating a sign-in at a website. (NOTE: at a different website I have no problem with an .iim entering my username and password and going forward through the site.)
Below are two .iim versions I have used at the problem website. (Of course YYYYYYYY and ZZZZZZZZ are not my true username and password.)
___________________________________
IIM CODE - Version 1 -- For this recording, I let the Username and Password Auto-Fill which they do when I go to this website.
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
URL GOTO=http://www.recolorado.com/
TAG POS=1 TYPE=A ATTR=ID:loginAgent
TAB T=2
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:idpForm ATTR=ID:signIn
TAB T=3
TAG POS=1 TYPE=IMG ATTR=SRC:https://cdn.clareitysecurity.net/images ... rix-80.png
Error message:
"Tab number 2 does not exist, line: 5 (Error code: -971)"
___________________________________
IMM CODE - Version 2 -- For this recording, I filled in the Username and Password manually .
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
URL GOTO=http://www.recolorado.com/
TAG POS=1 TYPE=A ATTR=ID:loginAgent
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:idpForm ATTR=ID:uname CONTENT=YYYYYYYY
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ID:idpForm ATTR=ID:pword CONTENT=ZZZZZZZZ
TAB T=2
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:idpForm ATTR=ID:signIn
Error message:
"Wrong CONTENT specifier YYYYYYYY, line: 5 (Error code: -925)"
___________________________________
I'll appreciate any help you can give.
Thank you.
I'm having trouble with automating a sign-in at a website. (NOTE: at a different website I have no problem with an .iim entering my username and password and going forward through the site.)
Below are two .iim versions I have used at the problem website. (Of course YYYYYYYY and ZZZZZZZZ are not my true username and password.)
___________________________________
IIM CODE - Version 1 -- For this recording, I let the Username and Password Auto-Fill which they do when I go to this website.
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
URL GOTO=http://www.recolorado.com/
TAG POS=1 TYPE=A ATTR=ID:loginAgent
TAB T=2
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:idpForm ATTR=ID:signIn
TAB T=3
TAG POS=1 TYPE=IMG ATTR=SRC:https://cdn.clareitysecurity.net/images ... rix-80.png
Error message:
"Tab number 2 does not exist, line: 5 (Error code: -971)"
___________________________________
IMM CODE - Version 2 -- For this recording, I filled in the Username and Password manually .
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
URL GOTO=http://www.recolorado.com/
TAG POS=1 TYPE=A ATTR=ID:loginAgent
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:idpForm ATTR=ID:uname CONTENT=YYYYYYYY
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ID:idpForm ATTR=ID:pword CONTENT=ZZZZZZZZ
TAB T=2
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:idpForm ATTR=ID:signIn
Error message:
"Wrong CONTENT specifier YYYYYYYY, line: 5 (Error code: -925)"
___________________________________
I'll appreciate any help you can give.
Thank you.
Re: Nav. to a Login Pg OK but Login Itself Gets Error
"Latest (iMacros) Version" is always vague, but OK... => v9.0.3, confirmed by your 2 Scripts...Pjones wrote:I'm usingI'm having trouble with automating a sign-in at a website. (NOTE: at a different website I have no problem with an .iim entering my username and password and going forward through the site.)Code: Select all
Windows 10 - English, Firefox Version 49.0.1, Latest iMacros version (I think -- installed recently).
Below are two .iim versions I have used at the problem website. (Of course YYYYYYYY and ZZZZZZZZ are not my true username and password.)
___________________________________
IIM CODE - Version 1 -- For this recording, I let the Username and Password Auto-Fill which they do when I go to this website.
Error message:Code: Select all
VERSION BUILD=9030808 RECORDER=FX TAB T=1 URL GOTO=http://www.recolorado.com/ TAG POS=1 TYPE=A ATTR=ID:loginAgent TAB T=2 TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:idpForm ATTR=ID:signIn TAB T=3 TAG POS=1 TYPE=IMG ATTR=SRC:https://cdn.clareitysecurity.net/images/appicon/customer-supplied/recolorado-matrix-80.png
___________________________________Code: Select all
"Tab number 2 does not exist, line: 5 (Error code: -971)"
IMM CODE - Version 2 -- For this recording, I filled in the Username and Password manually .
Error message:Code: Select all
VERSION BUILD=9030808 RECORDER=FX TAB T=1 URL GOTO=http://www.recolorado.com/ TAG POS=1 TYPE=A ATTR=ID:loginAgent TAG POS=1 TYPE=INPUT:TEXT FORM=ID:idpForm ATTR=ID:uname CONTENT=YYYYYYYY SET !ENCRYPTION NO TAG POS=1 TYPE=INPUT:PASSWORD FORM=ID:idpForm ATTR=ID:pword CONTENT=ZZZZZZZZ TAB T=2 TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:idpForm ATTR=ID:signIn
___________________________________Code: Select all
"Wrong CONTENT specifier YYYYYYYY, line: 5 (Error code: -925)"
I'll appreciate any help you can give.
Thank you.
Hum, "funny" Site with their Logon Procedure indeed, either directly from some Popup and the following Script seemed to work for me, no need to switch to any TAB_2 for the Signon...:
Code: Select all
VERSION BUILD=8820413 RECORDER=FX
TAB T=1
URL GOTO=http://www.recolorado.com/
TAG POS=1 TYPE=A ATTR=ID:loginAgent
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:idpForm ATTR=ID:uname CONTENT=abcd
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ID:idpForm ATTR=ID:pword CONTENT=hjkl
'TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:idpForm ATTR=ID:signIn
Code: Select all
VERSION BUILD=8820413 RECORDER=FX
TAB T=1
URL GOTO=http://idp.recolorado.com/idp/Authn/UserPassword
'TAG POS=1 TYPE=H3 ATTR=TXT:Broker<SP>Login
'TAG POS=1 TYPE=TD ATTR=TXT:Login<SP>ID:
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:loginform ATTR=ID:j_username CONTENT=bcdf
'TAG POS=1 TYPE=TD ATTR=TXT:Password:
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ID:loginform ATTR=ID:password CONTENT=yuiop
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
- (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...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Re: Nav. to a Login Pg OK but Login Itself Gets Error
Many thanks for the feedback. I am trying various combinations of your code and my code to see what happens. I'm very new at this so it may take a while.
I am finding that in general when a click involves more than just following a link it can fail to "take" in a recording. For example, choosing from a dropdown list or selecting a radio button may modify the page contents but does not result in any line of iMacros code which will modify the page similarly upon replay.
It may be that I will need to get additional, outside scripting for some of the things I am trying to do.
I am finding that in general when a click involves more than just following a link it can fail to "take" in a recording. For example, choosing from a dropdown list or selecting a radio button may modify the page contents but does not result in any line of iMacros code which will modify the page similarly upon replay.
It may be that I will need to get additional, outside scripting for some of the things I am trying to do.
Re: Nav. to a Login Pg OK but Login Itself Gets Error
The 2nd Script I posted by using directly the auto-redirected '/authn/' Login Page seemed to be quit reliable to me...Pjones wrote:Many thanks for the feedback. I am trying various combinations of your code and my code to see what happens. I'm very new at this so it may take a while.
I am finding that in general when a click involves more than just following a link it can fail to "take" in a recording. For example, choosing from a dropdown list or selecting a radio button may modify the page contents but does not result in any line of iMacros code which will modify the page similarly upon replay.
It may be that I will need to get additional, outside scripting for some of the things I am trying to do.
Yep, for "... but does not result in any line of iMacros code which will modify the page similarly upon replay.", that's where the 'EVENT' Mode then often brings some better Results as it "feels" for Pages with a lot of JS in the Background more like "real" (Human) User Interaction than the 'TAG' Mode...
"It may be that I will need to get additional, outside scripting for some of the things I am trying to do."
=> I didn't really understood what you meant with this Sentence... Combining your Script with a few "manual" Clicks maybe... Hum..., every Interaction with a Web-Site can be automated with iMacros normally... There is always a Solution...
- (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...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Re: Nav. to a Login Pg OK but Login Itself Gets Error
Thanks for the advice. Having looked at some more examples I see that indeed, EVENT is used more than TAG in situations of the type of situations which I will be encountering.