We are using an application where the application has tooltips
i.e. Say for example we have window which consists of many fields where few of them are mandatory.
If we are not providing any valid entries to the fields and try to save the contents, it shows error image next to the Specified Field blinking.
If you place the cursor on that image you will get a tooltip (error Description) which will be displayed for 5-10 Seconds.
i want to capture the text displayed. is possible in the TestPartner if Yes please give me sample script.
Even i tried with property Check, i was not able to capture Tooltip.
i.e I applied property check to that image.
I used the method specified in this above link but i'm getting an error saying that
Failed to find the attach name
This is how i used
' Move the mouse over the button
' Wait for tooltip to appear on screen
' Capture the text of the tooltip
I have followed all the steps that are mentoined in the link
Can you help me where i have missed, or do i need to follow some more steps.
1.goto object map entry for that object,you want to get the tooltip.
2.There,click Browser Tree button,identify the object.Activate show hidden object check box.
3.In that tree structure,select classname=tooltips_class32 for that object(like EXPLORER.EXE with the application name).
4.Then goto Properties tab,activate the ClassName option.
5.Save and Close and exit from the object map entry.
6.In your script specify the "ClassName=tooltips_class32" for that object that you have identified.
7.For sample this is the code for get tooltip value for the "START" button in desktop window.
Button("Caption=start").mouseup '''''''''''''''''''''''''(You have to change the property to "Mouseup")
Afetr following the steps that u have specified it has worked for Windows start Menu, but not working for my application. It is giving an error that Not able find "ClassName=tooltips_class32".
Should i make any settings in the References or should i have use any Dll's.
Can you help me out where i have gone wrong.
It may be due to this also u told that it is not recognised by TP and classname is not having tooltips_class32.
It is not supportive for this tooltip i think.
if anything more u come to know. please let me know....