Hi All, 
 
I just found the solution to this problem.
 
Just before selecting the value from the following weblist. i used 
Mercury.DeviceReply object to hover the mouse over the another weblist and 
hover back to the "problem" weblist. Then after QTP was able to select the 
value from the list.
 
 Browser("Welcome to 
PegaRULES").Page("ARTManager").Frame("PWGadget0Ifr").WebList("none").Select 
"PENDARTWB"
 
I just think that by hovering the mouse like this over another weblist to 
required weblist refreshes the object and QTP is able to select required 
value. But if  this is the case then i'm not able to understand that why 
weblist(" ").RefreshObject doesn't work here ?
 
 
Thanks ALL
BNY
 
 
 

On Wednesday, February 5, 2014 1:36:39 AM UTC+5:30, Swap wrote:

>
>
> 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.

Reply via email to