Jump to content

Recommended Posts

Posted

Here I am again. This time I'm trying to click o an item in a dropdown menu with no luck. I couldn't find a solution in the forum neither in the Help file.

 

Here's the HTML:

<td>
                                                        <select id="updateStatus0" onchange="SearchObject.setAccountStatusNew('0');">
                                    <option>Select</option>
                                    <option statusParam="EDIT" accountNum="SUB-13428417170" serviceType="TELEPHONY" accountType="Telephony" channel="" keyValue="0">View</option>
                                    <option statusParam="SUSPENDED" accountNum="SUB-13428417170" serviceType="TELEPHONY" accountType="Telephony" channel="" keyValue="0">Suspend</option>
                                    <option statusParam="DEACTIVE" accountNum="SUB-13428417170" serviceType="TELEPHONY" accountType="Telephony" channel="" keyValue="0">Deactivate</option>
                                </select>
                                                      </td>

 

Here's a print of the menu:

Dropdown menu.png

 

Here's my  last piece of code:

Local $Edit = _IEGetObjById ($oIE, "updateStatus0")
Local $EditClick = _IELinkClickByText ($Edit, "View")
_IELoadWait ($oIE)

 

I've trying with other examples that I took from the forum, but with no luck (I forgot to save them, so this is all I have).

The problem is that it doesn't select "View".

 

Thank you!

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
×
×
  • Create New...