QTP 11 Active X Controls for Infragistics Controls
Question ID: 104729
1
0

I have an ActiveX control that is an Infragistics control. The child objects are WinObjects under the Activex and I can not find in the test object properties enough information to determine between objects. The child objects are a list of people and I need to find one person by name and double click on it. Does anybody have any ideas?

Marked as spam
Posted by (Questions: 44, Answers: 0)
Asked on November 30, 2012 10:50 am
89 views
Answers (1)
7
Private answer

Have you tried to use the ClickOnText method? This is a method that is not documented in QTP manuals but I have found at [Advance QTP site][1]


ClickOnText(TextToFind, Left,Top, Right, Bottom,MatchWholeWordOnly,BUTTON, DoubleClick)

Extremely useful method! A merge between .GetTextLocation and .Click: It finds the specified text within the object, and clicks All the parameters are self-explanatory. BUTTON is the button code (look under the click method in QTP help); and DoubleClick is boolean

[1]: http://www.advancedqtp.com/secret-methods-of-qtp-objects/

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on November 30, 2012 10:54 am
0
Nice link and that did work for me. Thank you.
( at November 30, 2012 10:55 am)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top