Page 1 of 1

How to Read and Print Flex Object ToolTip?

Posted: Thu Mar 27, 2014 11:20 am
by triveditejas
Hi ,

In Our Application we have one Flex Button option, on Mouse Hover it shows some tool tip.

How i can capture the tool tip of the Particular Flex button control and Print it on Console?

Thanks in Advance

Re: How to Read and Print Flex Object ToolTip?

Posted: Fri Mar 28, 2014 1:50 pm
by Support Team
Hi,

During recording it's easy to validate the content of a tooltip by pressing the hotkey 'T' after the tooltip box appears. Ranorex Recorder automatically captures a mouse move action to the underlying item and validates the current content of the tooltip.
For more information about the hotkey and how to track the tooltip please take a look at the following links: During Recording, ToolTips and How to track tool tips.

Regards,
Markus

Re: How to Read and Print Flex Object ToolTip?

Posted: Tue Apr 01, 2014 8:11 am
by triveditejas
Hi Markus,

the tool tip is the dynamic property of particular button. can you guide me how to access that property and print on console?

Thanks in Advance..

Regards,

Vishal

Re: How to Read and Print Flex Object ToolTip?

Posted: Wed Apr 02, 2014 2:53 pm
by Support Team
Hi Vishal,

When it is saved in one of the dynamic properties of the button you should be able to print it.
You could use the following code to get the specific property:
string valueOfProperty = repo.YourRepoItem.Element.GetAttributeValueText("name of the property");
If you need further guidance please send ([email protected]) or post a Ranorex snapshot file of the button showing the specific property.
The following link shows you how to create a snapshot: Creating Ranorex Snapshot Files.

Regards,
Markus

Re: How to Read and Print Flex Object ToolTip?

Posted: Fri Apr 04, 2014 8:25 am
by triveditejas
Hi Markus,

Thanks for your Help. It's working fine at my end with your suggested solution.

Thank you

Vishal