On Tuesday, May 17, 2016 at 6:09:06 AM UTC-4, Suresh Bhandari wrote:
>
> Check for the spelling, "Cannot identify the specified item of the
> WinComboBox object"
>
> Error means you are typing something wrongly…
>
>
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *[email protected]
> <javascript:>
> *Sent:* Tuesday, May 17, 2016 1:25 AM
> *To:* QTP - HP Quick Test Professional - Automated Software Testing <
> [email protected] <javascript:>>
> *Subject:* Cannot select an item in the country combobox.
>
>
>
> Hi,
>
>
>
> I want select a country from a combo box.
>
>
>
> Window("Main").WinObject("All Countries").WinComboBox("WinComboBox").
> *Select*("Iran")
>
> When I run this script, the combobox opens *and* closes about 5 times
> *and* *then* never *selects* "Iran".
> I *get* an *error* "Cannot identify the specified item of the WinComboBox
> object"
>
>
>
> Please help.
>
> --
> --
> 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]
> <javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> 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 Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
Hi,
I've tried mycount = Window("Main").WinObject("All Countries").WinComboBox(
"WinComboBox").GetItemsCount
It's 0.
I used Object Spy to view the "item count" property of the combobox, it
says 0.
Under OR, when I Select the Combobox and say find in the application, it
finds it correctly.
Why am I getting 0 items count?
Thanks in advance!
--
--
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 Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.