On Saturday, February 1, 2014 11:13:33 PM UTC+5:30, BINNY wrote:
>
> Hi All,
>
> I'm trying to select value from the weblist, but QTP throws the error that
> "cannot identify the specified item of the none object. Confirm that the
> specified item is included in the object's item collection"
>
> Here is the step that recorded with weblist value as "PENDARTWB"
>
> Browser("Welcome to
> PegaRULES").Page("ARTManager").Frame("PWGadget0Ifr").WebList("none").Select
> "PENDARTWB"
>
> The QTP is successfully able to identify the weblist object the only issue
> is that it is not able to select value from weblist. The strange thing
> is happening that if i change the select option and run the script
> from current step then QTP is able to select that option, but if i again
> restart the script fromthe begining then it shows the same error again..
>
>
> I'm attaching the screenshot for OR and weblist object properties
>
>
> Thanks
> BNY
>
Hi BNY,
Few quick ones-
1.Is weblist items dynamically loading every time or are they static?
Incase of static no need to refresh object.
2.Try-
Browser("Welcome to
PegaRULES").Page("ARTManager").Frame("PWGadget0Ifr").WebList("none").Click
wait
Browser("Welcome to
PegaRULES").Page("ARTManager").Frame("PWGadget0Ifr").WebList("none").Select
"PENDARTWB"
3.Incase everything above fails,as a work around use sendkeys method to
select the required item.
-
Swap
--
--
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/groups/opt_out.