Text font information
Text font information
I have tried to get the font information (size, underlined...) from the text, but have not succeed.
I have a text in the Control |TypeName | Rich Text Box and I need to verify text font information
How to get the information?
I also tried to get the text font information from text in the Wordpad, but could not get it neather
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Text font information
Hi,
basically Ranorex can only present information which is provided by its UI adapters.
It depends on the technology underlying your application under test if you can get more information (as provided directly via accessibility) out of the adapter. If you application is based on WinForms you can try to use the Get/SetPropertyValue methods.
For more details have a look at Ranorex GUI Adapter.
If you use a web based technology you may use the Get/SetStyle methods (GetStyle, SetStyle).
Kind regards,
Tobias
Support Team
basically Ranorex can only present information which is provided by its UI adapters.
It depends on the technology underlying your application under test if you can get more information (as provided directly via accessibility) out of the adapter. If you application is based on WinForms you can try to use the Get/SetPropertyValue methods.
For more details have a look at Ranorex GUI Adapter.
If you use a web based technology you may use the Get/SetStyle methods (GetStyle, SetStyle).
Kind regards,
Tobias
Support Team
Re: Text font information
I think you can get the size using the rawtext plugin.....