Jump to content

Drop down


smita
 Share

Recommended Posts

Hi,

I want to select numbers from the dropdwon box , I have tried all the functions of "ControlCommand" but not able to select number from the drop down. Please help me to select numbers from drop down. Thanks in advance.

Link to comment
Share on other sites

More information is required. What application? What does AU3Info tell you about it? What have you tried?

I want to select numbers from the drop down , AU3Info is giving me classnameNN = "ComboBox" & control ID of the drop down.

It's a webapplication which I have recorded.

ControlClick("","",5) // This will click on the drop down & will show the list

But not able to select number from this list , I have tried below function to select number '10'

ControlListView("","","ComboLBox1","Select",10)

Link to comment
Share on other sites

I want to select numbers from the drop down , AU3Info is giving me classnameNN = "ComboBox" & control ID of the drop down.

It's a webapplication which I have recorded.

ControlClick("","",5) // This will click on the drop down & will show the list

But not able to select number from this list , I have tried below function to select number '10'

ControlListView("","","ComboLBox1","Select",10)

A web application? Do you mean it is a webpage? Then Use IE.au3 (the _IE functions in the helpfile)

Link to comment
Share on other sites

A web application? Do you mean it is a webpage? Then Use IE.au3 (the _IE functions in the helpfile)

$oSelect = _IEFormElementGetObjByName ($oForm, "StartHrs")

_IEFormElementOptionselect ($oSelect,"01","byValue")

I have tried with IE function which is not working. Can anyone tell me how to select number from drop down?

Link to comment
Share on other sites

$oSelect = _IEFormElementGetObjByName ($oForm, "StartHrs")

_IEFormElementOptionselect ($oSelect,"01","byValue")

I have tried with IE function which is not working. Can anyone tell me how to select number from drop down?

Now it's working with

_IEFormElementOptionselect ($oSelect,"01",1,"byValue")

Function, Want to know what is command to show maximum window.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...