Select from dropdown menu on imacros

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
majdi105
Posts: 6
Joined: Mon Jun 24, 2019 9:57 am

Select from dropdown menu on imacros

Post by majdi105 » Thu Oct 31, 2019 3:43 pm

Hello i'm using this website when you write the city name and it give you many option to choose from
Image

When i record i get this

Code: Select all

TAG POS=1 TYPE=SPAN FORM=NAME:NoFormName ATTR=TXT:France,<SP>Europe
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=CLASS:input-text-input-ManagedTextInput__managedInput--2RESp<SP>ui_input_text<SP>common-typeahead-location-Selector__socialInput--2Zgrm CONTENT=Paris,<SP>Ile-de-France
i want the code to always select the first option

im using Imacros browser V10.0.2... on windows 10
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Select from dropdown menu on imacros

Post by chivracq » Thu Oct 31, 2019 4:20 pm

majdi105 wrote:
Thu Oct 31, 2019 3:43 pm
Hello i'm using this website when you write the city name and it give you many option to choose from

Code: Select all

https://i.imgur.com/DlxWfTz.png
When i record i get this

Code: Select all

TAG POS=1 TYPE=SPAN FORM=NAME:NoFormName ATTR=TXT:France,<SP>Europe
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=CLASS:input-text-input-ManagedTextInput__managedInput--2RESp<SP>ui_input_text<SP>common-typeahead-location-Selector__socialInput--2Zgrm CONTENT=Paris,<SP>Ile-de-France
i want the code to always select the first option

im using

Code: Select all

Imacros browser V10.0.2... on windows 10

:|
- (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...
majdi105
Posts: 6
Joined: Mon Jun 24, 2019 9:57 am

Re: Select from dropdown menu on imacros

Post by majdi105 » Thu Oct 31, 2019 5:37 pm

chivracq wrote:
Thu Oct 31, 2019 4:20 pm
majdi105 wrote:
Thu Oct 31, 2019 3:43 pm
Hello i'm using this website when you write the city name and it give you many option to choose from

Code: Select all

https://i.imgur.com/DlxWfTz.png
When i record i get this

Code: Select all

TAG POS=1 TYPE=SPAN FORM=NAME:NoFormName ATTR=TXT:France,<SP>Europe
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=CLASS:input-text-input-ManagedTextInput__managedInput--2RESp<SP>ui_input_text<SP>common-typeahead-location-Selector__socialInput--2Zgrm CONTENT=Paris,<SP>Ile-de-France
i want the code to always select the first option

im using

Code: Select all

Imacros browser V10.0.2... on windows 10

:|
every thing is written on the thread already imacros browser v10 + no browser sinceit's the integrated browser+ windows 10
did you even read what i've written ?
Post Reply