How to Read and Print Flex Object ToolTip?

Ask general questions here.
triveditejas
Posts: 10
Joined: Wed Jan 15, 2014 6:32 am

How to Read and Print Flex Object ToolTip?

Post by triveditejas » Thu Mar 27, 2014 11:20 am

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
Thanks and Regards,

Automation QA

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

Re: How to Read and Print Flex Object ToolTip?

Post by Support Team » Fri Mar 28, 2014 1:50 pm

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
.
Image

triveditejas
Posts: 10
Joined: Wed Jan 15, 2014 6:32 am

Re: How to Read and Print Flex Object ToolTip?

Post by triveditejas » Tue Apr 01, 2014 8:11 am

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
Thanks and Regards,

Automation QA

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

Re: How to Read and Print Flex Object ToolTip?

Post by Support Team » Wed Apr 02, 2014 2:53 pm

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
.
Image

triveditejas
Posts: 10
Joined: Wed Jan 15, 2014 6:32 am

Re: How to Read and Print Flex Object ToolTip?

Post by triveditejas » Fri Apr 04, 2014 8:25 am

Hi Markus,

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

Thank you

Vishal
Thanks and Regards,

Automation QA