Jump to content

Recommended Posts

Posted

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)

Posted

For rest of the combo box this code is working and only this combobox is no working

i m not even getting its class and instance so i can get handle

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