Text property is not displayed in Ranorex
Text property is not displayed in Ranorex
From the question https://www.ranorex.com/forum/how-to-ge ... 11648.html
It seems the Text property is not displayed in Ranorex if a cell's DispalyRole returns a non-standard QVariant with UserType in it. According to our developers, the table uses default QStyledItemDelegate with displayText() method that calls QVariant::toString() converter. The convertor has been explicitly registred by calling QMetaType::registerConverter<CustomMetaType, QString>. AccessibleName property in legacy mode looks good for such custom types, but not the Text one. It's only displayed for standard QVariants (e.g. QString).
It seems the Text property is not displayed in Ranorex if a cell's DispalyRole returns a non-standard QVariant with UserType in it. According to our developers, the table uses default QStyledItemDelegate with displayText() method that calls QVariant::toString() converter. The convertor has been explicitly registred by calling QMetaType::registerConverter<CustomMetaType, QString>. AccessibleName property in legacy mode looks good for such custom types, but not the Text one. It's only displayed for standard QVariants (e.g. QString).
Re: Text property is not displayed in Ranorex
A Ranorex snapshot would be really helpful if you are able to supply one; that way we can take a detailed look at the application as a whole. I did not see one in the thread you linked, but please correct me if I missed it.
Have you tried using GDI? GDI will read the Raw Text from the object. You should be able to add your process to the GDI watch list and keep your working QT plugin settings:
https://www.ranorex.com/help/latest/tec ... plications
Have you tried using GDI? GDI will read the Raw Text from the object. You should be able to add your process to the GDI watch list and keep your working QT plugin settings:
https://www.ranorex.com/help/latest/tec ... plications
Re: Text property is not displayed in Ranorex
No action "Add class name to GDI capture List" - screen.png
Attached snapshot - snapshot.rxsnp
Attached snapshot - snapshot.rxsnp
You do not have the required permissions to view the files attached to this post.
Re: Text property is not displayed in Ranorex
Can this help to understand the problem? - https://drive.google.com/file/d/1Ab6MEZ ... p=drivesdk
In the column "Has text property" we get the text, and in the column "Text is empty" - the text does not work - new.png
In the column "Has text property" we get the text, and in the column "Text is empty" - the text does not work - new.png
You do not have the required permissions to view the files attached to this post.
Re: Text property is not displayed in Ranorex
Hi, you should be able to add the process name to the GDI watchlist like so:
If that does not work, you can try to change your QT plugin settings to legacy (WARNING: This may affect your existing paths for QT objects!):You do not have the required permissions to view the files attached to this post.
Re: Text property is not displayed in Ranorex
Hi Vega,
We already discussed this problem here...
https://www.ranorex.com/forum/how-to-ge ... 11648.html
Using QT Legacy mode partially helps, except it changes all xpaths and some elements now provide much less details or they are entirely missing (e.g. missing table rows), so this is probably not the best option for him? And the thing is, that MS Inspect tool seems show both Name and LegacyIAccessible.Name, so it appears to be a bug in Ranorex?
We already discussed this problem here...
https://www.ranorex.com/forum/how-to-ge ... 11648.html
Using QT Legacy mode partially helps, except it changes all xpaths and some elements now provide much less details or they are entirely missing (e.g. missing table rows), so this is probably not the best option for him? And the thing is, that MS Inspect tool seems show both Name and LegacyIAccessible.Name, so it appears to be a bug in Ranorex?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Text property is not displayed in Ranorex
So our developer and made a simple application that reproduces the situation to provide the source code of the program https://drive.google.com/file/d/1Ab6MEZ ... p=drivesdk
Re: Text property is not displayed in Ranorex
My apologies for not doing my due diligence; I think I got a little trigger happy. Thanks for pointing that out odklizec! If it is a bug then it would be out of our hands for now as Ranorex analyzes the issue.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Text property is not displayed in Ranorex
Hello,
We are currently investigating this bug report and will provide feedback as soon as possible.
Thank you for your patience!
-Jon
We are currently investigating this bug report and will provide feedback as soon as possible.
Thank you for your patience!
-Jon
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Text property is not displayed in Ranorex
Hi usov,
I would like to continue troubleshooting this via a support ticket if possible as we may need to schedule a session. Please create a query at the below link and reference this post within the query:
https://www.ranorex.com/support-query/
Please let me know if you have any questions or concerns!
-Jon
I would like to continue troubleshooting this via a support ticket if possible as we may need to schedule a session. Please create a query at the below link and reference this post within the query:
https://www.ranorex.com/support-query/
Please let me know if you have any questions or concerns!
-Jon
Re: Text property is not displayed in Ranorex
I created the query
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Text property is not displayed in Ranorex
Hello all,
We are currently investigating the issue and working with the customer. I will provide an update here when applicable.
Thanks!
-Jon
We are currently investigating the issue and working with the customer. I will provide an update here when applicable.
Thanks!
-Jon
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Text property is not displayed in Ranorex
Hello all,
So far this is looking like a bug and has been submitted to development for further analysis. At this time I am unable to provide any further information regarding timeframe.
I hope this helps and thank you for your patience!
-Jon
So far this is looking like a bug and has been submitted to development for further analysis. At this time I am unable to provide any further information regarding timeframe.
I hope this helps and thank you for your patience!
-Jon
Re: Text property is not displayed in Ranorex
Hello!
Almost 3 months passed.
Is there any information about fixing this error?
Almost 3 months passed.
Is there any information about fixing this error?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Text property is not displayed in Ranorex
Hello Usov,
Your issue is actively being worked on by our development team and at this time I do not have any further information regarding timeframe or target release version at this time. Your original support ticket was placed in a special status so that we may inform you of any updates as soon as possible. If there have been any new developments on your end please let me know!
Thank you for your patience!
Regards,
-Jon
Your issue is actively being worked on by our development team and at this time I do not have any further information regarding timeframe or target release version at this time. Your original support ticket was placed in a special status so that we may inform you of any updates as soon as possible. If there have been any new developments on your end please let me know!
Thank you for your patience!
Regards,
-Jon