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

recording is not a good programming practice.How to write effective script without recording.Which is the correct method explain in detail

3 Answers   Infosys,


how quick test record on dynamically generated urls and web pages.

3 Answers   Infosys, Satyam,


write script to read and write data from file ?

2 Answers   HealthAsyst,


I open login gmail page after that QTP is not able to identify the object present in it then what u will do

3 Answers   Accenture,


In qtp, explain what is qrs file?

0 Answers  


what type of frame work used in your company?

2 Answers   HCL,


how open two urls in one browser? plz urgent

9 Answers   Satyam,


How will you test a stapler?

0 Answers  


Deal All, Recently i face one interview question in one company. str="test12@#3456" In This i want to print like special character and numeric ,word in one script please tell me how to write the code for this Thanks Balaji

1 Answers  


Hello! i am having two comboboxes.Each having 10 items in it.when i select first item in first combobox,it is not similar in the second combobox.for ex in first combo if it is Hyderabad,in second it should be some chenai or some other item .Write a VBSCRIPT for that?

3 Answers   Tech Mahindra,


WHAT IS DIFFERENCE B/W QC 9.2 AND QC 10.0

1 Answers   SoftTech,


How do you open adobe acrobat file in QTP and do some testing on that file ?

0 Answers  


Categories