On Monday, November 26, 2012 at 1:44:45 PM UTC-5, Sanketh Shanbhag wrote:
>
> Honestly , we too face issues on similar lines .Hence we have shifted to
> custom controls, methods being created by the developer.
>
> Regards,
> Sanketh ( from my phone )
>
>
> On 26-Nov-2012, at 13:03, Gireesh G <[email protected] <javascript:>>
> wrote:
>
> Thanks for the replay sanketh
>
> i tried that still it is not working :(
>
> On Saturday, 24 November 2012 23:13:24 UTC-4, Sanketh Shanbhag wrote:
>>
>> WPF mostly require custom controls to be built..
>>
>> Try a different method eg: instead of select try "type"
>>
>> Regards,
>> Sanketh ( from my phone )
>>
>>
>> On 25-Nov-2012, at 18:10, Gireesh G <[email protected]> wrote:
>>
>> Hi
>>
>> i am Facing a issue in QTP11 while selecting wpfList item, it is not
>> selecting any item and thoroughing an error object reference not set
>>
>> WpfWindow("xyz").WpfList("abc").Select "test"
>>
>> any one please help solving this problem
>>
>> Thanks
>> Gireesh
>>
>> --
>> 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>
>> 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]
> <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
>
>
Following worked for me,
When I did WpfWindow("").WpfList("").Object.SelectedIndex = 1, last item
never got deleted. I guess the first item is always 0 so I tried the
following and it worked.
mycount = WpfWindow("").WpfList("").Object.Items.Count
ReDim x(mycount)
For i = 0 To mycount - 1
WpfWindow("").WpfList("").Object.SelectedIndex = 0
WpfWindow("").WpfButton("Remove").Click
Next
--
--
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.