HI, Pls find below mentioned more details and steps of the issue: Scenario: To add Close button in OR. Close button is displayed in a window in the application There are three levels of hierarchies shown in Object Spy Top level (parent): WpfWindow Second Level: wpfobject Third Level: Targetted control 'Close' button
WpfWindow is the window in which Close button is displayed. This window is highlighting properly (via Object Spy) in the application We are not sure of second object shown in OR. When we try to highlight this object (via OR), error message displayed is ‘Selected Object cannot be found in the application’ and QTP is not adding Close button in OR. When try to locate this object again, in the application, system hangs Steps: 1. Object Spy on Close button > Properties and corresponding values are displayed 2. . Select 2nd level object > Properties and corresponding values are displayed 3. Select 1st level object (WpfWindow) > Properties and corresponding values are displayed 4. Again select 2nd level object > error message ‘Selected Object cannot be found in the application’ is displayed 5. Again select 3rd level object (Close) > error message ‘Selected Object cannot be found in the application’ is displayed 6. Again select 2nd level object (Search) > No properties and values are displayed. Object SPy is shown blank 7. Again select 3rd level object (Close) > No properties and values are displayed Pls reply Thanks On Tuesday, November 12, 2013 2:38:56 PM UTC+5:30, shilpa gupta wrote: > we are facing a strange issue > > on Object spy on an object > all the properties and corresponding values > are displayed properly in the Object Spy dialog > but when we add this object in OR no property and values are displayed for > this object in OR. > > Environment: .NET 4.0, wpf, QTP 11 > > Pls reply > -- -- 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.
