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

What is Reusable component is QTP...Anybody can answer it..Thanks in advance...

8 Answers   Siemens,


Define Canvas view of UFT?

0 Answers  


How to change the screen name while running the test.

3 Answers   TCS,


Reverse string without mid or streverse function.

1 Answers   Deloitte,


Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

0 Answers  






how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

0 Answers  


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

0 Answers   Infotech,


1)Difference Between Value & RawValue?

2 Answers   Wipro, Zensar,


Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5

9 Answers  


I am not finding pages and links in object spy on web testing. I am only getting window and winobject. where is the problem? thanks

4 Answers  


How many ways we can parameterize data in QTP?

1 Answers   Crea,


what is run-time object property in Object spy in QTP9?

3 Answers  


Categories