Sign in to follow this  
Followers 0

Internet Explorer Check Box

2 posts in this topic


I would like to click on a specific checkbox but they all have the same name in the html code


<input type="checkbox" name="lot" value="FNF49001F7%%01%%55%% %% %%BRSCOVER%%0000040N4445" id="FNF49001F7%%01%%55%% %% %%BRSCOVER%%0000040N4445"/>

<input type="checkbox" name="lot" value="ADF490005Q%%01%%48%% %% %%BRSCOVER%%0000P98P2403" id="ADF490005Q%%01%%48%% %% %%BRSCOVER%%0000P98P2403"/>

Only the value and ID change.

When i do:

$o_form = _IEFormGetObjByName($oBrowser, "waitingLots")

$o_SubmitButton = _IEFormElementGetObjByName($o_form, "lot")


the first checkbox is check

How can I check a specific checkbox when they all have the same name?


Share this post

Link to post
Share on other sites

You asked this question in two places. Find the answer here.


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0