thanks for your interest in helping out, below are some screenshots of what QTP 11 sees when browsing by using object spy/object repository.
is there a way to add attachment here, i cant even do a paste On Oct 19, 12:56 am, PrabhuRamaswamy656 <[email protected]> wrote: > Hi, > > I worked with WPF objects too and was able to oversome these issues. > Could you please record both the below mentioned steps using QTP and > see how does it record the step and post the same here. Thank You. > > Regards, Prabhui > > On Oct 18, 11:33 pm, ES_auto <[email protected]> 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. > > ...- 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
