How can I get text from devexpress tooltips?

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Pavlo
Posts: 43
Joined: Fri Dec 30, 2011 10:55 am

How can I get text from devexpress tooltips?

Post by Pavlo » Mon Aug 20, 2012 11:47 am

Hi all

I'm trying to read text value from tooltip (which is devexpress tooltip) and Ranorex Spy can find tooltip window but text, title attributes are empty. (so I can't get text value from tooltip window)

The only available attributes/properties for tooltip window are:
controltype: DevExpress.Utils.Win.ToolTipControllerWindow
controltypename: ToolTipControllerWindow

Application is on .NET C# with DevExpress v.10.1.4
Ranorex version: 3.2.3 and 3.3.1 (I've tried both of them)

Also please find attached 2 snapshots.

Can you please suggest any workaround to access text from tooltip ? It's currently blocks auto-test implementation :(
Attachments
Tooltip_fromRanorex3.3.1.rxsnp
(243.15 KiB) Downloaded 214 times
Tooltip_fromRanorex3.2.3.rxsnp
(194.13 KiB) Downloaded 193 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How can I get text from devexpress tooltips?

Post by Support Team » Mon Aug 20, 2012 3:18 pm

Hi,

Did you install the full/extended version of the .Net 4.0 framework or just the client one?
In order to analyze the issue could you send us a small sample which contains such a tooltip?
If you want you can send it to our support mail address: [email protected].

Did you already try to use invoke remotely in order to get the specific message?
Please also check if you are able to identify the text with the ACCExplorer (Microsoft accessibility Explorer).
Here is also a link to a posting about invoking a DevExpress control in order to get the cell values: DevExpress Greed Cell value is empty..

Regards,
Markus
Ranorex Support Team
.
Image

Pavlo
Posts: 43
Joined: Fri Dec 30, 2011 10:55 am

Re: How can I get text from devexpress tooltips?

Post by Pavlo » Wed Aug 22, 2012 9:01 am

Support Team wrote: Did you install the full/extended version of the .Net 4.0 framework or just the client one?
I'm not sure for 100%, can you please give me a tip how to check that?
Support Team wrote: In order to analyze the issue could you send us a small sample which contains such a tooltip?
If you want you can send it to our support mail address: [email protected].
Unfortunately it's not possible now.
Support Team wrote: Did you already try to use invoke remotely in order to get the specific message?
I've tried that, and failed.
ToolTipControllerWindow has couple of properties that I could use (theoretically) like: Text, Name, Tag - but all of them are empty. I've reviewed DevExpress help for tooltips and I need somehow access ToolTipController (and not ToolTipControllerWindow).
Support Team wrote: Please also check if you are able to identify the text with the ACCExplorer (Microsoft accessibility Explorer).
ACCExplorer is not available for download on microsoft site :(


-regards Pavlo

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How can I get text from devexpress tooltips?

Post by Support Team » Wed Aug 22, 2012 1:09 pm

Hi,

You can see which .Net Framework version is installed in the "Programs and Features" window.
I attached a basic sample of how the invoke works, I hope this will help you to understand how you can invoke specific controls.
It is not easy to help without knowledge of the code you are using.
If you need further assistance we would need to know more about how you tried to invoke that control.
Did you try to invoke the "GetToolTip" method?
Are you using a ToolTipControlInfo object in order to set a specific tool tip text?
Instead of the AccExplorer you can also use Inspect in order to analyze if there is a valid MSAA object for the tooltip text.

Regards,
Markus
Ranorex Support Team
Attachments
Invoke-Example.zip
(1.14 MiB) Downloaded 355 times
.
Image