Hello All...
Sorry for resurrecting an old demon...
Is there an solution to this issue?
I am battling similiar issue.
On Tuesday, October 18, 2011 2:33:39 PM UTC-4, ES_auto wrote:
> i'm working on an application with WPF(.Net 4), using QTP 10/11, QTP
> has no problems recognising the different types of WPF objects.
>
> My problems start when i want to click an items inside the WPFList, i
> have tried calling all the different methods available in my script
> but i'm getting no where.
>
> In QTP's help documentation's EXAMPLEs they want to make you believe
> is very simple as:
> itemVal = WpfWindow("SimpleStyles").WpfList("Main Courses").GetItem(4)
> WpfWindow("SimpleStyles").WpfList("Favorite Courses").Select itemVal
>
> BUT if i try something similar in my script it does not work for me.
>
>
> this is what i have in my script:
>
> 1. select the WPFList from the menu
>
> WpfWindow("devname:=Cen.*","regexpwndtitle:=Cen.*"
> ).WpfMenu("wpftypename:=menu").Select "Management;Global Settings..."
>
> 2. trying to select something inside the wpfList
> WpfWindow("classname:=E.WpfUtilities.Containers.FloatingWindow").WpfList("wpftypename:=list
>
>
> view").WpfButton("classname:=System.Windows.Controls.Primitives.ToggleButton","name:=SignalIO").click
>
>
>
> this should work with discriptivve programming BUT is not
>
> can someone please let me know what i could be doing wrong.
> ...
--
--
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.