ToolTip = Browser("WWW.****").Page("WWW.*****").Link("****** ").GetROProperty("outerhtml",PropData)
StartNum = instr(ToolTip,search) 'Returns first number as 1, of a string
EndNum = InStrRev(ToolTip,search) 'Returns total count string as 215
' Add Start point (Startnum+58) and minus 164 to remove the last charecters
Tool_Tip = mid(ToolTip,StartNum+58,EndNum-StartNum-164)
Reporter.ReportEvent 2, "ToolTip", Tool_Tip
ToolTipExpected = "Tool Tip that appiares in tha application"
If ToolTipExpected = EditMem_ToolTip then
Reporter.ReportEvent MicPass, "ToolTip", "No change in tool tip"
Reporter.ReportEvent MicFail, "ToolTip", "There is some change in tool tip"
Reporter.ReportEvent 2,"Actual Tool Tip = ", Tool_Tip
Reporter.ReportEvent 2,"Expected Tool Tip = ", ToolTipExpected
This is how i did it worked for me. hope this helps.