Dropdown blank for non existent or non matching element
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
Dropdown blank for non existent or non matching element
Hello,
A blank is selected in single select dropdown list if there is no matching TAG.
I believe it would be better if it would give en ERROR.
Would be a welcome feature.
A blank is selected in single select dropdown list if there is no matching TAG.
I believe it would be better if it would give en ERROR.
Would be a welcome feature.
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: Dropdown blank for non existent or non matching element
Hi giorgio79,
I believe the default behavior is to generate an error if the selected dropdown element is not found. Would you please provide an example macro so that we can quickly re-create and troubleshoot the specific issue you are experiencing?
I believe the default behavior is to generate an error if the selected dropdown element is not found. Would you please provide an example macro so that we can quickly re-create and troubleshoot the specific issue you are experiencing?
Regards,
Tom, iMacros Support
Tom, iMacros Support
Re: Dropdown blank for non existent or non matching element
Thanks Tom, sure here is one
Code: Select all
VERSION BUILD=7031111 RECORDER=FX
TAB T=1
URL GOTO=http://www.fiberdownload.com/submit-software.htm
TAG POS=1 TYPE=SELECT FORM=NAME:frm ATTR=NAME:name_categ CONTENT=$*hehehe*
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: Dropdown blank for non existent or non matching element
Hi giorgio,
iMacros generates the following error when I run your macro:
RuntimeError: Selected entry not available: '$*hehehe*' [Box has 228 entries], line: 4
Is this not what you are getting?
iMacros generates the following error when I run your macro:
RuntimeError: Selected entry not available: '$*hehehe*' [Box has 228 entries], line: 4
Is this not what you are getting?
Regards,
Tom, iMacros Support
Tom, iMacros Support
Re: Dropdown blank for non existent or non matching element
You are right Thanks, and sorry, it seems I should have slept more last night.
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: Dropdown blank for non existent or non matching element
LOL! No problem.
Regards,
Tom, iMacros Support
Tom, iMacros Support
Re: Dropdown blank for non existent or non matching element
Tom just one more thing. iMacros does generate an error, but it also makes teh dropdown blank. Anyway to avoid that?
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
Re: Dropdown blank for non existent or non matching element
Would anyone agree, that the desired behavior would be to not set the dropdown to blank on non existent value?
I would just prefer it to be left alone
I would just prefer it to be left alone
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: Dropdown blank for non existent or non matching element
I agree! This is how other versions of iMacros behave (by not clearing the currently selected entry). I have logged this for further investigation by the development team.giorgio79 wrote:Would anyone agree, that the desired behavior would be to not set the dropdown to blank on non existent value?
I would just prefer it to be left alone
Regards,
Tom, iMacros Support
Tom, iMacros Support