Micro Focus QTP (UFT) Forums

Full Version: Unable to select a combo item by value or index
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I am trying to select an item from a combo box using the code below.

Code:
"SwfWindow("Underwriters Document").SwfObject("lookUpEditProfileForm").Click"

The problem is that UFT won't work without specifying co-ordinates.

I want to be able to specify the value, or at very least the index number, but I can't find a method that seems applicable.

I also tried looking at the object methods and there methods SELECT and SELECT 1 and SELECTALL, but I can't work out syntax for this.

Any brilliant suggestions?

Thanks
Martin
Please ensure to include your code between [code] tags while asking or replying to questions. I have done this for you for this time.
I am facing the same issue, any workaround friends