I believe kamran is right, as in terms of HTML the attribute ALT
(alternate text) of any tag symbolises tooltip.
But nowadays, the applications built in .Net (with Ajax) have tooltip
which could be an image.
In that case, one cannot retrieve the tooltip.
Anyway for testing purpose, i used the following statement to retrieve
tooltip from controls like scroll bar, sliders, etc. where i could
find 'alt' property in the SPY window.
("nativeclass :=tooltips_ class32") .GetROProperty( "alt")
As venkat, we need some patience to capture the tooltip using SPY,
remember to press CTRL while spying the objects. I tried and suceeded
to capture the tooltip 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
-~----------~----~----~----~------~----~------~--~---