Web page combo box input

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Trevor Hughes
Junior Coder
Posts: 25
Joined: Sun Dec 15, 2013 9:27 pm

Web page combo box input

Post by Trevor Hughes » Tue Dec 17, 2013 8:20 pm

Hello

I am sending some text to a web page combo box using data from an array:

SendText>someArrayField

The text in the arrayField is "Sea". The options in the combo box are "Sea", "Air" and "Mail". The problem I have is that instead of sending the whole string it sends "S", then "E" then "A". So the result is "Air" when it should be "Sea".

Could anyone suggest how I can get around this problem. This is only one of a number of combo boxes on the web page that I will need to input into. Some of the other combo boxes will have hundreds of items, so the results could be problematic.

Any help would be appreciated.

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Dec 18, 2013 5:29 am

I've found that pasting text is sometimes preferable to using Send>.

Code: Select all

PutClipboard>someArrayField
Press Ctrl
Send>v
Release Ctrl

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts