If the use of WPF grid is limited to the selection of text (instead of anything to be entered) we can use Row and Column count function and try to select them.
Alternate solution: When you try to identify the objects in QTP see the flow of the objects above the Wpf object. with my experience i can say u will be seeing WPF table just above the wpf object. Select that and it will automatically detect any of the edit boxes if present in the table for user purpose. Just give it a try BOL On Fri, Sep 4, 2009 at 9:17 PM, QTP MASTER <[email protected]>wrote: > > Hi all, > We are trying to automate a Screen based on WPF (Windows Presentation > Foundation) and Infrigistic technology. We are using QTP Ver 9.5 > with .Net and WPF add in for that. WPF addin recognizes objects in the > Screen. But if the objects are inside a Table, the Objects are getting > recognized but there are problems in using any properties or any > functions related to the object inside the table. The Wpf Table is not > identified as a Table or as Grid but only as a WpfObject. > > For Example if there is a WpfEdit box inside a WpfGrid, then the > Properties related to WpfEdit such as setText, type, etc., are not > working. Also that WpfGrid is not getting recognized. > It is only working when we record it in Low level recording mode. > > We have also tried this with Descriptive Programming, but we cant find > a solution. > > Please let me know if WPF add in with QTP 9.5 is enough for automating > these screens or is some other Emulator or an Upgrade of QTP or any > additional add in is required for getting this done. > > -- > With Best Thanks and Regards, > Prasanna Narayanan Srinivasan > Testing Consultant. > > --~--~---------~--~----~------------~-------~--~----~ > 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]<mercuryqtp%[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
