Selecing Dropdown, basis CSV Input

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
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
soulgeek
Posts: 16
Joined: Sat Jan 23, 2010 6:25 am
Contact:

Selecing Dropdown, basis CSV Input

Post by soulgeek » Mon Mar 01, 2010 1:40 pm

Folks,

Need Urgent Help... :?

I want to select something from a Drop-Down, that drop down has 10 Values as Text.

In CSV i have one of thoes values (Shoes), Now, when the macro runs, it should pick "Shoes" from the Drop down.

How can this be done?

The Source Code of Web page is:

Code: Select all

<select name="main_category" style="border: 2px solid rgb(0, 0, 255);">
<option value="All">All</option>
<option value="Apparel">Apparel</option>
<option value="Automotive">Automotive</option>
<option value="Baby">Baby</option>
<option value="Beauty">Beauty</option>
<option value="Books">Books</option>
<option value="Classical">Classical</option>
<option value="DVD">DVD</option>
<option value="Electronics">Electronics</option>
<option value="HealthPersonalCare">HealthPersonalCare</option>
<option value="HomeGarden">HomeGarden</option>
<option value="HomeImprovement">HomeImprovement</option>
<option value="Jewelry">Jewelry</option>
<option value="Kitchen">Kitchen</option>
<option value="Jewelry">Jewelry</option>
<option value="Outlet">Outlet</option>
<option value="MP3Downloads">MP3Downloads</option>
<option value="Music">Music</option>
<option value="MusicTracks">MusicTracks</option>
<option value="OfficeProducts">OfficeProducts</option>
<option value="OutdoorLiving">OutdoorLiving</option>
<option value="Shoes">Shoes</option>
<option value="Software">Software</option>
<option value="SoftwareVideoGames">SoftwareVideoGames</option>
<option value="Toys">Toys</option>
<option value="VHS">VHS</option>
<option value="Video">Video</option>
<option value="VideoGames">VideoGames</option>
<option value="Watches">Watches</option>


		</select>

Now, in My I have "Shoes"... how to automatically select Shoes from drop down?

When i do it in Imacro if does like:

Code: Select all

TAG POS=1 TYPE=SELECT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:main_category CONTENT=21

But What i want to do is to pull the value from CSV
something like:

Code: Select all

TAG POS=1 TYPE=SELECT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:main_category CONTENT={{!COL1}}

How can i achieve this?

P.S: I can give the Tech Support my UserID and Password, but i am not able to PM anyone.... :roll:
Daniel, Tech Support
Posts: 1483
Joined: Tue Jan 26, 2010 11:35 am

Re: Selecing Dropdown, basis CSV Input

Post by Daniel, Tech Support » Thu Mar 04, 2010 3:17 pm

Hello,

Please see this wiki article. All you have to do is add a "$" sign before the text you need to select.

Best regards,
Daniel, iOpus Support
Post Reply