I need to select the value inside a combo

The property of the combo is as follows

Browser -> Page -> image     (The combo opens by clicking the arrow
which is of type image)

The property of values inside combo is as follows

Browser -> Page -> WebElement

I have tried a lot to select the value inside the combo, but I am
failing. Following is what
I have tried already

Browser().Page().Image().click      'to open combo
Browser().Page().webElement().click          'to select value

Using descriptive programming

Browser().Page().Image().click
Browser().Page().Image().webElement("index:=2").click


It doesn't select any value.

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to