Jump to content

How to click and change ng-select control values using _IEFormElementOptionSelect


Recommended Posts

Dear AutoIT community, 

Can anyone help me to change the values in ng-select element, basically what I want to achieve here is? I want to change the values in dropdown box, the web site is ngular and I don't know how to get the particular element to change the list values I am using IE and internet explore browser I tried this function _IEFormElementOptionSelect but I am not sue how to get the object to pass in this function since element dose not have ID or name.

html given below, 

<mcf-select class="ng-select-searchable ng-valid ng-touched ng-dirty">
    <div class="mcf-select  mcf-select-input-wrapper " id="">
        <div class="select-wrapper">
            <ng-select role="listbox" class="ng-select ng-select-single ng-select-searchable ng-valid ng-select-bottom ng-touched ng-dirty ng-select-opened">
                <div class="ng-select-container ng-has-value">
                <div class="ng-value-container">
                    <div class="ng-placeholder"></div><!----><!----><!---->
                    <div class="ng-value ng-star-inserted" style=""><!----><!---->
                        <span class="ng-star-inserted">SELECT VALUE 01</span>
                        <span class="selected-item ng-star-inserted">SV</span>
                    </div><!----><!---->
                    <div class="ng-input">
                        <input role="combobox" type="text" autocorrect="off" autocapitalize="off" autocomplete="aa2bc34e00b4" aria-expanded="true" aria-owns="aa2bc34e00b4" aria-activedescendant="aa2bc34e00b4-2">
                    </div>
                </div><!----><!---->
                    <span class="ng-arrow-wrapper"><span class="ng-arrow"></span></span>
                </div><!---->
                <ng-dropdown-panel class="ng-dropdown-panel ng-star-inserted ng-select-bottom" id="aa2bc34e00b4" style="opacity: 1;"><!---->
                <div class="ng-dropdown-panel-items scroll-host"><div></div>
                <div><!----><!---->
                <div class="ng-option ng-star-inserted" role="option" id="aa2bc34e00b4-0"><!----><!---->
                <div class="mcf-flex-box ng-star-inserted">
                    <div>
                        <span>SELECT VALUE 02</span>
                    </div>
                </div>
                </div>
                <div class="ng-option ng-option-selected ng-star-inserted" role="option" aria-selected="true" id="aa2bc34e00b4-1"><!----><!---->
                <div class="mcf-flex-box ng-star-inserted">
                    <div>
                        <span>SELECT VALUE 01</span>
                    </div>
                </div>
                </div>
                <div class="ng-option ng-star-inserted ng-option-marked" role="option" id="aa2bc34e00b4-2"><!----><!---->
                <div class="mcf-flex-box ng-star-inserted">
                <div>
                    <span>SELECT VALUE 03</span>
                </div>
                </div>
                </div><!----><!----><!----><!---->
                </div>
                </div><!---->
                </ng-dropdown-panel>
            </ng-select><!----></div>
            <mcf-msg-container mcfclass="mcf__validation -state-danger" class="hidden">
            <div mcfdirection="" dir="null" class="mcf-msg-container mcf__validation -state-danger" id="-container"><!----><!----><!----></div>
            </mcf-msg-container></div>
</mcf-select>

 

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...