- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
12-14-2025 12:06 PM
- PART 1- (Part two first comment).
Hello,
I'm using both:
1-Webform
2- https://www.autoitscript.com/wiki/WebDriver and it works fine with Chrome and AUTOIT.
#include "wd_helper.au3"
#include "wd_capabilities.au3"
On Cisco ISE webpage, you enter username, password and then must select between (AD or Internal) as login method.
The user and Password are OK, but it seems I can't interact and choose between (AD:MYAD or Internal). No matter what I do, in the end it does nothing (it does not interact with DropMenu/Internal to choose from).
----------------------------------------------------------------------------------------------------------------------------------
This is how it looks by default AD:MYAD
<table class="dijit dijitReset dijitInline dijitLeft dijitDownArrowButton dijitSelectFixedWidth myClass xwtDropDown dijitSelect" dojoattachpoint="_buttonNode,tableNode" cellspacing="0" cellpadding="0" wairole="presentation" dojoattachevent="onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse" role="presentation" widgetid="authTypeId" style="width: 192px; margin-left: 5px;"><tbody wairole="presentation" role="presentation"><tr wairole="presentation" role="presentation"><td class="dijitReset dijitStretch dijitButtonContents dijitButtonNode" dojoattachpoint="focusNode" wairole="combobox" waistate="haspopup-true" role="combobox" aria-haspopup="true" id="authTypeId" tabindex="0" aria-valuenow="AD:MYAD"><span class="dijitReset dijitInline dijitButtonText" dojoattachpoint="containerNode,_popupStateNode" popupactive="true" style="width: 277px;"><span style="width:277px;" class="dijitReset dijitInline xwtDropDown dijitSelectLabel">AD:MYAD</span></span><input type="hidden" name="authType" dojoattachpoint="valueNode" value="AD:MYAD" waistate="hidden-true" aria-hidden="true">
</td><td class="dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonActive" dojoattachpoint="titleNode" wairole="presentation" role="presentation"><div class="dijitReset dijitArrowButtonInner" wairole="presentation" role="presentation"> </div><div class="dijitReset dijitArrowButtonChar" wairole="presentation" role="presentation">▼</div></td></tr></tbody></table>
//*[@id="authTypeId"] //*[@id="authTypeId"]/span/span //*[@id="authTypeId"]/input //*[@id="dijit_MenuItem_0_text"]
<td class="dijitReset dijitStretch dijitButtonContents dijitButtonNode" dojoattachpoint="focusNode" wairole="combobox" waistate="haspopup-true" role="combobox" aria-haspopup="true" id="authTypeId" tabindex="0" aria-valuenow="AD:MYAD"><span class="dijitReset dijitInline dijitButtonText" dojoattachpoint="containerNode,_popupStateNode" popupactive="true" style="width: 277px;"><span style="width:277px;" class="dijitReset dijitInline xwtDropDown dijitSelectLabel">AD:MYAD</span></span><input type="hidden" name="authType" dojoattachpoint="valueNode" value="AD:MYAD" waistate="hidden-true" aria-hidden="true">
</td>
<span style="width:277px;" class="dijitReset dijitInline xwtDropDown dijitSelectLabel">AD:MYAD</span>
<input type="hidden" name="authType" dojoattachpoint="valueNode" value="AD:MYAD" waistate="hidden-true" aria-hidden="true">
<td class="dijitReset dijitMenuItemLabel" colspan="2" dojoattachpoint="containerNode" id="dijit_MenuItem_0_text">AD:MYAD</td>
----------------------------------------------------------------------------------------------------------------------------------
If I change it manually to Internal I get:
<table class="dijit dijitReset dijitInline dijitLeft dijitDownArrowButton dijitSelectFixedWidth myClass xwtDropDown dijitSelect" dojoattachpoint="_buttonNode,tableNode" cellspacing="0" cellpadding="0" wairole="presentation" dojoattachevent="onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse" role="presentation" widgetid="authTypeId" style="width: 192px; margin-left: 5px;"><tbody wairole="presentation" role="presentation"><tr wairole="presentation" role="presentation"><td class="dijitReset dijitStretch dijitButtonContents dijitButtonNode" dojoattachpoint="focusNode" wairole="combobox" waistate="haspopup-true" role="combobox" aria-haspopup="true" id="authTypeId" tabindex="0" aria-valuenow="Internal"><span class="dijitReset dijitInline dijitButtonText" dojoattachpoint="containerNode,_popupStateNode" popupactive="true" style="width: 277px;"><span style="width:277px;" class="dijitReset dijitInline xwtDropDown dijitSelectLabel">Internal</span></span><input type="hidden" name="authType" dojoattachpoint="valueNode" value="Internal" waistate="hidden-true" aria-hidden="true">
</td><td class="dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonActive" dojoattachpoint="titleNode" wairole="presentation" role="presentation"><div class="dijitReset dijitArrowButtonInner" wairole="presentation" role="presentation"> </div><div class="dijitReset dijitArrowButtonChar" wairole="presentation" role="presentation">▼</div></td></tr></tbody></table>
//*[@id="authTypeId"] //*[@id="authTypeId"]/span/span //*[@id="authTypeId"]/input //*[@id="dijit_MenuItem_1_text"]
<td class="dijitReset dijitStretch dijitButtonContents dijitButtonNode" dojoattachpoint="focusNode" wairole="combobox" waistate="haspopup-true" role="combobox" aria-haspopup="true" id="authTypeId" tabindex="0" aria-valuenow="Internal"><span class="dijitReset dijitInline dijitButtonText" dojoattachpoint="containerNode,_popupStateNode" popupactive="true" style="width: 277px;"><span style="width:277px;" class="dijitReset dijitInline xwtDropDown dijitSelectLabel">Internal</span></span><input type="hidden" name="authType" dojoattachpoint="valueNode" value="Internal" waistate="hidden-true" aria-hidden="true">
</td>
<span style="width:277px;" class="dijitReset dijitInline xwtDropDown dijitSelectLabel">Internal</span>
<input type="hidden" name="authType" dojoattachpoint="valueNode" value="Internal" waistate="hidden-true" aria-hidden="true">
<td class="dijitReset dijitMenuItemLabel" colspan="2" dojoattachpoint="containerNode" id="dijit_MenuItem_1_text">Internal</td>
Thank you for the support!
12-14-2025 03:23 PM
Hi @ABDOU LAZEZ HUSSIEN EL SHEREDI
I feel this will require Java Script. Please see the following example.
https://dojotoolkit.org/reference-guide/1.10/dijit/form/DropDownButton.html?utm_source
12-14-2025 12:06 PM
- PART 2-
I tried (MarketPlace but no luck (its missing the DropMenu Section) )(Also tried Plugin Generator Utility):
authTypeId > (ScriptClick) (SearchBy=ID)
Internal > (Click) (SearchBy=Text)
------------------------------------------------------------------
authTypeId > (ScriptClick) (SearchBy=ID)
//*^[contains(@class,"dijitPopup"^)]//div^[@class="dijitMenuItem"^][normalize-space(.)="Internal"] > (Click) (SearchBy=XPath)
------------------------------------------------------------------
authTypeId > (ScriptClick) (SearchBy=ID)
//*^[contains(@class,"dijitPopup"^)]//div^[contains(@class,"dijitMenuItem"^)]^[contains(normalize-space(.//*^[contains(@class,"dijitPopup"^)]//div^[contains(@class,"dijitMenuItem"^)]
------------------------------------------------------------------
authTypeId > (ScriptClick) (SearchBy=ID)
//td^[@class='dijitMenuItemLabel'^ and normalize-space()='Internal'] > (ScriptClick) (SearchBy=XPath)
------------------------------------------------------------------
authTypeId > (Click) (SearchBy=ID)
Internal > (Click) (SearchBy=Text)
------------------------------------------------------------------
authTypeId > (Button) (SearchBy=ID)
Internal > (Button) (SearchBy=Text)
----------------------------------------------------
authTypeId > (Click) (SearchBy=ID)
(Wait=2)
Internal > (Click) (SearchBy=Text)
(Wait=1)
-------------------------------------------------------
dijit_MenuItem_1_text>(Button)(SearchBy=id)
dijit_MenuItem_0_text>(Button)(SearchBy=id)
----------------------------------------------------------------------------------------------------------------------------------
I was able to do it and select the value with Python using from selenium, but no luck with AUTOIT nor CyberArk WebForm.
# Click the dropdown
wait.until(EC.element_to_be_clickable((By.ID, "authTypeId"))).click()
# Wait for the menu items to appear
wait.until(EC.visibility_of_element_located((By.CSS_SELECTOR, "div.dijitMenu")))
# Click the correct auth type
menu_item = wait.until(EC.element_to_be_clickable(
(By.XPATH, f"//tr[contains(@class,'dijitMenuItem') and .//td[text()='{auth_type}']]")
))
menu_item.click()
Thank you for the support!
12-14-2025 03:23 PM
Hi @ABDOU LAZEZ HUSSIEN EL SHEREDI
I feel this will require Java Script. Please see the following example.
https://dojotoolkit.org/reference-guide/1.10/dijit/form/DropDownButton.html?utm_source
12-15-2025 10:25 AM
Hi @Malhar Vora
Thank you very much.I managed to fix it. There was a little issue that after
Internal > (Click) (SearchBy=Text)
or
{LogonDomain} > (Click) (SearchBy=Text)
the script will freeze in place and not move on. I was lucky to leave it for 2 minutes then it clicked login. I fixed this issue by lowering the ActionTimeout to 5 inside the Target Settings > Web Form Settings.
In Edit target > Client specific settings, define the following:Name Description ActionTimeout The maximum number of seconds to wait for an action to complete.
The Connector if anyone needs help.
dijit_form_TextBox_0 > {Username} (SearchBy=ID)
dijit_form_TextBox_1 > {Password} (SearchBy=ID)
(Wait=1)
AD:MYAD > (Click) (SearchBy=Text)
(Wait=1)
Internal > (Click) (SearchBy=Text)
loginPage_loginSubmit_label>(Button)(SearchBy=id)
-------------------------
or by adding a new field called LogonDomain
dijit_form_TextBox_0 > {Username} (SearchBy=ID)
dijit_form_TextBox_1 > {Password} (SearchBy=ID)
(Wait=1)
AD:MYAD > (Click) (SearchBy=Text)
(Wait=1)
{LogonDomain} > (Click) (SearchBy=Text)
loginPage_loginSubmit_label>(Button)(SearchBy=id)
as for the AUTOIT part, I still have to test it and see what I can do. I will try to translate the Webform fields to AUTOIT.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

