Jump to content

Combobox not working


Recommended Posts

Hi all,

I have written a code for testing GUI for an windows based application.The below code has to select a string from drop down list which is not working please help me to resolve this.i couldnt trace class and inatance so i use control id to handle it

ControlCommand($a,"", 1150, "ShowDropDown", "")

ControlCommand($a, "", 1150, "SetCurrentSelection",$strCombo2)

If @error == 1 Then

FileWriteLine($file, 'Error: ComboBox2 Fail')

Else

FileWriteLine($file, 'ComboBox2: Select Image Success')

EndIf

Sleep(1000)

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