Hello,
I'm trying to automate a website login that has an asterisk (*) in the password field. It seems that when the macro plays back it gets confused by the asterisk. Is there a special snippet of code that I can use to distinguish the asterisk separately from the program?
How to use asterisks and other special characters?
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
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: How to use asterisks and other special characters?
Hello nma1919,
You shouldn't need to do anything special to handle password fields. How is it getting "confused"? Can you provide a specific example, perhaps the URL to the site in question?
http://wiki.imacros.net/Password_Security
You shouldn't need to do anything special to handle password fields. How is it getting "confused"? Can you provide a specific example, perhaps the URL to the site in question?
http://wiki.imacros.net/Password_Security
Regards,
Tom, iMacros Support
Tom, iMacros Support
Re: How to use asterisks and other special characters?
This is the example code. The "1234ABC*" is the password it enters. The asterisk on the password isnt entered, in fact the macros stops in it's tracks... I think iMacros is confusing the asterisk as a variable.
Code: Select all
VERSION BUILD=7300701 RECORDER=FX
TAB T=1
URL GOTO=http://m.myspace.com/login.wap?sb=&jklaajkkjwioppznzknllkk=&goto=Home&bfd=offdeck
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/login.wap?sb=&jklaajkkjwioppznzknllkk=&goto=Home&bfd=offdeck&c=en-US&a=b ATTR=ID:loginTextBox CONTENT=testemail@emaildomain.com
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ACTION:/login.wap?sb=&jklaajkkjwioppznzknllkk=&goto=Home&bfd=offdeck&c=en-US&a=b ATTR=ID:loginTextBox CONTENT=1234ABC*
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:wapForm ATTR=NAME:loginCommand&&VALUE:Login
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: How to use asterisks and other special characters?
The macro works for me. All 8 characters of the password are entered, the Login button is clicked, and then the page responds that the username/password is not valid (obviously since they are test values).
Regards,
Tom, iMacros Support
Tom, iMacros Support