is it possible to check the text displayed in the tool tip
using QTP? if so, how?

Answers were Sorted based on User's Feedback



is it possible to check the text displayed in the tool tip using QTP? if so, how?..

Answer / xyz

You can capture the tool tip properties using object spy.
Open the object spy and click on the button with 'hand'
icon. Now before choosing the control for which you want
to check the properties, press ctrl key and perform mouse
hover until the tool tip is displayed. Release the ctrl key
and spy the tool tip displayed.

Is This Answer Correct ?    4 Yes 0 No

is it possible to check the text displayed in the tool tip using QTP? if so, how?..

Answer / krishnachand

Even i 2 got the same question in Kanbay.
I asked one of my friends n he tld 2 me as we can take a
screen shot and we can work on that.
I din't tried 4 that, if possible u try

Is This Answer Correct ?    2 Yes 1 No

is it possible to check the text displayed in the tool tip using QTP? if so, how?..

Answer / vamshi

We can also get the tool tip like this

Browser("Button Tests").Page("Button Tests").WebButton
("OK").Object.title

Is This Answer Correct ?    2 Yes 2 No

is it possible to check the text displayed in the tool tip using QTP? if so, how?..

Answer / tvsramakrishnachowdary

Uday Kumar_anem






Re: is it possible to check the text displayed in the
tool tip using QTP? if so, how?
Answer
# 3 We can also get the tool tip like this

Browser("Button Tests").Page("Button Tests").WebButton
("OK").Object.title

Is This Answer Correct ? 0 Yes 1 No
Uday Kumars answer is obsolutely corresct..

Good Uday....

Is This Answer Correct ?    4 Yes 4 No

is it possible to check the text displayed in the tool tip using QTP? if so, how?..

Answer / uday kumar_anem

Use the ?alt? property of that object.
browser("MSN.com").Page("MSN.com").Image("Deadliest Cars //
Crash").GetROProperty("alt")

Is This Answer Correct ?    1 Yes 3 No

is it possible to check the text displayed in the tool tip using QTP? if so, how?..

Answer / lsansuin

Re: is it possible to check the text displayed in the
tool tip using QTP? if so, how?
Answer

Try to use too GetROProperty("tool_tip_text")

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!

0 Answers   TCS,


please tell me how to identify the index of the link in the web table .links are not constant.example i want to click the link in the inbox ,search the item and click the partcular mail.(mail links count is not constant)

1 Answers   IBM,


Syntax for how to call one script from another? and Syntax to call one "Action" in another?

3 Answers  


How to add check point?

2 Answers  


What is runtime objects and test objects? What is the difference between them?

7 Answers   IBM,






How to check which add-ins are associated with a test in qtp?

0 Answers  


How smart identification works in qtp ?

0 Answers  


Hello friends..... On which areas of an application we can not test with QTP

0 Answers   Thatavarti Technologies,


Suppose there is a bitmap with some text in it how do you write the script to get the text.

2 Answers   BirlaSoft,


Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?

1 Answers  


what is object?

5 Answers   iFlex,


object types is used for what?

1 Answers  


Categories