To retrieve the tooltip using descriptive programming in QTP (QuickTest Professional), you can use the following code snippet:
```vbscript
Set obj = Browser("browser_name").Page("page_name").WebElement("html tag:=*","title:=*")
tooltipText = obj.GetROProperty("title")
MsgBox tooltipText
```
Replace `"browser_name"` and `"page_name"` with the actual names of your browser and page. This code accesses the `title` property of the web element, which typically contains the tooltip text.
Use the "title" property to get the tool tip of any button, hyperlink etc.
Browser("micclass:=Browser").Page("micclass:=Page")or
Browser("name:=Browser").Page("title:=Page")