HI, The problem can be resolved by adding the 'AutomationId' property in
the following section in QTP  Menu > Tools> Object Identification >
Mandatory Properties section
if env is wpf ,net, then select wpf from picklist (in Mandatory Properties
section) and add a new property as 'AutomationId'

Regards
Amit Gupta


On Thu, Jun 28, 2012 at 11:48 AM, qtplearner <[email protected]> wrote:

> Hi,
>
> Did you get the solution for automation id issue in wpf .net 4 environment
> in qtp 11, if yes, pls share it
>
> Regards
>
> On Wednesday, October 19, 2011 5:13:57 PM UTC+5:30, Ashish wrote:
>
>> Thanks for Response,
>>
>> But using Object Spy or while recording, the items of dynamically
>> loaded controls are not beign identified in QTP.
>>
>> so what could be the solution for that?
>>
>> On Oct 19, 11:52 am, PrabhuRamaswamy656 <[email protected]>
>> wrote:
>> > Hi Ashish,
>> > If your intention is to select an item from the drop-down/list box etc
>> > then better go for the Dynamic Approach.
>> > i.e. Get the count of the Listbox and then iterate around and see if
>> > whatever you wish to select is there and then select it and end loop.
>> >
>> > Regards, Prabhu
>> > __________________________
>> >
>> > On Oct 18, 6:04 pm, Ashish <[email protected]> wrote:
>> >
>> >
>> >
>> > > QTP has WPF and .NET as main addins. Other than these two, QTP has
>> > > ActiveX, Visual Basic and Web plugins.
>> >
>> > > I am using QTP Version 11.0.
>> >
>> > > Regards,
>> > > Ashish
>> >
>> > > On Oct 18, 6:00 pm, Thanigai kumaran <[email protected]> wrote:
>> >
>> > > > I want to know the Exact add in Which you are using....?
>> >
>> > > > --
>> > > > *
>> > > > Thanks & Regards
>> > > > **Thanigai Kumaran*
>> >
>> > > > On Tue, Oct 18, 2011 at 5:57 PM, Ashish <[email protected]>
>> wrote:
>> > > > > Hello Everyone,
>> >
>> > > > > I am not able to capture Automation ID of ITEMS of ListControls
>> such
>> > > > > as Combobox,Listbox ,Listview , TreeView.. in QTP for Automation
>> for
>> > > > > WPF project.
>> >
>> > > > > Can any one tell me how can I get the Automation ID or how can I
>> > > > > identify the ITEMS of WPF list controls in QTP Automation TEST
>> since
>> > > > > List conrols are being filled dynamically?
>> >
>> > > > > Regards,
>> > > > > Ashish
>> >
>> > > > > --
>> > > > > 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
>> > > > > MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>> > > > > For more options, visit this group at
>> > > > >http://groups.google.com/**group/MercuryQTP?hl=en-**Hidequoted<http://groups.google.com/group/MercuryQTP?hl=en-Hidequoted>text
>> > > > > -
>> >
>> > > > - Show quoted text -- Hide quoted text -
>> >
>> > > - Show quoted text -- Hide quoted text -
>> >
>> > - Show quoted text -
>
> --
> 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