Recorded action in DropMenu does not register

Discussions and Tech Support specific to the iMacros Firefox add-on.
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
Thrilling
Posts: 37
Joined: Fri Aug 11, 2017 2:02 pm

Recorded action in DropMenu does not register

Post by Thrilling » Mon Aug 14, 2017 8:16 am

Hello,

I'm using iMacros 8.9.7 on FIrefox 45.9.0 ESR on Solaris 11.3 (x64, german)
If this setup causes problems I'd have the option to switch to Firefox54 on Linux-Ubuntu 16.04 LTS (with the newest iMacros version, I'd assume)

I'm trying to write a macro for this website:
https://visa.kdmid.ru/

I'm trying to select information for the two drop down menus at the top ("germany" and "deutsch"). After recording this I'm left with this code:

Code: Select all

VERSION BUILD=8970419 RECORDER=FX
TAB T=1
URL GOTO=https://visa.kdmid.ru/
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_phBody_Country CONTENT=%D
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_phBody_ddlLanguage CONTENT=%de-DE
Executing this code does not work, the fields seem to be loading but ultimately remains on the default selection "choose country" and "choose language"

A solution i could think of would be to tell iMacros to select the dropdownmenu, type in the beginning of the desired selection and then hitting enter. This would also be helpful in a future dropdown menu in this online form, where a selection between "male" or "female" has to be made - I would like to tell iMacros to write the letter "M" or "F" from the excel-File-Source into the dropdown-menu to make that selection. Sadly, i don't know how to code this command. Simply doing this hasn't worked:
TAG POS=1 TYPE=input:text FORM=ID:aspnetForm ATTR=ID:ctl00_phBody_Country CONTENT=ger
(i get Runtime Error: INPUT secified was not found)

I'm also missing the code to tell iMacros to hit enter

I hope this makes sense. Thanks and kind regards
Last edited by Thrilling on Wed Aug 16, 2017 8:21 am, edited 3 times in total.
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Recorded action in DropMenu does not register

Post by chivracq » Mon Aug 14, 2017 8:08 pm

Thrilling wrote:Hello,

I'm trying to write a macro for this website:
https://visa.kdmid.ru/

I'm trying to select information for the two drop down menus at the top ("germany" and "deutsch"). After recording this I'm left with this code:

Code: Select all

VERSION BUILD=8970419 RECORDER=FX
TAB T=1
URL GOTO=https://visa.kdmid.ru/
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_phBody_Country CONTENT=%D
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_phBody_ddlLanguage CONTENT=%de-DE
Executing this code does not work, the fields seem to be loading but ultimately remains on the default selection "choose country" and "choose language"

A solution i could think of would be to tell iMacros to select the dropdownmenu, type in the beginning of the desired selection and then hitting enter. This would also be helpful in a future dropdown menu in this online form, where a selection between "male" or "female" has to be made - I would like to tell iMacros to write the letter "M" or "F" from the excel-File-Source into the dropdown-menu to make that selection. Sadly, i don't know how to code this command. Simply doing this hasn't worked:
TAG POS=1 TYPE=input:text FORM=ID:aspnetForm ATTR=ID:ctl00_phBody_Country CONTENT=ger
(i get Runtime Error: INPUT secified was not found)

I'm also missing the code to tell iMacros to hit enter

I hope this makes sense. Thanks and kind regards
Oh yeah, but sorry, "FCIM", I don't read, read my Sig, you did better in your previous Thread, even if OS was missing...

Hum, and try to select the "correct" Sub-Forum when you open a Thread, this Thread has nothing specific to iMacros for FF only, I would think from "quick scanning" it, meaning your Script works in other Browsers but fails in FF only... (But OK, no need to duplicate now...)
Your previous Thread belonged indeed to this 'iMacros for FF' Sub-Forum, because the '!DATASOURCE_DELIMITER' Command is only supported on FF..., and the 'SAVEAS' and '!DATASOURCE' Structure for Data Separator & Delimiter behave a little bit differently for each Browser...
- (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...
Thrilling
Posts: 37
Joined: Fri Aug 11, 2017 2:02 pm

Re: Recorded action in DropMenu does not register

Post by Thrilling » Tue Aug 15, 2017 7:42 am

i added the FCIM to my original post
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Recorded action in DropMenu does not register

Post by chivracq » Tue Aug 15, 2017 7:59 pm

Thrilling wrote:i added the FCIM to my original post
Euh..., yep..., but have you read my Sig...? => "... with all 3 Versions."
I'm using

Code: Select all

iMacros 8.9.7 on FIrefox on Ubuntu Linux.
FCI = iMacros Version + Browser Version + OS (with Version and Language and x32/x64)... (Even if OS doesn't often play a Role...)

Sorry but I'm not playing "little Detective" between your different Threads to reconstruct your FCI from separate bits of Info... :roll:
I only answer Threads where FCI is mentioned clearly and completely... Is it so complicated to mention 3 Versions...? Last time I ask, I still haven't read your Thread, good luck with other (Advanced) Users otherwise... :idea:
- (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...
Thrilling
Posts: 37
Joined: Fri Aug 11, 2017 2:02 pm

Re: Recorded action in DropMenu does not register

Post by Thrilling » Wed Aug 16, 2017 8:23 am

I've updated the FCI. Had to speak with our IT department, as i'm completely ignorant about the OS my workplace is using. I hope this meets your requirements
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Recorded action in DropMenu does not register

Post by chivracq » Wed Aug 16, 2017 9:25 am

Thrilling wrote:I've updated the FCI. Had to speak with our IT department, as i'm completely ignorant about the OS my workplace is using. I hope this meets your requirements
OK, we finally have your FCI, I won't go through this hassle next time you open a Thread if you don't mention it directly...
I'm using

Code: Select all

iMacros 8.9.7 on FIrefox 45.9.0 ESR on Solaris 11.3 (x64, german)
Ah..., I was right about the "German" for OS in your previous Thread, ah-ah...!

OK, I had a look at your Site and Script, simply adding some mini-'WAIT' Statement (=1 sec) before each DDLB Statement works fine for me, to allow for the DDLB's to get populated...
(Tested on iMacros for FF v8.8.2, PM 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...
Thrilling
Posts: 37
Joined: Fri Aug 11, 2017 2:02 pm

Re: Recorded action in DropMenu does not register

Post by Thrilling » Wed Aug 16, 2017 3:29 pm

Your suggestion worked perfectly, Thank you very much. And yes, you're right about me being german, maybe your subconscious had a glimpse of me having to select "Germany" in this thread, which gave it away :P Thanks again
Post Reply