Jump to content
Sign in to follow this  
smita

Drop down

Recommended Posts

smita

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.

Share this post


Link to post
Share on other sites
BrettF
smita

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)

Share this post


Link to post
Share on other sites
BrettF

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)

Share this post


Link to post
Share on other sites
smita

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?

Share this post


Link to post
Share on other sites
smita

$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.

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  

×