Reading the tooltip
I want to read the tooltip. how to do it in testcomplete I tried it but could't figure it out. Kindly help me on this issue.
Re: Reading the tooltip
Standard tooltips are displayed in windows that have the 'tooltips_class32' window class. So, you need to search for such windows among children of the tested application's process.
<font class="small">Code:</font><hr /><pre>//JScript
var p = // Obtain the tested application's process
// Make the tooltip appear
var t = p.WaitWindow("tooltips_class32", "*", -1, 1000);
if(t.Exists) Log.Message("Tooltip text = " + t.wText);</pre><hr />
To make this code work, you need to map the 'tooltips_class32' window class as an edit box (see the "Object Mapping" help topic).
Does this help?