I got this sorted out with HP support.  Well, a workaround anyway.
The ComboBox is nested on another object and for some reason, the
ComboBox needs to be activated before it will respond.  So, now, I
have my script clicking in the ComboBox, before setting the value.
Here's what it looks like:

VbWindow("frmEisMain").WinObject("DockTop").Click 50,40
VbWindow("frmEisMain").WinComboBox ("nativeclass:=ComboBox").Select
"Product View"

Thanks for the replies.

Have fun!
Krev

On Jan 7, 10:51 pm, ERP Solutions <[email protected]> wrote:
> Try to write descriptive program.It will be helpful if u can send 
> theobjectproperties. Anyhow, try to add Name and NativeClass in
> properties then try
>
>
>
> On Thu, Dec 31, 2009 at 9:15 PM, Krev <[email protected]> wrote:
> > Greetings,
>
> > I'm new to the group.  I searched but didn't find anything like this.
> > Hopefully someone can help, or has at least seen this before.
>
> > I am running QTP 10, and the AUT is Elite Enterprise 3.8.  I want to
> > set the value of a WinComboBox.  However, I cannot add theobject
> > properties to the repository, nor will descriptive programming locate
> > it, when I run the script.
>
> > UsingObjectSpy, I can see the properties of theobject.  But, when I
> > try to add it, or update from application, it QTP does not retrieve
> > any properties.  This explains why descriptive programming doesn't
> > work, I suppose.  But, I don't understand whyObjectSpy can see the
> > properties, but QTP can't in test mode.
>
> > Any replies are appreciated.
>
> > Thank you!
>
> > PS: I would have attached a screenshot, but the Files section of this
> > group does not appear to allow it.  At least, I don't see the option
> > to Upload.
>
> > --
> > 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
-- 
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