For any corporate training requirements Please mail To sudhakar@qtpsudhakar.com
Course Name Date Time Duration Type Location
An important update from QtpSudhakar. I stopped giving classroom training in MindQ Systems. I have bigger plans and I want to put an end to regular classroom training because very less people are practicing. From now onwards every session of mine is going to have explanation and practice. Everyone should practice in presence of mine and should go out of classroom with practical knowledge. So I started my own institute AnyTechLabs in Madhapur. Please reach out to +91-8328152362 for course details. Visit AnyTechLabs.com for address details.
Selenium + Cucumber 24th October 7.30 AM IST to 9.00 AM IST 45 Days WeekDay Online

A book "Cracking the QTP interview" authored by Sudhakar.Read More. Buy From FlipKart

Wednesday, June 10, 2009

How to capture the tooltip of a link?

My query is regarding Tool Tip. I am having issue with capturing the toop tip.The problem is if the mouse is located at some diff. location. and i want to find out the tooptip for the link, which is  currently not being pointed by the mouse. how to get the tool tip for that link. the property of the link does not have the property as Alt. it is blank. so i trired out the below code to get but it is working only when the mouse is moved the location. else its displaying blank.
If it is image you can go for alt property to capture the tooltip. But here you need to get the tooltip of a link. There is no test object property is providing link tooltip. You can use RunTime Object Property to get the tooltip.

tooltip=Browser("XXXX" ).Page("YYYY").Link( "Link A").object.title
msgbox tooltip
title property is used for tooltip of a link.

No comments :

Post a Comment